Government Contracts MCP

Official registry Archived Government and legal

Government contract search and federal procurement data: SAM.gov opportunities + USASpending awards.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http government-contracts-mcp 'https://gov-contracts-mcp-production.up.railway.app/mcp'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "government-contracts-mcp": {
            "type": "http",
            "url": "https://gov-contracts-mcp-production.up.railway.app/mcp"
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Government Contracts MCP
  2. Connect
  3. Tools
  4. Data sources
  5. Connect
  6. Develop
  7. Live network activity

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

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

ToolPriceWhat it does
search_contracts$0.01Filtered search of opportunities + awards (keyword, agency, NAICS, state, value range, status, posted-after), newest first
contract_detailfreeFull record for one solicitation number
agency_spending$0.01Live spend-by-NAICS + top awardees for an agency / fiscal year
trending_opportunities$0.01Sectors ranked by new-solicitation volume over a window
daily_brief$10Curated daily federal-procurement brief
brief_summary$0.50Top-5 signals from today's brief as structured JSON — a cheap sample of daily_brief
mint_infofreeFoundryNet 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 · forge@foundrynet.io

Live network activity

Real-time verified activity across 17 servers and autonomous agents in the FoundryNet Data Network.

Frequently asked questions

What is Government Contracts MCP?

Government contract search and federal procurement data: SAM.gov opportunities + USASpending awards.

How do I install Government Contracts MCP?

It runs as a remote server. In Claude Code: claude mcp add --transport http government-contracts-mcp 'https://gov-contracts-mcp-production.up.railway.app/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Government Contracts MCP need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Government Contracts MCP open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Government Contracts MCP?

It is published by FoundryNet. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.