SAM.gov & US Government Contracting
MCP server by Cliwant
Search US federal and state/local contracting data, awards, grants, regulations and vendor-vetting records from public government sources.
Install SAM.gov & US Government Contracting
Runs on your machine. Your client starts it with this command:
Needs Node.js on your computer. The setup steps below show where the command goes in each client.
SAM_GOV_API_KEYsecret optional Optional. SAM.gov key for higher rate limits + archives older than 12 months. Keyless by default.CENSUS_API_KEYsecret optional Required only for census_business_patterns (the Census Data API has no keyless tier); every other tool works without it.FRED_API_KEYsecret optional Required only for fred_search_series and fred_series_observations (FRED has no keyless tier); every other tool works without it.BEA_API_KEYsecret optional Required only for bea_regional_data (the BEA Data API has no keyless tier); every other tool works without it.BLS_API_KEYsecret optional Optional free key for BLS labor-statistics tools (raises rate limits).DOL_API_KEYsecret optional Required only for dol_get_dataset (DOL's data endpoint has no keyless tier; dol_list_datasets works without it).
Share this server
Opens this page, with the install command and setup steps.
mcp.tc/i/sam-gov-us-government-contractingAbout
Wraps public US government data sources for contracting work: SAM.gov solicitations, Grants.gov, OpenGov and Bonfire bids, USAspending and FPDS awards, plus regulation sources such as the Federal Register, eCFR and FAR/DFARS. It also covers partner vetting through OFAC sanctions, SAM exclusions, FAC audits, FDIC financials, EPA ECHO, product recalls and CourtListener litigation. The registry lists 153 tools; 26 are shown here.
Runs locally over stdio with npx (@cliwant/mcp-sam-gov) or as a Claude Desktop extension bundle. Most tools need no API key. A few optional or required keys (SAM.gov, Census, FRED, BEA, DOL) are set as environment variables. Independent project, not affiliated with SAM.gov or the GSA.
What you can do
- Search SAM.gov solicitations and read notice details, contacts and attachments
- Find federal grants and state/local bids on OpenGov and Bonfire
- Analyze federal awards, subawards, expiring contracts and spending over time
- Screen entities against OFAC sanctions and SAM exclusions
- Check FDIC, single-audit, EPA and recall records for vendor vetting
- Search court opinions and dockets on bid protests and False Claims Act matters
- Look up FAR clauses, Federal Register documents, eCFR and NIST 800-53 controls
Tools 26
sam_search_opportunitiesSearch SAM.gov federal solicitations without an API key.
sam_get_opportunityFull detail for a SAM.gov notice: SOW, contacts, attachments.
grants_searchSearch Grants.gov federal grant opportunities.
opengov_search_solicitationsSearch state and local bids on OpenGov Procurement.
bonfire_search_opportunitiesSearch state and local open bids on Bonfire.
usas_search_individual_awardsLine-item federal contract awards by recipient, amount and state.
usas_search_awards_by_recipientA recipient's win history for an agency and NAICS slice.
usas_search_expiring_contractsFind contracts expiring soon for recompete tracking.
usas_spending_over_timeFederal spending time series by year, quarter or month.
usas_search_subawardsSubcontracts on prime awards to map the supply chain.
fpds_search_awardsSearch FPDS federal procurement award records.
ofac_screen_entityScreen an entity against OFAC SDN and consolidated sanctions lists.
Show 14 more tools
sam_check_exclusionsScreen against SAM.gov exclusions (debarment).
fdic_institution_financialsFDIC bank financials and health for partner vetting.
fac_search_auditsSearch federal single-audit findings from the FAC.
echo_search_facilitiesEPA ECHO environmental compliance and enforcement records.
openfda_enforcementFDA recalls and enforcement actions against a supplier's products.
nhtsa_recallsNHTSA vehicle and equipment recalls.
cpsc_recallsCPSC consumer-product recalls.
courtlistener_search_opinionsSearch federal court opinions and bid protests on CourtListener.
courtlistener_search_docketsSearch RECAP dockets for False Claims Act and qui tam matters.
fed_register_search_documentsSearch Federal Register rules and notices.
ecfr_searchFull-text search of the CFR, including Title 48 (FAR).
far_clause_lookupLook up FAR and DFARS clause text.
nist_800_53_controlsNIST SP 800-53 security and privacy controls for FedRAMP and CMMC.
usas_autocomplete_naicsAutocomplete NAICS codes to avoid invented codes.
From the package’s own manifest, not a live connection, on 4 Oct 2026.
Example prompts
Find active SAM.gov solicitations under NAICS 541512 closing this month
Show contracts expiring soon at the VA in NAICS 541512
Screen this company for OFAC sanctions and SAM exclusions
Look up the FAR clause for subcontracting plans
Set up
Every client starts SAM.gov & US Government Contracting on your machine with the same command. Pick yours; the page remembers your choice.
Claude Code
- Run this in a terminal, in your project folder:
claude mcp add --transport stdio sam-gov-us-government-contracting --env "SAM_GOV_API_KEY=<YOUR_SAM_GOV_API_KEY>" --env "CENSUS_API_KEY=<YOUR_CENSUS_API_KEY>" --env "FRED_API_KEY=<YOUR_FRED_API_KEY>" --env "BEA_API_KEY=<YOUR_BEA_API_KEY>" --env "BLS_API_KEY=<YOUR_BLS_API_KEY>" --env "DOL_API_KEY=<YOUR_DOL_API_KEY>" --env "DATA_GOV_API_KEY=<YOUR_DATA_GOV_API_KEY>" --env "NVD_API_KEY=<YOUR_NVD_API_KEY>" -- npx -y @cliwant/mcp-sam-gov- Start Claude Code and type
/mcp. sam-gov-us-government-contracting should show as connected.
Add --scope user to make it available in every project. Replace the placeholders with your own values.
Claude Desktop
- Open Settings → Developer → Edit Config. It opens
claude_desktop_config.json. Add:
{
"mcpServers": {
"sam-gov-us-government-contracting": {
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "<YOUR_SAM_GOV_API_KEY>",
"CENSUS_API_KEY": "<YOUR_CENSUS_API_KEY>",
"FRED_API_KEY": "<YOUR_FRED_API_KEY>",
"BEA_API_KEY": "<YOUR_BEA_API_KEY>",
"BLS_API_KEY": "<YOUR_BLS_API_KEY>",
"DOL_API_KEY": "<YOUR_DOL_API_KEY>",
"DATA_GOV_API_KEY": "<YOUR_DATA_GOV_API_KEY>",
"NVD_API_KEY": "<YOUR_NVD_API_KEY>"
}
}
}
}- Save the file and restart Claude Desktop. Replace the placeholders with your own values.
Needs Node.js on your computer. The file lives in ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows.
Cursor
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"sam-gov-us-government-contracting": {
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "<YOUR_SAM_GOV_API_KEY>",
"CENSUS_API_KEY": "<YOUR_CENSUS_API_KEY>",
"FRED_API_KEY": "<YOUR_FRED_API_KEY>",
"BEA_API_KEY": "<YOUR_BEA_API_KEY>",
"BLS_API_KEY": "<YOUR_BLS_API_KEY>",
"DOL_API_KEY": "<YOUR_DOL_API_KEY>",
"DATA_GOV_API_KEY": "<YOUR_DATA_GOV_API_KEY>",
"NVD_API_KEY": "<YOUR_NVD_API_KEY>"
}
}
}
}Needs Node.js on your computer. Replace the placeholders with your own values.
VS Code
Add it to .vscode/mcp.json. VS Code asks for the secret the first time and stores it securely:
{
"servers": {
"sam-gov-us-government-contracting": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "${input:sam-gov-api-key}",
"CENSUS_API_KEY": "${input:census-api-key}",
"FRED_API_KEY": "${input:fred-api-key}",
"BEA_API_KEY": "${input:bea-api-key}",
"BLS_API_KEY": "${input:bls-api-key}",
"DOL_API_KEY": "${input:dol-api-key}",
"DATA_GOV_API_KEY": "${input:data-gov-api-key}",
"NVD_API_KEY": "${input:nvd-api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sam-gov-api-key",
"description": "SAM_GOV_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "census-api-key",
"description": "CENSUS_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "fred-api-key",
"description": "FRED_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "bea-api-key",
"description": "BEA_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "bls-api-key",
"description": "BLS_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "dol-api-key",
"description": "DOL_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "data-gov-api-key",
"description": "DATA_GOV_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "nvd-api-key",
"description": "NVD_API_KEY",
"password": true
}
]
}Needs Node.js on your computer.
Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"sam-gov-us-government-contracting": {
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "<YOUR_SAM_GOV_API_KEY>",
"CENSUS_API_KEY": "<YOUR_CENSUS_API_KEY>",
"FRED_API_KEY": "<YOUR_FRED_API_KEY>",
"BEA_API_KEY": "<YOUR_BEA_API_KEY>",
"BLS_API_KEY": "<YOUR_BLS_API_KEY>",
"DOL_API_KEY": "<YOUR_DOL_API_KEY>",
"DATA_GOV_API_KEY": "<YOUR_DATA_GOV_API_KEY>",
"NVD_API_KEY": "<YOUR_NVD_API_KEY>"
}
}
}
}- Refresh the MCP server list in Cascade. Replace the placeholders with your own values.
Devin Desktop is the new name for Windsurf.
Codex
codex mcp add sam-gov-us-government-contracting --env "SAM_GOV_API_KEY=<YOUR_SAM_GOV_API_KEY>" --env "CENSUS_API_KEY=<YOUR_CENSUS_API_KEY>" --env "FRED_API_KEY=<YOUR_FRED_API_KEY>" --env "BEA_API_KEY=<YOUR_BEA_API_KEY>" --env "BLS_API_KEY=<YOUR_BLS_API_KEY>" --env "DOL_API_KEY=<YOUR_DOL_API_KEY>" --env "DATA_GOV_API_KEY=<YOUR_DATA_GOV_API_KEY>" --env "NVD_API_KEY=<YOUR_NVD_API_KEY>" -- npx -y @cliwant/mcp-sam-govOr edit ~/.codex/config.toml directly:
[mcp_servers.sam-gov-us-government-contracting]
command = "npx"
args = ["-y", "@cliwant/mcp-sam-gov"]
env = { SAM_GOV_API_KEY = "<YOUR_SAM_GOV_API_KEY>", CENSUS_API_KEY = "<YOUR_CENSUS_API_KEY>", FRED_API_KEY = "<YOUR_FRED_API_KEY>", BEA_API_KEY = "<YOUR_BEA_API_KEY>", BLS_API_KEY = "<YOUR_BLS_API_KEY>", DOL_API_KEY = "<YOUR_DOL_API_KEY>", DATA_GOV_API_KEY = "<YOUR_DATA_GOV_API_KEY>", NVD_API_KEY = "<YOUR_NVD_API_KEY>" }Needs Node.js on your computer. Replace the placeholders with your own values.
Gemini CLI
gemini mcp add -e "SAM_GOV_API_KEY=<YOUR_SAM_GOV_API_KEY>" -e "CENSUS_API_KEY=<YOUR_CENSUS_API_KEY>" -e "FRED_API_KEY=<YOUR_FRED_API_KEY>" -e "BEA_API_KEY=<YOUR_BEA_API_KEY>" -e "BLS_API_KEY=<YOUR_BLS_API_KEY>" -e "DOL_API_KEY=<YOUR_DOL_API_KEY>" -e "DATA_GOV_API_KEY=<YOUR_DATA_GOV_API_KEY>" -e "NVD_API_KEY=<YOUR_NVD_API_KEY>" sam-gov-us-government-contracting npx -- -y @cliwant/mcp-sam-govThis adds it to the current project. Add -s user to use it everywhere.
Any client
Most clients that start local servers accept this shape:
{
"mcpServers": {
"sam-gov-us-government-contracting": {
"command": "npx",
"args": [
"-y",
"@cliwant/mcp-sam-gov"
],
"env": {
"SAM_GOV_API_KEY": "<YOUR_SAM_GOV_API_KEY>",
"CENSUS_API_KEY": "<YOUR_CENSUS_API_KEY>",
"FRED_API_KEY": "<YOUR_FRED_API_KEY>",
"BEA_API_KEY": "<YOUR_BEA_API_KEY>",
"BLS_API_KEY": "<YOUR_BLS_API_KEY>",
"DOL_API_KEY": "<YOUR_DOL_API_KEY>",
"DATA_GOV_API_KEY": "<YOUR_DATA_GOV_API_KEY>",
"NVD_API_KEY": "<YOUR_NVD_API_KEY>"
}
}
}
}Zed puts servers under context_servers in its settings, with the same command, args and env fields.
Needs Node.js on your computer. Replace the placeholders with your own values.
Embed
Show SAM.gov & US Government Contracting in a README or on your site. Each embed links to this page, uses the server’s own install command, and sets no cookies. How embeds work
The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.
README badge
[](https://mcp.tc/i/sam-gov-us-government-contracting)<a href="https://mcp.tc/i/sam-gov-us-government-contracting"><img src="https://mcp.tc/i/sam-gov-us-government-contracting/badge.svg" alt="SAM.gov & US Government Contracting on mcp.tc" height="20"></a>It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.
Website card
<script src="https://mcp.tc/w/sam-gov-us-government-contracting.js" async></script>The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.
iframe
<iframe src="https://mcp.tc/embed/sam-gov-us-government-contracting" title="SAM.gov & US Government Contracting on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.
JSON
The listing as data for your own pages and tools: name, tagline, install command, tools and the “Add to” links. Any site can read it (CORS is open).
https://mcp.tc/i/sam-gov-us-government-contracting.jsonAI prompt
Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the SAM.gov & US Government Contracting card to your site.
Add the mcp.tc card for SAM.gov & US Government Contracting, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.
Put this tag where the card should appear. The card renders right before it:
```html
<script src="https://mcp.tc/w/sam-gov-us-government-contracting.js" async></script>
```
To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.
```html
<div data-mcptc="sam-gov-us-government-contracting"><a href="https://mcp.tc/i/sam-gov-us-government-contracting">SAM.gov & US Government Contracting on mcp.tc</a></div>
```
Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.
If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).
For a README or other Markdown docs, use the badge instead:
```markdown
[](https://mcp.tc/i/sam-gov-us-government-contracting)
```
Reference: https://mcp.tc/embedChange history
We read the tool list in this server’s bundle manifest on GitHub every 3 hours and record what changes. Last read 18 Nov 2026, 05:29 UTC.
Follow SAM.gov & US Government Contracting and we’ll email you when something changes.
FAQ
Can I paste mcp.tc/i/sam-gov-us-government-contracting into my MCP client?
No. SAM.gov & US Government Contracting runs on your own computer, started by your client, so it has no web address to connect to. The quick link is the page to share; the install command is npx -y @cliwant/mcp-sam-gov.
Does SAM.gov & US Government Contracting need an API key?
Yes. It reads SAM_GOV_API_KEY, CENSUS_API_KEY, FRED_API_KEY, BEA_API_KEY, BLS_API_KEY, DOL_API_KEY, DATA_GOV_API_KEY and NVD_API_KEY from its environment, and SAM_GOV_API_KEY, CENSUS_API_KEY, FRED_API_KEY, BEA_API_KEY, BLS_API_KEY, DOL_API_KEY, DATA_GOV_API_KEY and NVD_API_KEY are secrets. Put the values in your client’s config on your own machine, never in a shared file.
Is SAM.gov & US Government Contracting a remote or a local server?
Local. Your client starts it as a process on your computer with npx -y @cliwant/mcp-sam-gov, which needs Node.js.
What can SAM.gov & US Government Contracting do?
It has 26 tools, including sam_search_opportunities, sam_get_opportunity and grants_search. You can search SAM.gov solicitations and read notice details, contacts and attachments, find federal grants and state/local bids on OpenGov and Bonfire and analyze federal awards, subawards, expiring contracts and spending over time.
Which clients can use it?
Any client that starts local servers: Claude Code, Claude Desktop, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. claude.ai and ChatGPT only connect to remote servers.
Does mcp.tc track changes to SAM.gov & US Government Contracting?
Yes. We follow the tool list in SAM.gov & US Government Contracting’s bundle manifest, and its History tab shows each change we find, plus new versions and edits by its owner. Follow the listing to get an email when it changes.
Who wrote this page?
mcp.tc’s robot read SAM.gov & US Government Contracting’s public metadata (its package and repository pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.
mcp.tc isn’t affiliated with Cliwant. This page was built from SAM.gov & US Government Contracting’s public metadata, last checked on 4 Oct 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.