{
  "markdown": "# Government Contracts MCP\n\n**Government contract search and federal procurement data for AI agents.** Search\n[SAM.gov](https://sam.gov) opportunities and [USASpending.gov](https://usaspending.gov)\n/ FPDS contract awards from one aggregated, deduplicated dataset — plus contract\ndetail, agency spending breakdowns, and trending solicitation sectors.\n\nLive MCP endpoint (Streamable HTTP):\n`https://gov-contracts-mcp-production.up.railway.app/mcp`\n\n## Connect\n\n- **MCP endpoint:** `https://gov-contracts-mcp-production.up.railway.app/mcp`\n- **Registry id:** `io.github.FoundryNet/gov-contracts-mcp`\n- **Agent card:** `https://gov-contracts-mcp-production.up.railway.app/.well-known/agent-card.json`\n\n### Claude Desktop / Cursor / Claude Code\n\n```bash\nclaude mcp add --transport http gov-contracts https://gov-contracts-mcp-production.up.railway.app/mcp\n```\n\n## Tools\n\n| Tool | Price | What it does |\n|---|---|---|\n| `search_contracts` | $0.01 | Filtered search of opportunities + awards (keyword, agency, NAICS, state, value range, status, posted-after), newest first |\n| `contract_detail` | **free** | Full record for one solicitation number |\n| `agency_spending` | $0.01 | Live spend-by-NAICS + top awardees for an agency / fiscal year |\n| `trending_opportunities` | $0.01 | Sectors ranked by new-solicitation volume over a window |\n| `daily_brief` | $10 | Curated daily federal-procurement brief |\n| `brief_summary` | $0.50 | Top-5 signals from today's brief as structured JSON — a cheap sample of `daily_brief` |\n| `mint_info` | **free** | FoundryNet Data Network directory + attestation info |\n\n**Free tier:** 25 paid-tool queries/day per agent (plus unlimited free\n`contract_detail`). Pass `agent_id` to scope your allowance. After that, each query\ncosts **$0.01 per query** via [x402](https://x402.org): the tool returns an\nHTTP-402 with a payment memo — complete the returned payment challenge, then re-call with the\nsame arguments plus `payment_tx=<signature>`. An `Authorization: Bearer fnet_…` key\nbypasses the paywall.\n\n## Data sources\n\n- **SAM.gov Opportunities API** — open solicitations / opportunity notices.\n- **USASpending.gov Award API** — awarded contracts (FPDS data flows through here).\n\nA background agent refreshes the dataset every 6 hours; `agency_spending` queries\nUSASpending live so it always reflects the full federal record.\n\n## Connect\n\nMCP registry:\n`io.github.FoundryNet/gov-contracts-mcp`\n\n```json\n{\n  \"mcpServers\": {\n    \"gov-contracts\": {\n      \"url\": \"https://gov-contracts-mcp-production.up.railway.app/mcp\"\n    }\n  }\n}\n```\n\n## Develop\n\n```bash\npip install -r requirements.txt\nexport SUPABASE_URL=... SUPABASE_SERVICE_KEY=...\npython server.py        # serves /mcp + /sse on :8080, /health for liveness\n```\n\nApply `sql/0001_gov_contracts.sql` to the Supabase project before first run.\n\nBuilt by [FoundryNet](https://foundrynet.io?utm_source=github&utm_medium=readme&utm_campaign=gov-contracts-mcp) · forge@foundrynet.io\n\n## Live network activity\n\nReal-time verified activity across 17 servers and autonomous agents in the FoundryNet Data Network.\n",
  "bytes": 3083,
  "sha": "ba812cbc5b6dc4ebc2382ca3e7f21afdb834bbe91c4b19ebd08a73ce115dad64",
  "repo_slug": "foundrynet/gov-contracts-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_foundrynet_gov_contracts_mcp_7db0ce16/readme"
}