Skip to main content
ClaudeWave
FoundryNet avatar
FoundryNet

gov-contracts-mcp

View on GitHub

Government contract search and federal procurement data for AI agents — SAM.gov opportunities + USASpending awards, via MCP (x402).

MCP ServersOfficial Registry0 stars0 forksPythonUpdated today
Install in Claude Code / Claude Desktop
Method: pip / Python · -r
Claude Code CLI
claude mcp add gov-contracts-mcp -- python -m -r
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "gov-contracts-mcp": {
      "command": "python",
      "args": ["-m", "-r"],
      "env": {
        "SUPABASE_URL": "<supabase_url>",
        "SUPABASE_SERVICE_KEY": "<supabase_service_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install -r
Detected environment variables
SUPABASE_URLSUPABASE_SERVICE_KEY
Use cases

MCP 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
ai-agentsfederal-contractsgovernmentgovernment-datamcpmcp-servermodel-context-protocolprocurementsam-govsolanausaspendingx402

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.

Featured on ClaudeWave: FoundryNet/gov-contracts-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/foundrynet-gov-contracts-mcp)](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

gov-contracts-mcp alternatives