SAM.gov
Federal contracting data from SAM.gov: opportunities, entities and exclusions
- Pricing
- Open source
- Platforms
- API, CLI, self-hosted
- Runs
- Locally or Remotely
- Version
- 1.0.18
- Listing updated
- 2 days ago
About SAM.gov
SAM.gov is an open-source MCP server for legal and government. It can run locally on your machine or as a hosted remote server.
The server comes from 1102tools, which publishes a set of free federal-contracting MCP servers under the MIT license. It ships in two editions. The hosted edition at sam.1102tools.com needs no key and exposes 6 tools built on the public files SAM.gov releases for download. The local edition, installed from PyPI as sam-gov-mcp, exposes the full 20 tools and calls the live SAM.gov APIs with a free API key that expires every 90 days.
Hosted data is only as fresh as SAM.gov's own files: opportunities and exclusions are published daily and public entity registrations monthly. Each result names the source file and date that was loaded, and during a refresh the affected tool says so and asks you to retry. The local edition adds SBA certifications, reps and certs, integrity records, contract award records, the federal hierarchy and FFATA subawards, within your key's daily limit.
The publisher says every server is tested against its government source and that searches are not logged.
Install
Run in a terminal
claude mcp add --transport http sam-gov-mcp https://sam.1102tools.com/mcpAdd to Settings → Connectors → Add custom connector
https://sam.1102tools.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"sam-gov-mcp": {
"url": "https://sam.1102tools.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"sam-gov-mcp": {
"type": "http",
"url": "https://sam.1102tools.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"sam-gov-mcp": {
"serverUrl": "https://sam.1102tools.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sam-gov-mcp": {
"type": "http",
"url": "https://sam.1102tools.com/mcp"
}
}
}Configuration
SAM_API_KEYFree SAM.gov API key, which expires every 90 days.Required
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
- search_opportunities
- Search notices by keyword, NAICS, PSC, set-aside, notice type, agency, state and dates.
- get_opportunity
- Return the full notice with description, contacts, award details and sam.gov link.
- summarize_opportunities
- Count opportunities by agency, NAICS, set-aside or notice type.
- search_entities
- Look up public registrations by UEI, CAGE, name, NAICS, state or certification code.
- search_exclusions
- Check public exclusions by UEI, CAGE or name.
- get_data_status
- Report source file names, dates, load times and row counts.
What it does
- Keyless hosted edition
- Six tools run on SAM.gov's public downloads with no API key and no account.
- Full local edition
- Twenty tools over live SAM.gov APIs, using a free key that expires every 90 days.
- Opportunity search
- Filter notices by keyword, NAICS, PSC, set-aside, notice type, agency, state and dates.
- Entity lookup
- Find registrations by UEI or CAGE, or search by name, NAICS, state and SBA certification code.
- Exclusion checks
- Check debarment and exclusion records by UEI, CAGE or name.
- Source transparency
- Results come with the source file name and date they were loaded from.
Good for
- Match a capability statement to open contract notices
- Check a teaming partner's registration and exclusion status
- Count notices by agency, NAICS code or set-aside
- Pull award notices and justifications for market research
- Review subawards and the federal hierarchy with a local install
Pricing
Open source
Free and MIT-licensed; hosted edition needs no key, local edition needs a free SAM.gov key
Prices change. Check 1102tools.com before you buy.
SAM.gov FAQ
How many tools does the hosted edition have?
Six: search_opportunities, get_opportunity, summarize_opportunities, search_entities, search_exclusions and get_data_status.
Do I need an API key?
Not for the hosted edition. The local edition needs a free SAM.gov key, which expires every 90 days.
How current is hosted data?
It mirrors SAM.gov's public files: opportunities and exclusions daily, entity registrations monthly.
Which transports are offered?
The registry lists stdio for the PyPI package and streamable HTTP for the hosted endpoint.
Is SAM.gov free?
Yes. SAM.gov is open source, so you can use and self-host it for free.
How do I add SAM.gov to Claude Code?
Run this command in your terminal: claude mcp add --transport http sam-gov-mcp https://sam.1102tools.com/mcp
What are the best alternatives to SAM.gov?
The closest alternatives to SAM.gov are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.
Alternatives to SAM.gov

NY LLC Publication (FileMyPublication)
MCP serverNew York LLC publication rules, deadline, county prices, clerks and notice text
- 8 tools
- Remote
- Free
- Legal and government
TribuJus
MCP serverRead-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking
Not checked yet- 5 tools
- Remote
- Open source
- Legal and government

SupplyClub Catalog
MCP serverRussian statutes, Supreme Court guidance and court practice for AI assistants
- 3 tools
- Remote
- Free
- Legal and government
SynomosAI Governance MCP
MCP serverSelf-assess AI agent governance: A3 scorecard, ISO 42001 evidence and PII scan
Runs locally- 6 tools
- Open source
- Security
MedXpert 标准检索连接器
MCP serverRead-only local index of medical-device standards with official links, no standard text
Runs locally- 4 tools
- Free
- Legal and government

SigPen
MCP serverMCP server that drafts e-signature documents while you approve every send
Not checked yet- 13 tools
- Remote
- Freemium
- Files and documents