Skip to main content
MCP server CX Codex

SAM.gov — Claude Code MCP server: what it does, how to install

Accesses US federal contracting data through SAM.gov. Provides 20 tools to inspect entities, active opportunities, awards, and exclusions.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http sam-gov-mcp https://sam.1102tools.com/mcp
Open on GitHub

What SAM.gov does

This server connects AI assistants to federal procurement records through 20 specialized tools. It handles checks for entity registrations and vendor exclusions.

The toolset also retrieves procurement opportunities, awarded contracts, and subawards. Running the package locally via uvx requires setting the SAM_API_KEY environment variable. Alternatively, you can point your client directly to the hosted HTTP endpoint.

What it helps with

  • Look up registered entities in the SAM.gov database
  • Verify vendor status against federal exclusion lists
  • Retrieve active contracting opportunities and award notices
  • Inspect federal agency hierarchy and subaward records

Example prompts for the agent

  • Check if an entity is currently listed in federal exclusions
  • Search for active contract opportunities in SAM.gov
  • Retrieve details on recent federal awards and subawards

How to install SAM.gov

1Platform CLI: remote server

claude mcp add --transport http sam-gov-mcp https://sam.1102tools.com/mcp

2Platform CLI

claude mcp add --env SAM_API_KEY=<SAM_API_KEY> --transport stdio sam-gov-mcp -- uvx sam-gov-mcp

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from sam-gov-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about SAM.gov

How to install SAM.gov in Claude Code?

Run claude mcp add --transport http sam-gov-mcp https://sam.1102tools.com/mcp to configure the HTTP connection.

What does the SAM.gov MCP server do?

It gives your agent 20 tools to query federal contracting records. It covers readiness, entities, exclusions, awards, opportunities, hierarchy, and subawards.

Does the server require an API key?

The stdio setup using uvx requires passing SAM_API_KEY. The HTTP endpoint connects directly via https://sam.1102tools.com/mcp.

Similar MCP servers

All MCP servers for Finance and business →

From the same set9

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor