Government Contracts MCP

io.github.FoundryNetPublished by GitHub account FoundryNetv1.0.0Updated Oct 25, 2026

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

Overview

AI-generated overview

Remote MCP server for searching US federal contract opportunities and awards, with agency spending breakdowns and trending solicitation sectors.

What you can do
Search SAM.gov opportunities and USASpending/FPDS contract awards by keyword, agency, NAICS code, state, value range, status and posting date, newest first, with results deduplicated across both sources. Retrieve the full record for a single solicitation number. Get an agency's spend by NAICS code and its top awardees for a fiscal year. See sectors ranked by new-solicitation volume over a chosen window. Pull a curated daily procurement brief, or a cheaper top-five summary of it as structured JSON. Look up the provider's data-network directory and attestation information.
When to use it
Useful when an assistant needs to research federal procurement: finding open solicitations that match a company's capabilities, checking who has won awards from an agency, or tracking which sectors are heating up. A good fit for bid research, market sizing and competitive analysis on US government contracts.
Requirements
A remote Streamable HTTP endpoint; nothing to install locally. No account or key is needed for the free tier. An optional agent_id parameter scopes the free allowance, and an optional Authorization Bearer key bypasses the paywall. Network access to the hosted endpoint is required.
Before you install
Most tools are metered: 25 paid-tool queries per day per agent are free, then each query costs $0.01 through an x402 payment challenge that requires a payment transaction signature; the daily brief costs $10 and its summary $0.50. Treat these as real spending. The optional bearer key is a credential and should be kept secret. Queries are sent to a third-party hosted service that aggregates SAM.gov and USASpending data.

Installation

In SourceWeft

  1. Open Government Contracts MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.FoundryNet%2Fgov-contracts-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "government-contracts": {
      "type": "http",
      "url": "https://gov-contracts-mcp-production.up.railway.app/mcp"
    }
  }
}

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

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

bash
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

json
{  "mcpServers": {    "gov-contracts": {      "url": "https://gov-contracts-mcp-production.up.railway.app/mcp"    }  }}

Develop

bash
pip install -r requirements.txtexport 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.

Source: README.md at commit 1a93fc0

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts