Sam Gov MCP Server

The most comprehensive keyless-first MCP server for US federal and state/local (SLED) contracting + spending + regulation + partner vetting. 150 tools across 52 data sources - keyless-first: only 4 sources (Census business-patterns, FRED, BEA, and DOL's data endpoint) need a free key; the other 48 need none. Works today, in any AI agent. Its 40 documented tools cover usas, sam, spending, awards.

People connecting API integration tools to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 5 · #56 OF 250 MAINTAINED API INTEGRATION · VERIFIED 2026-08-25

MIT · JavaScript servers · how we verify → /methodology

01 · Install Sam Gov

before you install - you'll need

Set CENSUS_API_KEY, FRED_API_KEY before connecting. SAM_GOV_API_KEY, DATA_GOV_API_KEY, SAMGOV_SNAPSHOT_BASE_URL are optional or environment-specific per the README.

Claude Code

claude mcp add cliwant-mcp-sam-gov -- npx -y @cliwant/mcp-sam-gov

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cliwant-mcp-sam-gov": {
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @cliwant/mcp-sam-gov - published under the repo owner's npm scope (@cliwant)

registry namespace io.github.cliwant is GitHub-verified and matches the repo owner

03 · What Sam Gov can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can extract attachment text (RFP / SOW / Q&A / wage tables) from PDF + DOCX + text/HTML, resolve 'VA' / 'DHS' → canonical toptier name + 4-digit code, and navigate the NAICS tree (2→4→6) + active-contract count per code.

Capability map

Tools grouped from the project's README - what Sam Gov lets an agent do.

Usas

29 tools - e.g. aggregate share-of-wallet at agency × NAICS; line-item federal contracts (returns generatedInternalId); full award detail: period of performance, options, set-aside, competition

usas_search_awards · usas_search_individual_awards · usas_get_award_detail · usas_search_awards_by_recipient · usas_search_subawards · usas_search_recompetes…

Sam

8 tools - e.g. keyless HAL search of active SAM.gov contracting opportunities; pre-solicitation radar (Sources Sought / Presol / Special Notices before the RFP exists); full detail by 32-char hex noticeId (POCs +…

sam_search_opportunities · sam_search_shaping · sam_get_opportunity · sam_fetch_description · sam_fetch_attachment_text · sam_attachment_url…

Grants

2 tools - e.g. Grants.gov federal grant opportunities (financial assistance, distinct from SAM contracts); full detail for a single grant opportunity by id

grants_search · grants_get_opportunity

Fpds

1 tool - e.g. FPDS-NG federal contract award actions (the authoritative award-action feed)

fpds_search_awards

Latest releases

v1.12.0 · 2026-07-24

The second large adversarial-dogfooding honesty pass. Parallel Claude sub-agents audited the tool surface against LIVE upstreams across five batches; every confirmed defect was fixed under the SDLC (live-reproduced →…

v1.11.0 · 2026-07-20

This release is a large adversarial-dogfooding honesty pass: parallel Claude sub-agents audited the tool surface against LIVE upstreams, and every confirmed defect was fixed under the SDLC (live-reproduced →…

v1.10.0 · 2026-07-19

This release lands the bulk of the SLED (state/local/education) bid-coverage campaign from the exhaustive US state+local procurement-site research. Six new keyless tools (144 → 150) plus large keyless-source expansion…

04 · Who maintains Sam Gov

mcp-sam-gov is maintained by cliwant. It's the only MCP server we track from this author; the repo dates to Apr 2026.

05 · Facts

category
API integration - ranked #56 of 250 actively-maintained API integration servers as of 2026-08-25.
release cadence
7 releases in the last 90 days (latest 2026-07-24)
registry
io.github.cliwant/mcp-sam-gov (active, first published 2026-04-29 · 4 versions)
packages
npm:@cliwant/mcp-sam-gov

06 · Sam Gov FAQ

Is Sam Gov still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 7 releases in the last 90 days. We re-verify nightly.

What can Sam Gov do?

With this server connected, an agent can extract attachment text (RFP / SOW / Q&A / wage tables) from PDF + DOCX + text/HTML, resolve 'VA' / 'DHS' → canonical toptier name + 4-digit code, and navigate the NAICS tree (2→4→6) + active-contract count per code.

How do I install Sam Gov?

Run `npx -y @cliwant/mcp-sam-gov`. The README documents 5 environment variables (SAM_GOV_API_KEY, DATA_GOV_API_KEY, SAMGOV_SNAPSHOT_BASE_URL…) to set first. Set CENSUS_API_KEY, FRED_API_KEY before connecting. SAM_GOV_API_KEY, DATA_GOV_API_KEY, SAMGOV_SNAPSHOT_BASE_URL are optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Sam Gov run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Sam Gov

More API integration MCP servers · Ksef Pl · API Testing MCP · Shopee · Braintree · Pix Bcb

More JavaScript MCP servers · Procm · Afip · Andreani · Bcra · Colppy · see all