Government contract search and federal procurement data for AI agents — SAM.gov opportunities + USASpending awards, via MCP (x402).
claude mcp add gov-contracts-mcp -- python -m -r{
"mcpServers": {
"gov-contracts-mcp": {
"command": "python",
"args": ["-m", "-r"],
"env": {
"SUPABASE_URL": "<supabase_url>",
"SUPABASE_SERVICE_KEY": "<supabase_service_key>"
}
}
}
}SUPABASE_URLSUPABASE_SERVICE_KEYMCP Servers overview
# Government Contracts MCP
**Government contract search and federal procurement data for AI agents.** Search
[SAM.gov](https://sam.gov) opportunities and [USASpending.gov](https://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](https://x402.org): 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`
```json
{
"mcpServers": {
"gov-contracts": {
"url": "https://gov-contracts-mcp-production.up.railway.app/mcp"
}
}
}
```
## Develop
```bash
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](https://foundrynet.io) · hello@foundrynet.io
What people ask about gov-contracts-mcp
What is FoundryNet/gov-contracts-mcp?
+
FoundryNet/gov-contracts-mcp is mcp servers for the Claude AI ecosystem. Government contract search and federal procurement data for AI agents — SAM.gov opportunities + USASpending awards, via MCP (x402). It has 0 GitHub stars and was last updated today.
How do I install gov-contracts-mcp?
+
You can install gov-contracts-mcp by cloning the repository (https://github.com/FoundryNet/gov-contracts-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is FoundryNet/gov-contracts-mcp safe to use?
+
FoundryNet/gov-contracts-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains FoundryNet/gov-contracts-mcp?
+
FoundryNet/gov-contracts-mcp is maintained by FoundryNet. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to gov-contracts-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy gov-contracts-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/foundrynet-gov-contracts-mcp)<a href="https://claudewave.com/repo/foundrynet-gov-contracts-mcp"><img src="https://claudewave.com/api/badge/foundrynet-gov-contracts-mcp" alt="Featured on ClaudeWave: FoundryNet/gov-contracts-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。