About Government Contracts MCP
Government Contracts MCP provides federal procurement search and spending data for AI agents, combining SAM.gov opportunities with USASpending.gov awards. It also offers solicitation details, agency spending breakdowns, and sector trends.
Key features
- 01Search opportunities and awards
- 02Retrieve solicitation details
- 03View agency spending by NAICS
- 04Track trending solicitation sectors
- 05Generate procurement briefs
Use cases
- 01Find open federal solicitations by agency or value
- 02Review awards and solicitation records
- 03Analyze an agency’s spending and awardees
- 04Monitor sectors with rising solicitation volume
MCP support
An MCP server that exposes federal procurement search, contract details, spending analysis, trend data, and brief-generation tools to MCP clients.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://gov-contracts-mcp-production.up.railway.app/mcpclaude mcp add --transport http foundrynet-gov-contracts https://gov-contracts-mcp-production.up.railway.app/mcp{"mcpServers":{"foundrynet-gov-contracts":{"type":"http","url":"https://gov-contracts-mcp-production.up.railway.app/mcp"}}}Open in Cursor{"servers":{"foundrynet-gov-contracts":{"type":"http","url":"https://gov-contracts-mcp-production.up.railway.app/mcp"}}}Open in VS Code{"mcpServers":{"foundrynet-gov-contracts":{"type":"http","url":"https://gov-contracts-mcp-production.up.railway.app/mcp"}}}{"mcpServers":{"foundrynet-gov-contracts":{"serverUrl":"https://gov-contracts-mcp-production.up.railway.app/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEGovernment Contracts MCP
Government contract search and federal procurement data for AI agents. Search SAM.gov opportunities and USASpending.gov / FPDS contract awards from one aggregated, deduplicated dataset — plus contract detail, agency spending breakdowns, and trending solicitation sectors.
Live MCP endpoint (Streamable HTTP):
https://gov-contracts-mcp-production.up.railway.app/mcp
Connect
- MCP endpoint:
https://gov-contracts-mcp-production.up.railway.app/mcp - Registry id:
io.github.FoundryNet/gov-contracts-mcp - Agent card:
https://gov-contracts-mcp-production.up.railway.app/.well-known/agent-card.json
Claude Desktop / Cursor / Claude Code
claude mcp add --transport http gov-contracts https://gov-contracts-mcp-production.up.railway.app/mcp
Tools
| Tool | Price | What it does |
|---|---|---|
search_contracts | $0.01 | Filtered search of opportunities + awards (keyword, agency, NAICS, state, value range, status, posted-after), newest first |
contract_detail | free | Full record for one solicitation number |
agency_spending | $0.01 | Live spend-by-NAICS + top awardees for an agency / fiscal year |
trending_opportunities | $0.01 | Sectors ranked by new-solicitation volume over a window |
daily_brief | $10 | Curated daily federal-procurement brief |
brief_summary | $0.50 | Top-5 signals from today's brief as structured JSON — a cheap sample of daily_brief |
mint_info | free | FoundryNet Data Network directory + attestation info |
Free tier: 25 paid-tool queries/day per agent (plus unlimited free
contract_detail). Pass agent_id to scope your allowance. After that, each query
costs $0.01 per query via x402: the tool returns an
HTTP-402 with a payment memo — complete the returned payment challenge, then re-call with the
same arguments plus payment_tx=<signature>. An Authorization: Bearer fnet_… key
bypasses the paywall.
Data sources
- SAM.gov Opportunities API — open solicitations / opportunity notices.
- USASpending.gov Award API — awarded contracts (FPDS data flows through here).
A background agent refreshes the dataset every 6 hours; agency_spending queries
USASpending live so it always reflects the full federal record.
Connect
MCP registry:
io.github.FoundryNet/gov-contracts-mcp
{
"mcpServers": {
"gov-contracts": {
"url": "https://gov-contracts-mcp-production.up.railway.app/mcp"
}
}
}
Develop
pip install -r requirements.txt
export SUPABASE_URL=... SUPABASE_SERVICE_KEY=...
python server.py # serves /mcp + /sse on :8080, /health for liveness
Apply sql/0001_gov_contracts.sql to the Supabase project before first run.
Built by FoundryNet · [email protected]
Live network activity
Real-time verified activity across 17 servers and autonomous agents in the FoundryNet Data Network.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.