io.github.cyanheads/grantsgov-mcp-server is an MCP server published by io.github.cyanheads, hosted at grantsgov.caseyjhand.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 3 tools, including grantsgov_search_opportunities, grantsgov_get_opportunity, grantsgov_list_reference.
Search Grants.gov funding opportunities and read full records: eligibility, awards, deadlines.
428 connections through 5 shared values. Tap any node.
Search federal funding opportunities on Grants.gov by keyword, agency, applicant eligibility, funding category, funding instrument, assistance listing, opportunity number, posting window (posted_within_days), or closing window (closing_within_days). Returns forecasted and posted opportunities unless statuses says otherwise, each row led by its close date and days remaining, plus facet counts for narrowing. Bare keyword terms are all required; join alternatives with OR, in parentheses when other terms stay required. Rows carry no award amounts or eligibility detail; read those with grantsgov_get_opportunity. Filter codes come from grantsgov_list_reference.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Result order: relevance (best keyword match; needs keyword, otherwise the order is arbitrary), open_date_desc/open_date_asc (posting date), close_date_asc/close_date_desc (close date; no close date sorts last on asc), opportunity_number_asc/_desc, agency_asc/_desc. Default: relevance with a keyword,… |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| limit | integer | Requested rows per page (1-1,000; default 25). Values above 100 return 100 rows with a notice. |
| offset | integer | Zero-based row offset for paging; use next_offset from the previous page. |
| keyword | string | Full-text search over title, description, opportunity number, and agency. Bare terms are all required (rural broadband = rural AND broadband); join alternatives with OR, quote phrases ("mental health"), exclude with NOT or -term, and use a trailing * for prefixes (broad*). OR mixed with AND or with … |
| agencies | any | Agency codes from grantsgov_list_reference topic agencies (e.g. HHS, HHS-NIH11, NSF). One whole string or an array, up to 10 nonblank entries. A code includes its sub-agencies. Case-insensitive. Any listed agency matches. |
| statuses | any | Lifecycle statuses to include: forecasted, posted, closed, archived. One whole string or an array, up to 4 nonblank entries. Default: forecasted and posted. |
| eligibilities | any | Two-digit applicant-type codes from grantsgov_list_reference topic eligibilities (e.g. 12 = nonprofits with 501(c)(3) status, 07 = federally recognized tribal governments). One whole string or an array of strings or numbers, up to 17 nonblank entries. A single digit is zero-padded (7 = 07). Any list… |
| include_facets | boolean | Include facet counts per filter value. Set false when paging to save space. |
| assistance_listing | string | One assistance listing number (ALN, formerly CFDA), e.g. 93.866 or 93866, in any case. Only one value is supported. |
| funding_categories | any | Funding category codes from grantsgov_list_reference topic funding_categories (e.g. HL = Health, ED = Education). One whole string or an array, up to 28 nonblank entries. Case-insensitive. Any listed category matches. |
| opportunity_number | string | Exact agency-assigned opportunity number (e.g. HRSA-27-005), matched case-insensitively; one pair of surrounding double quotes is removed. Numbers are not unique across agencies, so several rows can match. To look up a number across every status, prefer grantsgov_get_opportunity with opportunity_num… |
| posted_within_days | integer | Only opportunities posted in the last N days (1-3650). Works only with the forecasted and posted statuses. |
| closing_within_days | integer | Only posted opportunities closing between today and N days from today, US Eastern (0-365; 0 = closing today). Searches posted opportunities in close-date order, so statuses may only be posted and sort only close_date_asc. |
| funding_instruments | any | Funding instruments: G (grant), CA (cooperative agreement), PC (procurement contract), O (other). One whole string or an array, up to 4 nonblank entries. Any listed instrument matches. |
| include_unrestricted | boolean | When eligibilities is set, also match opportunities open to any applicant type (code 99), which the specific codes do not cover. Set false to see only opportunities targeted at the listed types. |
{
"name": "grantsgov_search_opportunities",
"title": "Search Grants.gov Opportunities",
"description": "Search federal funding opportunities on Grants.gov by keyword, agency, applicant eligibility, funding category, funding instrument, assistance listing, opportunity number, posting window (posted_within_days), or closing window (closing_within_days). Returns forecasted and posted opportunities unless statuses says otherwise, each row led by its close date and days remaining, plus facet counts for narrowing. Bare keyword terms are all required; join alternatives with OR, in parentheses when other terms stay required. Rows carry no award amounts or eligibility detail; read those with grantsgov_get_opportunity. Filter codes come from grantsgov_list_reference.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"relevance",
"open_date_desc",
"open_date_asc",
"close_date_asc",
"close_date_desc",
"opportunity_number_asc",
"opportunity_number_desc",
"agency_asc",
"agency_desc"
],
"type": "string",
"description": "Result order: relevance (best keyword match; needs keyword, otherwise the order is arbitrary), open_date_desc/open_date_asc (posting date), close_date_asc/close_date_desc (close date; no close date sorts last on asc), opportunity_number_asc/_desc, agency_asc/_desc. Default: relevance with a keyword, else open_date_desc."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 1000,
"minimum": 1,
"description": "Requested rows per page (1-1,000; default 25). Values above 100 return 100 rows with a notice."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 100000,
"minimum": 0,
"description": "Zero-based row offset for paging; use next_offset from the previous page."
},
"keyword": {
"type": "string",
"maxLength": 500,
"description": "Full-text search over title, description, opportunity number, and agency. Bare terms are all required (rural broadband = rural AND broadband); join alternatives with OR, quote phrases (\"mental health\"), exclude with NOT or -term, and use a trailing * for prefixes (broad*). OR mixed with AND or with bare terms must be grouped in parentheses, e.g. (rural OR tribal) broadband; an ungrouped mix is rejected. A word with an internal hyphen or period (COVID-19, K-12) is matched as a phrase. Field prefixes (agency:NSF, cfda:93.866) are rejected: use the agencies, assistance_listing, or other filter instead. See grantsgov_list_reference topic keyword_syntax."
},
"agencies": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[A-Za-z0-9]+(?:[\\s-]+[A-Za-z0-9]+)*)\\s*)?$"
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Agency codes from grantsgov_list_reference topic agencies (e.g. HHS, HHS-NIH11, NSF). One whole string or an array, up to 10 nonblank entries. A code includes its sub-agencies. Case-insensitive. Any listed agency matches."
},
"statuses": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"enum": [
"forecasted",
"posted",
"closed",
"archived"
],
"type": "string"
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Lifecycle statuses to include: forecasted, posted, closed, archived. One whole string or an array, up to 4 nonblank entries. Default: forecasted and posted."
},
"eligibilities": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:\\d{1,2})\\s*)?$"
},
{
"type": "integer",
"maximum": 99,
"minimum": 0
}
]
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Two-digit applicant-type codes from grantsgov_list_reference topic eligibilities (e.g. 12 = nonprofits with 501(c)(3) status, 07 = federally recognized tribal governments). One whole string or an array of strings or numbers, up to 17 nonblank entries. A single digit is zero-padded (7 = 07). Any listed type matches."
},
"include_facets": {
"type": "boolean",
"default": true,
"description": "Include facet counts per filter value. Set false when paging to save space."
},
"assistance_listing": {
"type": "string",
"pattern": "^\\s*(?:(?:(?:[A-Za-z][A-Za-z\\s.]*(?:[:#]\\s*)?)?\\d{2}\\.?[0-9A-Za-z]{3})\\s*)?$",
"description": "One assistance listing number (ALN, formerly CFDA), e.g. 93.866 or 93866, in any case. Only one value is supported."
},
"funding_categories": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[A-Za-z]{1,4})\\s*)?$"
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Funding category codes from grantsgov_list_reference topic funding_categories (e.g. HL = Health, ED = Education). One whole string or an array, up to 28 nonblank entries. Case-insensitive. Any listed category matches."
},
"opportunity_number": {
"type": "string",
"pattern": "^(?:[^\"]*|\\s*\"[^\"]*\"\\s*)$",
"description": "Exact agency-assigned opportunity number (e.g. HRSA-27-005), matched case-insensitively; one pair of surrounding double quotes is removed. Numbers are not unique across agencies, so several rows can match. To look up a number across every status, prefer grantsgov_get_opportunity with opportunity_numbers."
},
"posted_within_days": {
"type": "integer",
"maximum": 3650,
"minimum": 1,
"description": "Only opportunities posted in the last N days (1-3650). Works only with the forecasted and posted statuses."
},
"closing_within_days": {
"type": "integer",
"maximum": 365,
"minimum": 0,
"description": "Only posted opportunities closing between today and N days from today, US Eastern (0-365; 0 = closing today). Searches posted opportunities in close-date order, so statuses may only be posted and sort only close_date_asc."
},
"funding_instruments": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"enum": [
"G",
"CA",
"PC",
"O"
],
"type": "string"
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Funding instruments: G (grant), CA (cooperative agreement), PC (procurement contract), O (other). One whole string or an array, up to 4 nonblank entries. Any listed instrument matches."
},
"include_unrestricted": {
"type": "boolean",
"default": true,
"description": "When eligibilities is set, also match opportunities open to any applicant type (code 99), which the specific codes do not cover. Set false to see only opportunities targeted at the listed types."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"opportunities",
"totalCount",
"truncated",
"shown",
"cap",
"applied_filters"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The limit applied."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_keyword",
"unknown_agency",
"unknown_eligibility",
"unknown_funding_category",
"filter_conflict",
"upstream_unavailable",
"rate_limited",
"upstream_route_unavailable"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_keyword`: The keyword has unbalanced quotes or parentheses, a leading AND/OR, a trailing or doubled operator, or nothing left after removing unsupported characters. `unknown_agency`: An agencies code is neither a known agency code nor a hyphen-delimited prefix of one. `unknown_eligibility`: An eligibilities code is not in the applicant-type list. `unknown_funding_category`: A funding_categories code is not in the category list. `filter_conflict`: posted_within_days with closed or archived in statuses; closing_within_days with statuses other than posted or a sort other than close_date_asc. `upstream_unavailable`: Grants.gov returned a malformed search page, or did not respond or returned a 5xx, a non-JSON body, a non-zero errorcode, or a backend-unavailable message after retries. `rate_limited`: Grants.gov answered HTTP 429 (rate limited) through every retry, or asked for a wait longer than the retry budget. `upstream_route_unavailable`: Grants.gov answered HTTP 403 Missing Authentication Token: the search route no longer exists at the gateway. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Rows returned on this page."
},
"facets": {
"type": "object",
"required": [
"statuses",
"eligibilities",
"funding_categories",
"funding_instruments",
"agencies"
],
"properties": {
"agencies": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"count"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input."
},
"count": {
"type": "number",
"description": "Opportunities with this value under the current filters."
},
"label": {
"type": "string",
"description": "Human-readable name."
}
},
"description": "One facet value with its count.",
"additionalProperties": false
},
"description": "Counts per top-level agency code."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"count"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input."
},
"count": {
"type": "number",
"description": "Opportunities with this value under the current filters."
},
"label": {
"type": "string",
"description": "Human-readable name."
}
},
"description": "One facet value with its count.",
"additionalProperties": false
},
"description": "Counts per status for the other filters, covering all four statuses whatever the statuses filter."
},
"sub_agencies": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"count"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input."
},
"count": {
"type": "number",
"description": "Opportunities with this value under the current filters."
},
"label": {
"type": "string",
"description": "Human-readable name."
}
},
"description": "One facet value with its count.",
"additionalProperties": false
},
"description": "Current-query subtree counts per sub-agency, including known intermediate parents. Present only when agencies is set. Number mode retains upstream facet scope; closing-window facets cover the wider posted set."
},
"eligibilities": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"count"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input."
},
"count": {
"type": "number",
"description": "Opportunities with this value under the current filters."
},
"label": {
"type": "string",
"description": "Human-readable name."
}
},
"description": "One facet value with its count.",
"additionalProperties": false
},
"description": "Counts per applicant-type code."
},
"funding_categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"count"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input."
},
"count": {
"type": "number",
"description": "Opportunities with this value under the current filters."
},
"label": {
"type": "string",
"description": "Human-readable name."
}
},
"description": "One facet value with its count.",
"additionalProperties": false
},
"description": "Counts per funding category code."
},
"funding_instruments": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"count"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input."
},
"count": {
"type": "number",
"description": "Opportunities with this value under the current filters."
},
"label": {
"type": "string",
"description": "Human-readable name."
}
},
"description": "One facet value with its count.",
"additionalProperties": false
},
"description": "Counts per funding instrument code."
}
},
"description": "Counts per filter value for the current filters. Omitted when include_facets is false.",
"additionalProperties": false
},
"notice": {
"type": "string",
"description": "Zero-hit or window guidance naming the next call."
},
"truncated": {
"type": "boolean",
"description": "True when more scanned matches remain after this page or a closing-window scan is incomplete, including on an empty page."
},
"totalCount": {
"type": "number",
"description": "Matching opportunities counted. In closing_within_days mode, total_count_kind says whether this is exact or a lower bound."
},
"next_offset": {
"type": "number",
"description": "Offset for the next reachable page of scanned matches; absent when none remain, even if the closing-window scan is incomplete."
},
"opportunities": {
"type": "array",
"items": {
"type": "object",
"required": [
"opportunity_id",
"opportunity_number",
"title",
"status",
"doc_type",
"close_date_kind",
"assistance_listings"
],
"properties": {
"title": {
"type": "string",
"description": "Opportunity title (HTML entities decoded)."
},
"status": {
"enum": [
"forecasted",
"posted",
"closed",
"archived"
],
"type": "string",
"description": "Lifecycle status."
},
"doc_type": {
"enum": [
"synopsis",
"forecast"
],
"type": "string",
"description": "Whether the record is a posted synopsis or a forecast."
},
"open_date": {
"type": "string",
"description": "Posting date, YYYY-MM-DD. Omitted when not listed."
},
"close_date": {
"type": "string",
"description": "Close date as listed, YYYY-MM-DD. Omitted when none is listed."
},
"agency_code": {
"type": "string",
"description": "Owning agency code, e.g. HHS-HRSA. Omitted when the record lists none."
},
"agency_name": {
"type": "string",
"description": "Owning agency name. Omitted when the record lists none."
},
"opportunity_id": {
"type": "string",
"description": "Numeric Grants.gov id as a digit string. Pass to grantsgov_get_opportunity.opportunity_ids."
},
"close_date_kind": {
"enum": [
"fixed",
"none_listed",
"placeholder"
],
"type": "string",
"description": "fixed = a real deadline; none_listed = no close date in search (rolling or open-ended, and every forecast: its estimated close date is on the grantsgov_get_opportunity record); placeholder = a far-future stand-in date the agency uses for \"accepted anytime\"."
},
"days_until_close": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Days from today (US Eastern) to close_date. Present only when close_date_kind is fixed; 0 = closes today; negative for a posted record whose close date passed before Grants.gov updated its status."
},
"opportunity_number": {
"type": "string",
"description": "Agency-assigned opportunity number, e.g. HRSA-27-005."
},
"assistance_listings": {
"type": "array",
"items": {
"type": "string",
"description": "One assistance listing number, e.g. 93.224."
},
"description": "Assistance listing numbers (ALN, formerly CFDA). Empty when none listed."
}
},
"description": "One matching opportunity.",
"additionalProperties": false
},
"description": "Matching opportunities, deadline first."
},
"applied_filters": {
"type": "object",
"required": [
"statuses",
"statuses_defaulted",
"include_unrestricted",
"sort"
],
"properties": {
"sort": {
"enum": [
"relevance",
"open_date_desc",
"open_date_asc",
"close_date_asc",
"close_date_desc",
"opportunity_number_asc",
"opportunity_number_desc",
"agency_asc",
"agency_desc"
],
"type": "string",
"description": "Sort order applied."
},
"statuses": {
"type": "array",
"items": {
"enum": [
"forecasted",
"posted",
"closed",
"archived"
],
"type": "string",
"description": "One status."
},
"description": "Statuses searched."
},
"agencies_sent": {
"type": "string",
"description": "Agency filter as sent upstream: pipe-joined, with sub-agency subtrees expanded and codes containing spaces quoted."
},
"assistance_listing": {
"type": "string",
"description": "Assistance listing number applied."
},
"eligibilities_sent": {
"type": "string",
"description": "Applicant-type codes as sent upstream, pipe-joined, including 99 when include_unrestricted added it."
},
"funding_categories": {
"type": "array",
"items": {
"type": "string",
"description": "One category code."
},
"description": "Funding category codes applied."
},
"opportunity_number": {
"type": "string",
"description": "Opportunity number matched exactly (case-insensitive)."
},
"posted_within_days": {
"type": "number",
"description": "Posting-date window applied, in days."
},
"statuses_defaulted": {
"type": "boolean",
"description": "True when statuses was not given and the default (forecasted, posted) applied."
},
"closing_cutoff_date": {
"type": "string",
"description": "Last close date inside the closing window, YYYY-MM-DD (US Eastern)."
},
"closing_within_days": {
"type": "number",
"description": "Closing window applied, in days."
},
"funding_instruments": {
"type": "array",
"items": {
"type": "string",
"description": "One instrument code."
},
"description": "Funding instrument codes applied."
},
"include_unrestricted": {
"type": "boolean",
"description": "The include_unrestricted setting; it acts only when eligibilities is set."
}
},
"description": "Filters as the server applied them, including defaults and expansions.",
"additionalProperties": false
},
"reference_cache": {
"type": "object",
"required": [
"status",
"reason",
"retry_after",
"snapshot_date"
],
"properties": {
"reason": {
"enum": [
"upstream_unavailable",
"upstream_route_unavailable",
"rate_limited"
],
"type": "string",
"description": "Sanitized refresh failure reason."
},
"status": {
"type": "string",
"const": "stale",
"description": "The validation vocabulary is expired."
},
"retry_after": {
"type": "string",
"description": "ISO timestamp when a refresh can be attempted again."
},
"snapshot_date": {
"type": "string",
"description": "ISO timestamp of the vocabulary used for validation."
}
},
"description": "Degraded reference-cache provenance when a filter uses stale vocabulary.",
"additionalProperties": false
},
"total_count_kind": {
"enum": [
"exact",
"lower_bound"
],
"type": "string",
"description": "Closing-window count precision: exact after exhaustion or an observed boundary; lower_bound when unscanned rows may still qualify. Omitted in other modes."
},
"effective_keyword": {
"type": "string",
"description": "The keyword as compiled and sent upstream."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Read the Grants.gov record for up to 5 opportunities, given numeric opportunity ids or opportunity numbers: deadline, funding, eligibility, description, assistance listings, contact, attachments, packages, and latest revision metadata. Lists and narratives are bounded independent pages; follow each record pages continuation to retrieve the remaining section. An opportunity number is resolved across all statuses. A miss or an ambiguous number comes back as an unresolved entry with guidance, not an error.
| Parameter | Type | Description |
|---|---|---|
| opportunity_ids | any | Numeric Grants.gov ids (e.g. 363423, or "363423" as search rows emit them), from grantsgov_search_opportunities opportunity_id. Accepts one whole string or an array, with at most 50 nonblank entries per list and 50 unique ids and numbers combined. Reads the first 5 identifiers, ids before numbers; r… |
| attachment_offset | integer | Zero-based attachment offset; defaults to 0. Page size 30. |
| description_offset | integer | Zero-based normalized description character offset; defaults to 0. Page size 12,000. |
| eligibility_offset | integer | Zero-based normalized eligibility character offset; defaults to 0. Page size 6,000. |
| opportunity_numbers | any | Agency-assigned opportunity numbers (e.g. HRSA-27-005), matched exactly and case-insensitively across all statuses; one pair of surrounding double quotes is removed. Accepts one whole string or an array, with at most 50 nonblank entries per list and 50 unique ids and numbers combined. Reads the firs… |
| application_package_offset | integer | Zero-based open package offset; defaults to 0. Page size 10. |
| related_opportunity_offset | integer | Zero-based related opportunity offset; defaults to 0. Page size 10. |
| funding_category_explanation_offset | integer | Zero-based normalized category explanation character offset; defaults to 0. Page size 2,000. |
{
"name": "grantsgov_get_opportunity",
"title": "Get Grants.gov Opportunity",
"description": "Read the Grants.gov record for up to 5 opportunities, given numeric opportunity ids or opportunity numbers: deadline, funding, eligibility, description, assistance listings, contact, attachments, packages, and latest revision metadata. Lists and narratives are bounded independent pages; follow each record pages continuation to retrieve the remaining section. An opportunity number is resolved across all statuses. A miss or an ambiguous number comes back as an unresolved entry with guidance, not an error.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"opportunity_ids": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
{
"type": "string",
"pattern": "^\\s*\\d+\\s*$"
}
]
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Numeric Grants.gov ids (e.g. 363423, or \"363423\" as search rows emit them), from grantsgov_search_opportunities opportunity_id. Accepts one whole string or an array, with at most 50 nonblank entries per list and 50 unique ids and numbers combined. Reads the first 5 identifiers, ids before numbers; remaining inputs have an executable continuation."
},
"attachment_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based attachment offset; defaults to 0. Page size 30."
},
"description_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based normalized description character offset; defaults to 0. Page size 12,000."
},
"eligibility_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based normalized eligibility character offset; defaults to 0. Page size 6,000."
},
"opportunity_numbers": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:[^\"]*|\\s*\"[^\"]*\"\\s*)$"
},
{
"type": "string",
"pattern": "^\\s*$"
}
]
}
}
],
"description": "Agency-assigned opportunity numbers (e.g. HRSA-27-005), matched exactly and case-insensitively across all statuses; one pair of surrounding double quotes is removed. Accepts one whole string or an array, with at most 50 nonblank entries per list and 50 unique ids and numbers combined. Reads the first 5 identifiers, ids before numbers; remaining inputs have an executable continuation. A number shared by several opportunities comes back as ambiguous with candidates."
},
"application_package_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based open package offset; defaults to 0. Page size 10."
},
"related_opportunity_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based related opportunity offset; defaults to 0. Page size 10."
},
"funding_category_explanation_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based normalized category explanation character offset; defaults to 0. Page size 2,000."
}
},
"additionalProperties": false
},
"outputSchema": {
"truncated": true,
"chars": 31876
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}List the codes Grants.gov search filters accept, with labels and live opportunity counts: agencies (top level, or one agency's sub-agencies via parent_code, or matched by name via name_contains), applicant eligibility types, funding categories, funding instruments, statuses, sort options, and keyword syntax. Use the codes as grantsgov_search_opportunities inputs.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Entries per page; defaults to 50. Requests above the processing cap of 100 are clamped with a notice. |
| topic * | string | Which list to return: agencies (agency codes), eligibilities (two-digit applicant-type codes), funding_categories, funding_instruments, statuses, sort_options, or keyword_syntax. |
| offset | integer | Zero-based offset into the complete filtered list; use continuation for the next page. |
| parent_code | string | Agencies only: list every code under this agency at any depth (e.g. HHS, DOD-DARPA). Case-insensitive. Omit for the top-level list. |
| name_contains | string | Keep only entries whose label or code contains every word given, ignoring case, accents, and punctuation (e.g. "national science", "nih"). For agencies this searches every code, top-level and sub-agency. Works with every topic. A value with no letters or digits matches nothing. |
{
"name": "grantsgov_list_reference",
"title": "List Grants.gov Reference Codes",
"description": "List the codes Grants.gov search filters accept, with labels and live opportunity counts: agencies (top level, or one agency's sub-agencies via parent_code, or matched by name via name_contains), applicant eligibility types, funding categories, funding instruments, statuses, sort options, and keyword syntax. Use the codes as grantsgov_search_opportunities inputs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"topic"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 1000,
"minimum": 1,
"description": "Entries per page; defaults to 50. Requests above the processing cap of 100 are clamped with a notice."
},
"topic": {
"enum": [
"agencies",
"eligibilities",
"funding_categories",
"funding_instruments",
"statuses",
"sort_options",
"keyword_syntax"
],
"type": "string",
"description": "Which list to return: agencies (agency codes), eligibilities (two-digit applicant-type codes), funding_categories, funding_instruments, statuses, sort_options, or keyword_syntax."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Zero-based offset into the complete filtered list; use continuation for the next page."
},
"parent_code": {
"type": "string",
"pattern": "^\\s*(?:(?:[A-Za-z0-9]+(?:[\\s-]+[A-Za-z0-9]+)*)\\s*)?$",
"description": "Agencies only: list every code under this agency at any depth (e.g. HHS, DOD-DARPA). Case-insensitive. Omit for the top-level list."
},
"name_contains": {
"type": "string",
"maxLength": 100,
"description": "Keep only entries whose label or code contains every word given, ignoring case, accents, and punctuation (e.g. \"national science\", \"nih\"). For agencies this searches every code, top-level and sub-agency. Works with every topic. A value with no letters or digits matches nothing."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"topic",
"entries",
"totalCount",
"shown",
"cap",
"truncated"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "Effective page size, at most 100."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"unknown_parent_code",
"filter_not_applicable",
"upstream_unavailable",
"rate_limited",
"upstream_route_unavailable"
],
"description": "Machine-readable failure mode. Declared by this tool: `unknown_parent_code`: parent_code is not a known agency code. `filter_not_applicable`: parent_code given with a topic other than agencies. `upstream_unavailable`: The snapshot fetch failed after retries and no cached snapshot exists. `rate_limited`: The snapshot fetch got HTTP 429 (rate limited) through every retry, and no cached snapshot exists. `upstream_route_unavailable`: The snapshot fetch got HTTP 403 Missing Authentication Token (the search route no longer exists at the gateway), and no cached snapshot exists. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Entries returned on this page."
},
"topic": {
"enum": [
"agencies",
"eligibilities",
"funding_categories",
"funding_instruments",
"statuses",
"sort_options",
"keyword_syntax"
],
"type": "string",
"description": "The topic listed."
},
"notice": {
"type": "string",
"description": "Guidance when name_contains matched nothing, or when parent_code has no sub-agencies."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label"
],
"properties": {
"code": {
"type": "string",
"description": "Value to pass to the matching grantsgov_search_opportunities input (agencies, eligibilities, funding_categories, funding_instruments, statuses, or sort); for keyword_syntax, the form to write inside keyword."
},
"label": {
"type": "string",
"description": "Human-readable name."
},
"open_count": {
"type": "number",
"description": "Forecasted + posted opportunities with this code. For an agency, the count a grantsgov_search_opportunities agencies filter on this code returns: the code and every sub-agency under it."
},
"description": {
"type": "string",
"description": "Usage notes for statuses, sort_options, and keyword_syntax entries."
},
"parent_code": {
"type": "string",
"description": "agencies only: the parent agency code."
},
"total_count": {
"type": "number",
"description": "Opportunities with this code across all statuses, counted the same way as open_count."
},
"has_children": {
"type": "boolean",
"description": "agencies only: true when the code has sub-agencies (searching it includes them)."
}
},
"description": "One reference entry.",
"additionalProperties": false
},
"description": "Reference entries."
},
"truncated": {
"type": "boolean",
"description": "True when matching entries remain after this page."
},
"totalCount": {
"type": "number",
"description": "Total entries matching the filters before paging."
},
"continuation": {
"type": "object",
"required": [
"topic",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "number",
"description": "Effective page size."
},
"topic": {
"enum": [
"agencies",
"eligibilities",
"funding_categories",
"funding_instruments",
"statuses",
"sort_options",
"keyword_syntax"
],
"type": "string",
"description": "Topic to list again."
},
"offset": {
"type": "number",
"description": "Offset of the next page."
},
"parent_code": {
"type": "string",
"description": "The same agency scope."
},
"name_contains": {
"type": "string",
"description": "The same name filter."
}
},
"description": "Complete arguments for the next grantsgov_list_reference call; absent when no entries remain.",
"additionalProperties": false
},
"snapshot_date": {
"type": "string",
"description": "When the live vocabulary was fetched (ISO timestamp); absent for fully static topics."
},
"reference_cache": {
"type": "object",
"required": [
"status",
"reason",
"retry_after"
],
"properties": {
"reason": {
"enum": [
"upstream_unavailable",
"upstream_route_unavailable",
"rate_limited"
],
"type": "string",
"description": "Sanitized refresh failure reason."
},
"status": {
"type": "string",
"const": "stale",
"description": "The cached vocabulary is expired."
},
"retry_after": {
"type": "string",
"description": "ISO timestamp when a refresh can be attempted again."
}
},
"description": "Degraded reference-cache provenance; absent after a healthy refresh.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Find federal funding with grantsgov_search_opportunities, then read full records (award range, eligibility narrative, attachments) with grantsgov_get_opportunity using the opportunity_id from each row. Search returns forecasted and posted opportunities unless statuses says otherwise; filter codes for agencies, applicant eligibility, and funding categories come from grantsgov_list_reference. Each record carries its assistance listing number (ALN) and opportunity number, the keys other federal spending and research-funding sources use.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.