search_by_institution

MCP Tool

Search tool that lists the NSF awards made to one institution, matched as a phrase on the awardee name, with optional location, date, amount and status filters.

Status
stable
Trust tier
unverified
Generated
claude-code/claude-opus-5-5, 2026-12-05
Tags
searchinstitutionawardstools

search_by_institution lists the NSF awards made to one institution. The institution name is required and is matched as a phrase against the awardee name. State, city, start and expiration date ranges, an estimated amount range and the status filter narrow the list.1

It is a simpler front end to the same API search that search_nsf_awards uses, and it returns the same envelope. Its pageSummary.byProgram gives per-program award counts for the page, which is a quick way to see what an institution is funded for.2 It has no keyword, PI, action date or obligated amount filters: use search_nsf_awards with awardeeName when you need those.

The description that clients see in tools/list is:1

List NSF awards made to an institution (awardee name matched as a phrase), optionally narrowed by state, city, dates, amount and status. Returns up to 25 compact summaries per call plus per-page counts by program; page with offset/nextOffset.

Schema

Descriptions are the exact strings in the Zod schema.3 The tool also takes offset, limit, detail, printFields, status, startDateFrom, startDateTo, expDateFrom, expDateTo, estimatedTotalAmtFrom and estimatedTotalAmtTo, which are documented in Shared search parameters.

Parameter Type Required Default Constraints NSF API parameter Description
institutionName string yes   trimmed; at least 1 character; quoted by the client when it has a space awardeeName Awardee institution name, matched as a phrase (e.g. “University of New Mexico”)
stateCode string no none   awardeeStateCode Awardee two-letter state code
city string no none   awardeeCity Awardee city (multi-word cities match any word; pair with stateCode)

The shared parameters map as on the shared page: startDateFrom/startDateTo become startDateStart/startDateEnd, expDateFrom/expDateTo become expDateStart/expDateEnd, estimatedTotalAmtFrom/estimatedTotalAmtTo keep their names, status becomes ActiveAwards or ExpiredAwards, and limit becomes rpp. detail and printFields are applied by the server and never sent.1 4

Unknown argument names are stripped by the schema, not passed on.5

Output

The same search envelope as the other search tools: awards, totalResults, offset, limit, returned, hasMore, nextOffset (when hasMore), capped, pageSummary and the paging hint.6 The MCP result adds a JSON text copy and repeats the hint as a second text block. See Search results for the envelope and Award record for the record fields.

Behaviour

  • Phrase matching. A multi-word institutionName is sent as a quoted phrase, so University of Arizona does not match every awardee with “University” in its name.7 8 Give the full official name (“Massachusetts Institute of Technology”, not “MIT”).2
  • Cities. awardeeCity matches any word of a multi-word city, quoted or not, so pair city with stateCode.8
  • Minimal request. With only institutionName, the handler sends awardeeName, offset=0 and rpp=25 and nothing else.4
  • Paging. One API request per call; nextOffset counts from the requested offset by the records actually returned. The 10,000-record cap applies as on the other search tools.4 6

Examples

Every input mapped to its API parameter (from the unit tests; the client later rewrites the dates as mm/dd/yyyy):4

{
  "institutionName": "  University of Arizona ",
  "stateCode": "AZ",
  "city": "Tucson",
  "startDateFrom": "2010-01-01",
  "startDateTo": "12/31/2012",
  "expDateFrom": "01/01/2014",
  "expDateTo": "2017-06-30",
  "estimatedTotalAmtFrom": 100000,
  "estimatedTotalAmtTo": 2000000,
  "status": "expired",
  "offset": 25,
  "limit": 5
}

The handler passes these parameters to the client:

{
  "awardeeName": "University of Arizona",
  "awardeeStateCode": "AZ",
  "awardeeCity": "Tucson",
  "startDateStart": "2010-01-01",
  "startDateEnd": "12/31/2012",
  "expDateStart": "01/01/2014",
  "expDateEnd": "2017-06-30",
  "estimatedTotalAmtFrom": 100000,
  "estimatedTotalAmtTo": 2000000,
  "ExpiredAwards": true,
  "offset": 25,
  "rpp": 5
}

A projection of two fields:

{ "institutionName": "University of Arizona", "printFields": "id,awardeeCity" }

Abridged result from the offline test, where the mocked API returns the two fixture awards 1114898 and 9307607. A live call returns many more.4

{
  "awards": [
    { "id": "1114898", "awardeeCity": "TUCSON" },
    { "id": "9307607", "awardeeCity": "TUCSON" }
  ],
  "totalResults": 2,
  "offset": 0,
  "limit": 25,
  "returned": 2,
  "hasMore": false,
  "capped": false,
  "pageSummary": {
    "totalEstimatedAmt": 1513027,
    "byInstitution": { "University of Arizona": 2 },
    "byProgram": {
      "DYN COUPLED NATURAL-HUMAN": 1,
      "POP & COMMUNITY ECOL PROG, Geography and Spatial Sciences, CENTRAL & EASTERN EUROPE PROGR": 1
    }
  },
  "hint": "Showing 2 of 2 matching awards (offset 0)."
}

pageSummary still totals estimatedTotalAmt (1498027 + 15000), although printFields leaves that field out of the records, because it is computed before the records are shaped.6

  1. search_by_institution handler ↩ ↩2 ↩3

  2. User guide ↩ ↩2

  3. Tool input and output schemas ↩

  4. search_by_institution tests ↩ ↩2 ↩3 ↩4 ↩5

  5. Input and output schema tests ↩

  6. Shared tool helpers (record shaping, status mapping, search envelope, paging hint) ↩ ↩2 ↩3

  7. NSF API client ↩

  8. Live API behaviour notes in CLAUDE.md ↩ ↩2

Sources

  1. search_by_institution handler tool-handler
  2. Tool input and output schemas tool-schema
  3. Shared tool helpers (record shaping, status mapping, search envelope, paging hint) shared-tools
  4. NSF API client api-client
  5. search_by_institution tests institution-tests
  6. Input and output schema tests schema-tests
  7. User guide usage-guide
  8. Live API behaviour notes in CLAUDE.md api-behaviour