Government Contracts MCP
Enables AI agents to search and analyze federal government contract opportunities and awards from SAM.gov and USASpending.gov, with tools for contract search, detail, agency spending, and trending sectors.
README
Government 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
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 |
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 USDC on Solana via x402: the tool returns an
HTTP-402 with a payment memo — send the USDC with that memo, 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
Smithery: @foundrynet/gov-contracts · 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 · hello@foundrynet.io
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.