Grants.gov Public Opportunities Search (grants_gov_search2): Deterministic MCP & Cached JSON Guide
Connect AI agents and backend pipelines to Grants.gov Public Opportunities Search (https://api.grants.gov) via https://devour-fin.fastmesh.dev/v1/organs/grants_gov_search2/invoke and https://mcp.fastmesh.dev/mcp. Upstream JSON payloads are parsed deterministically with a 7-day cross-tenant cache.
1. Direct REST & MCP Invocation
curl -fsSL -X POST "https://devour-fin.fastmesh.dev/v1/organs/grants_gov_search2/invoke" \
-H "Content-Type: application/json" \
-d '{"params": {"rows": 3, "keyword": "energy"}}'
JSON-RPC 2.0 MCP call via https://devour-fin.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (local upstream port 9053):
{
"jsonrpc": "2.0",
"id": 28,
"method": "tools/call",
"params": {
"name": "grants_gov_search2",
"arguments": {
"rows": 3,
"keyword": "energy"
}
}
}
2. Deterministic Normalized Output Contract
{
"ok": true,
"slug": "grants_gov_search2",
"superbus_id": "fingov:grants_gov_search2",
"hand_id": "fingov_grants_gov_search2_v1",
"source": "Grants.gov Public Opportunities Search",
"verified": true,
"auth_mode": "public_no_auth",
"response_format": "json",
"cache_ttl_days": 7,
"cache_hit": true,
"upstream_calls": 0,
"charged_micros": 0,
"zero_charge_on_empty": true,
"decimal_fields": [],
"receipt_sha256": "sha256_verified_evidence_digest",
"sample_schema_fields": [
"errorcode",
"msg",
"data.hitCount",
"data.oppHits[].id",
"data.oppHits[].number",
"data.oppHits[].title",
"data.oppHits[].agencyCode",
"data.oppHits[].openDate",
"data.oppHits[].closeDate"
]
}
3. Covered Official Endpoints & Cache Policy
| Organ Slug | Official Source | Format | Cache TTL | Decimal Fields |
|---|---|---|---|---|
grants_gov_search2 | Grants.gov Public Opportunities Search | JSON | 7 days | none (identifier) |
4. Engineering Guarantees & Anti-Fake-200 Controls
- SuperBus & Organ Identity: Exposed as MCP tool grants_gov_search2 (fingov:grants_gov_search2 on SuperBus, hand_id: fingov_grants_gov_search2_v1) from U.S. Department of Health and Human Services (Grants.gov).
- Upstream Endpoint: https://api.grants.gov/v1/api/search2 (verified HTTP 200, auth: public_no_auth).
- Empty-Result $0 Rule: Treat errorcode != 0 or data.hitCount == 0 or data.oppHits == [] as empty/error ($0 billing, do not cache).
- Header & Rate Policy: Public Grants.gov search2 REST endpoint; no API key required. Required headers: {"User-Agent": "FinGovMCP/1.0 (+https://devour-fin.fastmesh.dev; compliance-bot@fastmesh.dev)", "Content-Type": "application/json"}.
- Cache & Second-Hit Economics: Verified hits are cached for 7 days; repeat hits consume 0 upstream requests.
- Decimal Fields: Lossless decimal.Decimal parsing on: none (identifier/text fields).
5. Prepaid Credit Tiers (Never Expire) & Agent Manifests
Start with the 5-second Try-Now explorer at devour-fin.fastmesh.dev or unlock high-volume cached throughput with Starter ($19), Pro ($79), or Scale ($249) prepaid packs.
skill.md · llms.txt · openapi.json · GET /v1/organs · sitemap.xml
Related FinGov & Regulatory MCP Guides
FastMesh FinGov Deterministic Engine (devour-fin.fastmesh.dev) ·
SuperBus: https://mcp.fastmesh.dev/mcp · Support: ops@fastmesh.dev