Sponsored by Deepsite.site

SAM.gov MCP

创建者
1102tools3 months ago
MCP server for SAM.gov: entity registration (UEI/CAGE lookups), exclusion and debarment checks, contract opportunities and sources sought, contract awards (FPDS replacement) with PIID lookup and modification history, federal hierarchy normalization, and FFATA subaward reporting. 19 tools.
内容

SAM.gov MCP

A Model Context Protocol server that wraps the SAM.gov REST APIs as deterministic tool calls. Built for federal contracting officers, GS-1102 contract specialists, and small business government contractors who need plain-English access to SAM.gov entity, exclusion, opportunity, and contract award data.

19 tools. Live-tested across 6 audit rounds against production SAM.gov endpoints. MIT licensed.

What it does

Entity Management (UEI, CAGE, registration status)

  • Look up entities by UEI, CAGE code, or DUNS legacy
  • Check registration status, expiration date, and core data section flags
  • Pull business types, NAICS codes, PSC codes
  • Retrieve representations and certifications (FAR/DFARS reps and certs)
  • Get points of contact and physical/mailing addresses
  • Validate entities for award eligibility

Exclusions (debarment and suspension)

  • Check a single UEI or CAGE for active exclusions
  • Search the exclusion list by name, agency, or exclusion type
  • Returns exclusion type (Reciprocal, Procurement, Nonprocurement), CT codes, and termination dates

Contract Opportunities (active solicitations and sources sought)

  • Search active solicitations by NAICS, set-aside type, agency, posting date, and response deadline
  • Filter by Total Small Business, 8(a), SDVOSB, WOSB, EDWOSB, HubZone, or unrestricted
  • Pull sources sought notices, presolicitations, combined synopsis/solicitations, and award notices
  • Retrieve full opportunity descriptions and attachments

Contract Awards (FPDS replacement)

  • Search awards by PIID, vendor UEI, agency, NAICS, PSC, or fiscal year
  • Pull modification history for a contract (mods, options, exercised periods)
  • Get vendor award profiles across all federal agencies
  • Returns ceiling value, obligated amount, contract type, and competition data

Federal Hierarchy (agency normalization)

  • Look up the federal hierarchy by department, sub-agency, or office
  • Normalize CGAC, sub-tier, and office codes
  • Map between FPDS contracting office codes and SAM.gov hierarchy

FFATA Subaward Reporting

  • Search subawards reported under FFATA
  • Pull subaward detail by prime award PIID

Compatibility

Works with any local MCP client:

  • Claude Desktop (one-click .mcpb install or Copy JSON)
  • Codex (ChatGPT) via TOML config or codex mcp add
  • Gemini CLI via ~/.gemini/settings.json
  • Copilot via .vscode/mcp.json in VS Code
  • Claude Code, Cursor, Cline, Zed, Continue, and any other MCP-compatible client that can launch local stdio servers

Install

Requires a free SAM.gov API key from https://sam.gov (rotates every 90 days).

JSON config (Claude Desktop, Gemini CLI, JSON-based clients):

{
  "mcpServers": {
    "sam-gov": {
      "command": "uvx",
      "args": ["--refresh-package", "sam-gov-mcp", "--from", "sam-gov-mcp", "sam-gov-mcp"],
      "env": { "SAM_API_KEY": "your-key-here" }
    }
  }
}
TOML config (Codex):

[mcp_servers.sam-gov]
command = "uvx"
args = ["--refresh-package", "sam-gov-mcp", "--from", "sam-gov-mcp", "sam-gov-mcp"]
[mcp_servers.sam-gov.env]
SAM_API_KEY = "your-key-here"
PyPI: pip install sam-gov-mcp or uvx sam-gov-mcp

Example prompts
"Show me 8(a) and SDVOSB set-aside opportunities posted in the last 30 days under NAICS 541512. Include title, agency, response deadline, and place of performance."
"Look up Leidos in SAM.gov by UEI QVZMH5JLF274. Show me their registration status, CAGE code, physical address, and primary NAICS."
"Pull the 12-month award history for Booz Allen Hamilton. Break down by agency, NAICS, and ceiling vs obligated amounts."
"Find IDIQ vehicles at DoD under NAICS 541512 awarded in the last 24 months so I can see which primes I could team on."
"Check this vendor list for active exclusions before we cut a purchase order."
Hardening
Independently hardened across 6 live audit rounds against production SAM.gov endpoints, plus Hypothesis-driven property tests. Each release ships a testing.md documenting bugs found and fixed. Pydantic models use extra="forbid" to surface API drift instead of silently dropping fields. Defensive response parsing guards against partial outages.

Source
GitHub: https://github.com/1102tools/federal-contracting-mcps/tree/main/servers/sam-gov-mcp
PyPI: https://pypi.org/project/sam-gov-mcp/
Docs and install walkthrough: https://1102tools.com/install
Part of the 1102tools suite: 8 federal contracting MCPs + 6 Claude Skills

服务器配置

{
  "mcpServers": {
    "sam-gov": {
      "command": "uvx",
      "args": [
        "--refresh-package",
        "sam-gov-mcp",
        "--from",
        "sam-gov-mcp",
        "sam-gov-mcp"
      ],
      "env": {
        "SAM_API_KEY": "your-key-here"
      }
    }
  }
}
推荐的 MCP Server
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.