Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Sam Gov

by cliwantversion 1.17.0i★ –iRuns on your computer
Registry nameio.github.cliwant/mcp-sam-gov

Install

Overview

Description from the maker (original English)

Keyless-first MCP: 153 tools for US federal + state/local (SLED) contracting, spending & regulation

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Law & government data
  • You need to fill in: SAM_GOV_API_KEY, CENSUS_API_KEY, FRED_API_KEY, BEA_API_KEY, BLS_API_KEY, DOL_API_KEY, DATA_GOV_API_KEY, NVD_API_KEY, OPENFDA_API_KEY, SOCRATA_APP_TOKEN, COURTLISTENER_API_TOKEN, LDA_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: SAM_GOV_API_KEY, CENSUS_API_KEY, FRED_API_KEY, BEA_API_KEY, BLS_API_KEY, DOL_API_KEY, DATA_GOV_API_KEY, NVD_API_KEY, OPENFDA_API_KEY, SOCRATA_APP_TOKEN, COURTLISTENER_API_TOKEN, LDA_API_KEY, EDGAR_USER_AGENT, MCP_SAM_GOV_TOOLSETS

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "sam-gov": {
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "your-value",
        "CENSUS_API_KEY": "your-value",
        "FRED_API_KEY": "your-value",
        "BEA_API_KEY": "your-value",
        "BLS_API_KEY": "your-value",
        "DOL_API_KEY": "your-value",
        "DATA_GOV_API_KEY": "your-value",
        "NVD_API_KEY": "your-value",
        "OPENFDA_API_KEY": "your-value",
        "SOCRATA_APP_TOKEN": "your-value",
        "COURTLISTENER_API_TOKEN": "your-value",
        "LDA_API_KEY": "your-value",
        "EDGAR_USER_AGENT": "your-value",
        "MCP_SAM_GOV_TOOLSETS": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add sam-gov --env SAM_GOV_API_KEY=your-value --env CENSUS_API_KEY=your-value --env FRED_API_KEY=your-value --env BEA_API_KEY=your-value --env BLS_API_KEY=your-value --env DOL_API_KEY=your-value --env DATA_GOV_API_KEY=your-value --env NVD_API_KEY=your-value --env OPENFDA_API_KEY=your-value --env SOCRATA_APP_TOKEN=your-value --env COURTLISTENER_API_TOKEN=your-value --env LDA_API_KEY=your-value --env EDGAR_USER_AGENT=your-value --env MCP_SAM_GOV_TOOLSETS=your-value -- npx -y @cliwant/mcp-sam-gov

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "sam-gov": {
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "your-value",
        "CENSUS_API_KEY": "your-value",
        "FRED_API_KEY": "your-value",
        "BEA_API_KEY": "your-value",
        "BLS_API_KEY": "your-value",
        "DOL_API_KEY": "your-value",
        "DATA_GOV_API_KEY": "your-value",
        "NVD_API_KEY": "your-value",
        "OPENFDA_API_KEY": "your-value",
        "SOCRATA_APP_TOKEN": "your-value",
        "COURTLISTENER_API_TOKEN": "your-value",
        "LDA_API_KEY": "your-value",
        "EDGAR_USER_AGENT": "your-value",
        "MCP_SAM_GOV_TOOLSETS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "sam-gov": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "your-value",
        "CENSUS_API_KEY": "your-value",
        "FRED_API_KEY": "your-value",
        "BEA_API_KEY": "your-value",
        "BLS_API_KEY": "your-value",
        "DOL_API_KEY": "your-value",
        "DATA_GOV_API_KEY": "your-value",
        "NVD_API_KEY": "your-value",
        "OPENFDA_API_KEY": "your-value",
        "SOCRATA_APP_TOKEN": "your-value",
        "COURTLISTENER_API_TOKEN": "your-value",
        "LDA_API_KEY": "your-value",
        "EDGAR_USER_AGENT": "your-value",
        "MCP_SAM_GOV_TOOLSETS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • SAM_GOV_API_KEY secret env
    Optional. SAM.gov key for higher rate limits + archives older than 12 months. Keyless by default.
  • CENSUS_API_KEY secret env
    Required only for census_business_patterns (the Census Data API has no keyless tier); every other tool works without it.
  • FRED_API_KEY secret env
    Required only for fred_search_series and fred_series_observations (FRED has no keyless tier); every other tool works without it.
  • BEA_API_KEY secret env
    Required only for bea_regional_data (the BEA Data API has no keyless tier); every other tool works without it.
  • BLS_API_KEY secret env
    Optional free key for BLS labor-statistics tools (raises rate limits).
  • DOL_API_KEY secret env
    Required only for dol_get_dataset (DOL's data endpoint has no keyless tier; dol_list_datasets works without it).
  • DATA_GOV_API_KEY secret env
    Optional free api.data.gov key; raises DEMO_KEY limits for Regulations.gov, Congress.gov, GovInfo, FAC, the data.gov catalog and GSA per-diem.
  • NVD_API_KEY secret env
    Optional free NVD key (raises CVE rate limits).
  • OPENFDA_API_KEY secret env
    Optional free openFDA key (raises rate limits).
  • SOCRATA_APP_TOKEN secret env
    Optional Socrata app token (raises rate limits on SLED Socrata hosts).
  • COURTLISTENER_API_TOKEN secret env
    Optional CourtListener (Free Law Project) token (raises rate limits).
  • LDA_API_KEY secret env
    Optional Senate LDA lobbying-disclosure key (raises rate limits).
  • EDGAR_USER_AGENT env
    Optional SEC EDGAR User-Agent string (courtesy identification; a sensible default is used otherwise).
  • MCP_SAM_GOV_TOOLSETS env
    Optional. Comma-separated toolset names to load (e.g. core,sled). Blank or 'all' loads all 153 tools.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account cliwant, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Law & government datai

  • More stars than 0% of the other 1745 servers in this category
  • Published to the registry more recently than 45% of the other 1745 servers in this category
  • Basic checks equal to or better than 100% of the other 1745 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Sam Gov safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: SAM_GOV_API_KEY, CENSUS_API_KEY, FRED_API_KEY, BEA_API_KEY, BLS_API_KEY, DOL_API_KEY, DATA_GOV_API_KEY, NVD_API_KEY, OPENFDA_API_KEY, SOCRATA_APP_TOKEN, COURTLISTENER_API_TOKEN, LDA_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.17.0) reached the registry 40 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Korean Government Documents (HWPX), Korea Tax Law, Private Law Wiki

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Korean Government Documents (HWPX)

Turns a draft into a Korean government report or press release as HWPX in each ministry's format

by UpstageAIVery new↓ 103/wkUpdated today

Runs on your computer

Korea Tax Law

Korea tax law: NTS rulings, court/tribunal decisions, basic rules, treaties, point-in-time statutes

by UpstageAIEarly↓ 1.5K/wkUpdated today

Runs on your computer

Private Law Wiki

Sourced answers, search and bank-case assessment for wiki.private.law by the Mothership runtime.

by privatelawattorneysVery newUpdated today

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@cliwant/mcp-sam-gov

$4 trillion of public federal data, one `npm install` away.

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

Independent project — not affiliated with, endorsed by, or sponsored by SAM.gov, the U.S. General Services Administration (GSA), or any government agency.

English · 한국어 · 日本語


See it in action

👤  user        Find active SAM.gov solicitations under NAICS 541512 closing this month

🤖 Claude → sam_search_opportunities { ncode: "541512", limit: 5 } ✓ 47,478 active opportunities indexed

• 5ef3db5d… VA Bulk Oxygen Tank Rental closes 2026-05-15 ($1.05M) • a000339c… Articulating Boom Lifts closes 2026-05-30 ($310K) • be9c24ef… CMOP Hazardous Waste Removal closes 2026-06-12 ($2.7M)

👤 user Pull the SOW + contracting officer for the first one

🤖 Claude → sam_get_opportunity { noticeId: "5ef3db5d…" } ✓ Department of Veterans Affairs · Combined Synopsis/Solicitation POC: Contracting Officer +1-XXX-XXX-XXXX Set-aside: Total Small Business Attachments: 1 ↓ 36C24526Q0460_1.docx (172 KB) SOW preview: "RFQ# 36C24526Q0460 — Bulk Oxygen Tank Rental, Fill, Telemetry…"

No API key, registration or signup for 148 of the 153 tools. Just plug it in and ask.


Why this exists

Status quoWith this MCP
GovWin: $30K-$100K/yr per seatFree, MIT license
API key registration → wait 24h → quota tier shoppingnpm install → working in 60s
5+ separate vendor APIs / scrapers1 unified surface, 153 tools across 54 sources
LLMs hallucinate NAICS codes / agency namesAnti-hallucination autocomplete guards built-in
Brittle scraping breaks weeklyDaily live smoke test (badge above)
Procurement officer → IT ticket → 3-week waitClaude Desktop double-click install

The federal data this wraps is public domain. There is no good reason it should cost a five-figure subscription to query.


What this gives Claude (and other AI agents)

DomainWhat you can askSources
🔍 Opportunities & solicitations"Find SAM.gov solicitations under NAICS 541512 closing this month" — read the SOW, POCs, attachmentsSAM.gov, Grants.gov
💰 Spending, awards & competition"Show me Booz Allen wins at VA last fiscal year; top 10 PSC categories at DoD"USAspending, FPDS, GAO
🕵️ Entity & partner vetting"Screen this firm: OFAC sanctions, SAM exclusions, single-audit findings, bank health, EPA compliance + toxics-release"OFAC, SAM, FAC, FDIC, EPA ECHO, EPA Envirofacts
🛒 Product safety & recalls"Any FDA/NHTSA/CPSC recalls or enforcement against this supplier's products?"openFDA, NHTSA, CPSC
⚖️ Litigation & courts"Any Court of Federal Claims bid protests or Federal Circuit opinions involving this contractor?"CourtListener (Free Law Project)
🏢 Nonprofit vendors"Pull this nonprofit's IRS-990 financials before we subcontract to it"IRS 990 (via ProPublica)
🏥 Healthcare providers & facilities"Medicare utilization & payments for this provider; hospital quality ratings; is this provider on the revocation list?"CMS (data.cms.gov)
📈 Financial disclosure (SEC)"Pull this public company's revenue trend and latest 10-K filings"SEC EDGAR
⚖️ Regulatory & legislative"What VA cybersecurity rules were published this quarter? Any open Regulations.gov dockets?"Federal Register, Regulations.gov, eCFR, FAR/DFARS, Congress.gov, GovInfo
💲 Pricing, labor & fiscal"GSA CALC labor-rate band for a systems analyst; SCA wage determination for this county; CPI escalation; per-diem cap for a trip; regional GDP by industry; DOL wage-hour enforcement history"GSA CALC, SAM WDs, BLS, US Census CBP, FRED, BEA, US Treasury, GSA per-diem, US DOL
🏛 Lobbying & influence"Who lobbies the VA on cybersecurity, and how much do they spend?"US Senate LDA
🏥 Health & research funding"NIH/NSF grants on this topic; recruiting clinical trials; industry payments to this physician"NIH RePORTER, NSF, ClinicalTrials.gov, CMS Open Payments, NPPES
🛡 Cyber compliance"Is this CVE on the CISA KEV must-patch list?"NVD, CISA KEV
🌐 Trade, geo & disaster"HTS tariff for this product; Census tract for this address; FEMA declarations in this state"USITC HTS, US Census, FEMA, Socrata, CKAN
🏙 State/local procurement bids (SLED)"What's open on this city's/county's procurement portal right now? Their checkbook, awarded contracts, vendor payments; state DOT bid/award registers"OpenGov Procurement (525+ govs), Bonfire, ArcGIS (feature + Hub), Socrata (54 hosts), one Tableau Server Guest view (Montana), one Socrata Open Expenditures checkbook (South Dakota)
🎓 Grants & datasets"Cybersecurity grants posted in the last 30 days; discover federal open datasets"Grants.gov, data.gov

153 tools across 54 data sources — keyless-first: only 4 sources (Census business-patterns, FRED, BEA, and DOL's data endpoint) need a free key; the other 50 need none. (An earlier 52-tool build measured roughly p50 ~0.25s / p95 ~0.8s against production federal APIs; latency varies by source and upstream load — treat it as fast, not a benchmarked guarantee.)


How do I install it? Pick the path that matches you.

🟢 Path 1 — Claude Desktop, one-click (no terminal needed)

Best for non-developers. Just download a file and double-click.

  1. Download `mcp-sam-gov.mcpb` from the latest release.
  2. Double-click the file. Claude Desktop opens with an "Install Extension" dialog.
  3. Click Install.
  4. Done. Start a new conversation and ask "Find active SAM.gov opportunities under NAICS 541512".

That's it. No PowerShell, no npm, nothing.

Requires Claude Desktop ≥ 1.0 (which ships its own Node.js runtime).

🟡 Path 2 — Claude Code, one command

If you already use Claude Code (the CLI):

/plugin install cliwant/mcp-sam-gov

This installs the MCP server plus a SKILL.md workflow guide that teaches Claude when + how to use each of the 153 tools.

🔵 Path 3 — Manual install for any MCP host (Codex, Cursor, Continue, Gemini)

For Codex CLI / Cursor / Continue / Gemini CLI / anything that speaks MCP:

gh repo clone cliwant/mcp-sam-gov

cd mcp-sam-gov npm install --omit=dev npm install -g .

After install, the binary mcp-sam-gov is on your PATH. Add this to your host config:

{

"mcpServers": { "sam-gov": { "command": "mcp-sam-gov" } } }

Specific config locations per host: see Host configurations below.

No global install? Every host config below also has an npx variant (npx -y @cliwant/mcp-sam-gov) that skips the clone and npm install -g. It only needs Node.js.

⚪ Path 4 — Direct path (zero install, just point at the file)

Skip installation entirely:

gh repo clone cliwant/mcp-sam-gov

cd mcp-sam-gov npm install --omit=dev # only runtime deps; dist/ is pre-built

Then point your host config at the absolute path:

{

"mcpServers": { "sam-gov": { "command": "node", "args": ["C:\\Users\\you\\mcp-sam-gov\\dist\\server.js"] } } }


Host configurations

Each host below shows two variants. Use one of them:

  • Global install: "command": "mcp-sam-gov". This works only after npm install -g (Path 3) has put the mcp-sam-gov binary on your PATH.
  • No global install (npx): "command": "npx", "args": ["-y", "@cliwant/mcp-sam-gov"]. This needs only Node.js. npx downloads the package from npm on first run and caches it.

Package name: the npm package is scoped: `@cliwant/mcp-sam-gov`. mcp-sam-gov is only the name of the binary that a global install puts on your PATH. No unscoped mcp-sam-gov package exists on npm, so npx -y mcp-sam-gov fails with a 404. Use npx -y @cliwant/mcp-sam-gov.

Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

Global install:

{

"mcpServers": { "sam-gov": { "command": "mcp-sam-gov" } } }

No global install (npx):

{

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

On Windows, if the server fails to start with spawn npx ENOENT in %APPDATA%\Claude\logs\mcp*.log, wrap npx in cmd /c:

{

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

(Or skip this entirely — use Path 1's .mcpb and it auto-configures.)

Restart Claude Desktop fully (system tray quit on Windows / Quit menu on macOS), then look for the 🔨 icon. You should see "sam-gov (153 tools)".

Claude Code

Per-project .mcp.json, global install:

{ "mcpServers": { "sam-gov": { "command": "mcp-sam-gov" } } }

No global install (npx):

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

Or with the CLI:

# global install

claude mcp add sam-gov mcp-sam-gov

no global install (npx)

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

Codex CLI

~/.codex/config.toml:

Global install:

[mcp_servers.sam-gov]

command = "mcp-sam-gov" args = []

No global install (npx):

[mcp_servers.sam-gov]

command = "npx" args = ["-y", "@cliwant/mcp-sam-gov"]

Cursor

Settings → MCP → Add new MCP server. Global install:

{ "mcpServers": { "sam-gov": { "command": "mcp-sam-gov" } } }

No global install (npx):

{ "mcpServers": { "sam-gov"

Only the beginning is shown; read the rest in the repo

Ask PopNx