grantsgov-mcp-server
An MCP server that allows agents to search US federal funding opportunities on Grants.gov and read full records including eligibility, awards, deadlines, and attachments. It supports filtering by keyword, agency, applicant type, funding category, and deadline windows, and provides reference codes for filters.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://grantsgov.caseyjhand.com/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Search federal funding opportunities by keyword and agency
- Read full opportunity records including eligibility and deadlines
- Decode filter codes for agencies and applicant types
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- grantsgov-mcp-server 0.2.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 3 advertised
- Resources
- 1 advertised
- Resource templates
- 1 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": true
},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"subscribe": true,
"listChanged": true
},
"extensions": {
"io.modelcontextprotocol/skills": {
"directoryRead": true
}
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
3 advertised
grantsgov_search_opportunities — Search Grants.gov Opportunities
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.
{
"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
}{
"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
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}grantsgov_get_opportunity — Get Grants.gov Opportunity
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.
{
"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
}{
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"opportunities",
"unresolved"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"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": [
"no_identifiers",
"too_many_identifiers",
"upstream_unavailable",
"rate_limited",
"upstream_route_unavailable"
],
"description": "Machine-readable failure mode. Declared by this tool: `no_identifiers`: Both opportunity_ids and opportunity_numbers are empty or unset. `too_many_identifiers`: More than 50 ids and numbers combined after de-duplication. `upstream_unavailable`: Grants.gov 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 on the detail route, or on the search route used to resolve opportunity numbers: the 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": {}
},
"notice": {
"type": "string",
"description": "Summary of unresolved inputs and what to call next."
},
"unresolved": {
"type": "array",
"items": {
"type": "object",
"required": [
"input",
"input_kind",
"outcome",
"guidance"
],
"properties": {
"input": {
"type": "string",
"description": "The id or number as given."
},
"outcome": {
"enum": [
"not_found",
"ambiguous"
],
"type": "string",
"description": "not_found = no record; ambiguous = the number matches more than one opportunity."
},
"guidance": {
"type": "string",
"description": "The next call to make."
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"opportunity_id",
"opportunity_number",
"title",
"status"
],
"properties": {
"title": {
"type": "string",
"description": "Title (HTML entities decoded)."
},
"status": {
"enum": [
"forecasted",
"posted",
"closed",
"archived"
],
"type": "string",
"description": "Lifecycle status."
},
"open_date": {
"type": "string",
"description": "Posting date, YYYY-MM-DD. Omitted when not listed."
},
"close_date": {
"type": "string",
"description": "Close date as listed in search, YYYY-MM-DD. Omitted when none is listed."
},
"agency_code": {
"type": "string",
"description": "Owning agency code. Omitted when not listed."
},
"agency_name": {
"type": "string",
"description": "Owning agency name. Omitted when not listed."
},
"opportunity_id": {
"type": "string",
"description": "Numeric id as a digit string; pass to opportunity_ids."
},
"opportunity_number": {
"type": "string",
"description": "Opportunity number."
}
},
"description": "One opportunity carrying the ambiguous number.",
"additionalProperties": false
},
"description": "For ambiguous numbers: every match, to re-request by id."
},
"input_kind": {
"enum": [
"opportunity_id",
"opportunity_number"
],
"type": "string",
"description": "Which list it came from."
}
},
"description": "One input that did not resolve to exactly one record.",
"additionalProperties": false
},
"description": "Inputs that did not resolve to exactly one record. Empty when all resolved."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids",
"opportunity_numbers"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"description": "Unprocessed numeric ids, in order."
},
"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": {
"type": "array",
"items": {
"type": "string"
},
"description": "Unprocessed opportunity numbers, in order."
},
"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."
}
},
"description": "Executable remaining queue with the original section offsets.",
"additionalProperties": false
}
},
"description": "Next identifier batch, omitted when the queue is exhausted.",
"additionalProperties": false
},
"deferred_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"description": "Unprocessed ids, omitted when none remain."
},
"opportunities": {
"type": "array",
"items": {
"type": "object",
"required": [
"opportunity_id",
"opportunity_number",
"title",
"status",
"doc_type",
"grants_gov_url",
"close_date_kind",
"close_date_is_estimate",
"past_revision_count",
"pages",
"money_source",
"applicant_types",
"funding_instruments",
"funding_categories",
"assistance_listings",
"attachments",
"attachment_count",
"application_packages",
"application_package_count",
"closed_package_count",
"related_opportunities",
"related_opportunity_count"
],
"properties": {
"pages": {
"type": "object",
"required": [
"attachment_offset",
"application_package_offset",
"description_offset",
"eligibility_offset",
"funding_category_explanation_offset",
"related_opportunity_offset"
],
"properties": {
"attachment_offset": {
"type": "object",
"required": [
"offset"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Full normalized character or item count. Omitted for an absent narrative."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Requested zero-based offset."
},
"next_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Next offset; absent on the final or past-end page."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"maxItems": 1,
"minItems": 1,
"description": "The single opportunity to continue."
},
"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."
},
"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."
}
},
"description": "Executable arguments advancing only this section.",
"additionalProperties": false
}
},
"description": "Next call for this section; other offsets default to zero.",
"additionalProperties": false
}
},
"description": "Attachment page.",
"additionalProperties": false
},
"description_offset": {
"type": "object",
"required": [
"offset"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Full normalized character or item count. Omitted for an absent narrative."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Requested zero-based offset."
},
"next_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Next offset; absent on the final or past-end page."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"maxItems": 1,
"minItems": 1,
"description": "The single opportunity to continue."
},
"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."
},
"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."
}
},
"description": "Executable arguments advancing only this section.",
"additionalProperties": false
}
},
"description": "Next call for this section; other offsets default to zero.",
"additionalProperties": false
}
},
"description": "Description character page.",
"additionalProperties": false
},
"eligibility_offset": {
"type": "object",
"required": [
"offset"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Full normalized character or item count. Omitted for an absent narrative."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Requested zero-based offset."
},
"next_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Next offset; absent on the final or past-end page."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"maxItems": 1,
"minItems": 1,
"description": "The single opportunity to continue."
},
"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."
},
"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."
}
},
"description": "Executable arguments advancing only this section.",
"additionalProperties": false
}
},
"description": "Next call for this section; other offsets default to zero.",
"additionalProperties": false
}
},
"description": "Eligibility character page.",
"additionalProperties": false
},
"application_package_offset": {
"type": "object",
"required": [
"offset"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Full normalized character or item count. Omitted for an absent narrative."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Requested zero-based offset."
},
"next_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Next offset; absent on the final or past-end page."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"maxItems": 1,
"minItems": 1,
"description": "The single opportunity to continue."
},
"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."
},
"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."
}
},
"description": "Executable arguments advancing only this section.",
"additionalProperties": false
}
},
"description": "Next call for this section; other offsets default to zero.",
"additionalProperties": false
}
},
"description": "Open application package page.",
"additionalProperties": false
},
"related_opportunity_offset": {
"type": "object",
"required": [
"offset"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Full normalized character or item count. Omitted for an absent narrative."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Requested zero-based offset."
},
"next_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Next offset; absent on the final or past-end page."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"maxItems": 1,
"minItems": 1,
"description": "The single opportunity to continue."
},
"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."
},
"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."
}
},
"description": "Executable arguments advancing only this section.",
"additionalProperties": false
}
},
"description": "Next call for this section; other offsets default to zero.",
"additionalProperties": false
}
},
"description": "Related opportunity page.",
"additionalProperties": false
},
"funding_category_explanation_offset": {
"type": "object",
"required": [
"offset"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Full normalized character or item count. Omitted for an absent narrative."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Requested zero-based offset."
},
"next_offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Next offset; absent on the final or past-end page."
},
"continuation": {
"type": "object",
"required": [
"tool",
"arguments"
],
"properties": {
"tool": {
"type": "string",
"const": "grantsgov_get_opportunity",
"description": "Tool to call."
},
"arguments": {
"type": "object",
"required": [
"opportunity_ids"
],
"properties": {
"opportunity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"maxItems": 1,
"minItems": 1,
"description": "The single opportunity to continue."
},
"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."
},
"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."
}
},
"description": "Executable arguments advancing only this section.",
"additionalProperties": false
}
},
"description": "Next call for this section; other offsets default to zero.",
"additionalProperties": false
}
},
"description": "Category explanation character page.",
"additionalProperties": false
}
},
"description": "Independent bounded pages; execute each continuation literally to retrieve its remaining section.",
"additionalProperties": false
},
"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."
},
"close_date": {
"type": "string",
"description": "Close date, YYYY-MM-DD: the application due date, or the estimated one on a forecast. 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."
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"required": [
"attachment_id",
"download_url"
],
"properties": {
"file_name": {
"type": "string",
"description": "File name."
},
"mime_type": {
"type": "string",
"description": "File MIME type."
},
"description": {
"type": "string",
"description": "File description."
},
"folder_type": {
"type": "string",
"description": "Attachment folder, e.g. Full Announcement."
},
"created_date": {
"type": "string",
"description": "Upstream attachment timestamp unchanged, including its stated timezone."
},
"download_url": {
"type": "string",
"description": "Direct download link (no login needed)."
},
"attachment_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Attachment id."
},
"size_in_bytes": {
"type": "number",
"description": "File size in bytes."
}
},
"description": "One NOFO or supporting attachment.",
"additionalProperties": false
},
"description": "Attachments, up to 30."
},
"description": {
"type": "string",
"description": "Opportunity description as plain text (up to 12,000 characters). Omitted when not listed."
},
"posted_date": {
"type": "string",
"description": "Posting date, YYYY-MM-DD. Omitted when not listed."
},
"archive_date": {
"type": "string",
"description": "Archive date, YYYY-MM-DD. Omitted when not listed (common on rolling and open-ended records)."
},
"last_updated": {
"type": "string",
"description": "Date the record was last updated, YYYY-MM-DD. Omitted when not listed."
},
"money_source": {
"enum": [
"synopsis",
"forecast"
],
"type": "string",
"description": "Which block the funding, eligibility, and contact fields come from: the synopsis on a posted record, the forecast on a forecast."
},
"category_code": {
"type": "string",
"description": "Opportunity category: D discretionary, M mandatory, C continuation, E earmark, O other. Omitted when not listed."
},
"agency_contact": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Contact name or office."
},
"email": {
"type": "string",
"description": "Contact email."
},
"phone": {
"type": "string",
"description": "Contact phone."
},
"details": {
"type": "string",
"description": "Further contact text published by the agency."
}
},
"description": "Applicant-facing agency contact as published. Omitted when none is listed.",
"additionalProperties": false
},
"category_label": {
"type": "string",
"description": "Opportunity category name. Omitted when not listed."
},
"grants_gov_url": {
"type": "string",
"description": "Public Grants.gov page for the opportunity."
},
"opportunity_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Numeric Grants.gov id."
},
"applicant_types": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code, as grantsgov_search_opportunities filters take it."
},
"label": {
"type": "string",
"description": "Human-readable name. Omitted when not listed."
}
},
"description": "One code with its label.",
"additionalProperties": false
},
"description": "Eligible applicant types; read with eligibility_narrative, which often narrows them."
},
"award_floor_usd": {
"type": "number",
"description": "Smallest single award, in US dollars. Omitted when not listed; 0 means listed as 0."
},
"close_date_kind": {
"enum": [
"fixed",
"none_listed",
"placeholder"
],
"type": "string",
"description": "fixed = a real (or, on a forecast, estimated) deadline; none_listed = no close date; placeholder = a far-future stand-in date the agency uses for \"accepted anytime\"."
},
"expected_awards": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Expected number of awards. Omitted when not listed."
},
"top_agency_code": {
"type": "string",
"description": "Top-level agency code, e.g. HHS. Omitted when not listed."
},
"top_agency_name": {
"type": "string",
"description": "Top-level agency name. Omitted when not listed."
},
"attachment_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Total attachments on the record."
},
"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; negative once the date has passed."
},
"award_ceiling_usd": {
"type": "number",
"description": "Largest single award, in US dollars. Omitted when not listed; 0 means listed as 0."
},
"forecast_estimates": {
"type": "object",
"properties": {
"fiscal_year": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Fiscal year of the funding."
},
"est_post_date": {
"type": "string",
"description": "Estimated posting date, YYYY-MM-DD."
},
"est_award_date": {
"type": "string",
"description": "Estimated award date, YYYY-MM-DD."
},
"est_close_date": {
"type": "string",
"description": "Estimated close date, YYYY-MM-DD."
},
"est_project_start_date": {
"type": "string",
"description": "Estimated project start date, YYYY-MM-DD."
}
},
"description": "Forecasts only: the agency estimates of the synopsis timeline.",
"additionalProperties": false
},
"funding_categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code, as grantsgov_search_opportunities filters take it."
},
"label": {
"type": "string",
"description": "Human-readable name. Omitted when not listed."
}
},
"description": "One code with its label.",
"additionalProperties": false
},
"description": "Funding activity categories."
},
"last_revision_note": {
"type": "string",
"description": "Agency note on the latest active synopsis or forecast revision; omitted when unavailable."
},
"opportunity_number": {
"type": "string",
"description": "Agency-assigned opportunity number."
},
"additional_info_url": {
"type": "string",
"description": "Agency link for more information (not fetched by this server)."
},
"assistance_listings": {
"type": "array",
"items": {
"type": "object",
"required": [
"number"
],
"properties": {
"number": {
"type": "string",
"description": "Assistance listing number (ALN, formerly CFDA)."
},
"program_title": {
"type": "string",
"description": "Program title."
}
},
"description": "One assistance listing.",
"additionalProperties": false
},
"description": "Assistance listings funding the opportunity."
},
"funding_instruments": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code, as grantsgov_search_opportunities filters take it."
},
"label": {
"type": "string",
"description": "Human-readable name. Omitted when not listed."
}
},
"description": "One code with its label.",
"additionalProperties": false
},
"description": "Funding instruments (grant, cooperative agreement, ...)."
},
"original_close_date": {
"type": "string",
"description": "The original due date, YYYY-MM-DD. Present only when listed and different from close_date."
},
"past_revision_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Earlier revisions of the synopsis and forecast (the history itself is not returned)."
},
"application_packages": {
"type": "array",
"items": {
"type": "object",
"required": [
"package_id"
],
"properties": {
"package_id": {
"type": "string",
"description": "Application package id, e.g. PKG00294168."
},
"closing_date": {
"type": "string",
"description": "Package closing date, YYYY-MM-DD."
},
"opening_date": {
"type": "string",
"description": "Package opening date, YYYY-MM-DD."
},
"competition_id": {
"type": "string",
"description": "Competition id."
},
"competition_title": {
"type": "string",
"description": "Competition title."
},
"electronic_required": {
"type": "boolean",
"description": "Whether electronic submission is required."
}
},
"description": "One open application package.",
"additionalProperties": false
},
"description": "Open application packages, up to 10."
},
"closed_package_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Closed application packages on the record."
},
"additional_info_label": {
"type": "string",
"description": "Label of the additional-information link."
},
"cost_sharing_required": {
"type": "boolean",
"description": "Whether cost sharing or matching is required. Omitted when not listed."
},
"description_truncated": {
"type": "boolean",
"description": "True when the description page omits a prefix or suffix of the full description."
},
"eligibility_narrative": {
"type": "string",
"description": "Agency text on eligibility (up to 6,000 characters). Omitted when not listed."
},
"last_revision_changed": {
"type": "array",
"items": {
"type": "string"
},
"description": "Changed public field names; unknown names retain the upstream: prefix. Not a computed historical diff."
},
"related_opportunities": {
"type": "array",
"items": {
"type": "object",
"required": [
"opportunity_id"
],
"properties": {
"note": {
"type": "string",
"description": "Agency note on the relationship."
},
"title": {
"type": "string",
"description": "Related opportunity title."
},
"close_date": {
"type": "string",
"description": "Close date, YYYY-MM-DD."
},
"agency_code": {
"type": "string",
"description": "Related opportunity agency code."
},
"posted_date": {
"type": "string",
"description": "Posting date, YYYY-MM-DD."
},
"opportunity_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Related opportunity id; pass to grantsgov_get_opportunity.opportunity_ids."
},
"opportunity_number": {
"type": "string",
"description": "Related opportunity number."
}
},
"description": "One related opportunity.",
"additionalProperties": false
},
"description": "Related opportunities, up to 10."
},
"close_date_explanation": {
"type": "string",
"description": "Agency text about the deadline, often the submission time rule. Omitted when not listed."
},
"close_date_is_estimate": {
"type": "boolean",
"description": "True on forecasts, whose close date is an estimate."
},
"application_package_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Total open application packages."
},
"related_opportunity_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Total related opportunities."
},
"estimated_total_funding_usd": {
"type": "number",
"description": "Estimated total program funding, in US dollars. Omitted when not listed; 0 means listed as 0."
},
"funding_category_explanation": {
"type": "string",
"description": "Agency text explaining the Other category (up to 2,000 characters). Omitted when not listed."
},
"eligibility_narrative_truncated": {
"type": "boolean",
"description": "True when the eligibility page omits a prefix or suffix of the full narrative."
},
"funding_category_explanation_truncated": {
"type": "boolean",
"description": "True when the category explanation page omits a prefix or suffix."
}
},
"description": "One full opportunity record.",
"additionalProperties": false
},
"description": "Records found, in input order."
},
"deferred_numbers": {
"type": "array",
"items": {
"type": "string"
},
"description": "Unprocessed numbers, omitted when none remain."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}grantsgov_list_reference — List Grants.gov Reference Codes
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.
{
"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
}{
"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
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}Prompts
0 advertised
Resources
1 advertised
grantsgov-guide
Use grantsgov_* tools to shortlist federal funding, assess applicant fit, review deadlines, or prepare an application checklist. Load before recommending an opportunity as eligible, treating a date as a submission deadline, or claiming application requirements are complete.
skill://grantsgov-guide/SKILL.mdio.modelcontextprotocol/skills
skill://{+path}90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 703 ms
- 95th percentile latency
- 762 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 769 ms · 3 tool(s), 1 resource(s), 1 resource template(s), 0 prompt(s)
- · probe · passed · 636 ms · metadata changed · 3 tool(s), 1 resource(s), 1 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http grantsgov-mcp-server https://grantsgov.caseyjhand.com/mcpCodex
codex mcp add grantsgov-mcp-server --url https://grantsgov.caseyjhand.com/mcpCursor
{
"mcpServers": {
"grantsgov-mcp-server": {
"url": "https://grantsgov.caseyjhand.com/mcp"
}
}
}Cline
{
"mcpServers": {
"grantsgov-mcp-server": {
"type": "streamableHttp",
"url": "https://grantsgov.caseyjhand.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"grantsgov-mcp-server": {
"type": "http",
"url": "https://grantsgov.caseyjhand.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http grantsgov-mcp-server https://grantsgov.caseyjhand.com/mcpClaude Desktop
https://grantsgov.caseyjhand.com/mcpWindsurf
{
"mcpServers": {
"grantsgov-mcp-server": {
"serverUrl": "https://grantsgov.caseyjhand.com/mcp"
}
}
}Let your agent find its tools
Find servers like grantsgov-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.