Other / mcp-sam-gov
mcp-sam-gov
io.github.cliwant/mcp-sam-gov · v1.17.0
Keyless-first MCP: 153 tools for US federal + state/local (SLED) contracting, spending & regulation
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #256 of 1,679 Other servers on Socketlist by score, with 17 GitHub stars and a last code push 20d ago.
Install
npx -y @cliwant/mcp-sam-govAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect mcp-sam-gov to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env SAM_GOV_API_KEY=<sam_gov_api_key> --env CENSUS_API_KEY=<census_api_key> --env FRED_API_KEY=<fred_api_key> --env BEA_API_KEY=<bea_api_key> --env BLS_API_KEY=<bls_api_key> --env DOL_API_KEY=<dol_api_key> --transport stdio mcp-sam-gov -- npx -y @cliwant/mcp-sam-gov.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"mcp-sam-gov": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "${SAM_GOV_API_KEY}",
"CENSUS_API_KEY": "${CENSUS_API_KEY}",
"FRED_API_KEY": "${FRED_API_KEY}",
"BEA_API_KEY": "${BEA_API_KEY}",
"BLS_API_KEY": "${BLS_API_KEY}",
"DOL_API_KEY": "${DOL_API_KEY}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"mcp-sam-gov": {
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "${env:SAM_GOV_API_KEY}",
"CENSUS_API_KEY": "${env:CENSUS_API_KEY}",
"FRED_API_KEY": "${env:FRED_API_KEY}",
"BEA_API_KEY": "${env:BEA_API_KEY}",
"BLS_API_KEY": "${env:BLS_API_KEY}",
"DOL_API_KEY": "${env:DOL_API_KEY}"
}
}
}
} Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
SAM_GOV_API_KEY | No | Yes | Optional. SAM.gov key for higher rate limits + archives older than 12 months. Keyless by default. |
CENSUS_API_KEY | No | Yes | Required only for census_business_patterns (the Census Data API has no keyless tier); every other tool works without it. |
FRED_API_KEY | No | Yes | Required only for fred_search_series and fred_series_observations (FRED has no keyless tier); every other tool works without it. |
BEA_API_KEY | No | Yes | Required only for bea_regional_data (the BEA Data API has no keyless tier); every other tool works without it. |
BLS_API_KEY | No | Yes | Optional free key for BLS labor-statistics tools (raises rate limits). |
DOL_API_KEY | No | Yes | Required only for dol_get_dataset (DOL's data endpoint has no keyless tier; dol_list_datasets works without it). |
DATA_GOV_API_KEY | No | Yes | 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 | No | Yes | Optional free NVD key (raises CVE rate limits). |
OPENFDA_API_KEY | No | Yes | Optional free openFDA key (raises rate limits). |
SOCRATA_APP_TOKEN | No | Yes | Optional Socrata app token (raises rate limits on SLED Socrata hosts). |
COURTLISTENER_API_TOKEN | No | Yes | Optional CourtListener (Free Law Project) token (raises rate limits). |
LDA_API_KEY | No | Yes | Optional Senate LDA lobbying-disclosure key (raises rate limits). |
2 more are listed in the registry entry; see the README for the full set.
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"@cliwant/mcp-sam-gov"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Signals
| GitHub stars | 17 |
| npm weekly downloads | 0 |
| Last push | 20d ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-09-29 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers compare all →
ctxfile
Score 81Local-first MCP server that snapshots your project's working state into one context object.
Horosa Skill
Score 77Local-first offline 术数/占星 (Horosa 星阙): 114 technique tools, all computed on your machine.
Graphiti Local
Score 76Local-first temporal knowledge graph with six read-only MCP tools and human-reviewed writes.
Five MCP servers worth your time, every week
The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.