SAM.gov MCP

by 1102tools

452 downloads Not rated yet

About

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.

Explore

- 19 tools covering entity, exclusion, opportunity, and award data
- Entity lookup by UEI, CAGE, or DUNS with registration status
- Exclusion checks by UEI/CAGE and search by name/agency/type
- Contract opportunity search with set-aside and NAICS filters
- Award search by PIID, vendor UEI, agency, NAICS, or fiscal year
- Federal hierarchy lookup and FFATA subaward reporting

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name SAM.gov MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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

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

```json
{
"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

keyword_search

Search GSA CALC+ ceiling rates by keyword. Performs wildcard matching across labor_category, vendor_name, and idv_piid fields. This is the primary search tool for finding rates. Returns matching rate records plus aggregation statistics (wage_stats, percentiles, education breakdown, business size) covering the FULL result set even when individual hits are capped at 10,000. Important notes: - These are NTE (not-to-exceed) ceiling rates, not prices paid - Rates are fully burdened hourly rates from GSA MAS contracts - Data refreshes nightly from vendor price proposal tables - Use P50 from percentiles for median (more accurate than median_price) Filter parameters: - education_level: AA, BA, HS, MA, PHD, TEC (pipe-delimited for OR: 'BA|MA') - experience_min/max: years of experience range - price_min/max: hourly rate range in USD - business_size: 'S' (small) or 'O' (other/large) - security_clearance: 'yes' or 'no' - sin: Special Item Number (e.g., '54151S' for IT Professional Services) - worksite: 'Customer', 'Contractor', or 'Both' ordering: current_price, labor_category, vendor_name, education_level, min_years_experience. sort: 'asc' or 'desc'. exclude: pipe-delimited hit _id values to exclude from results and stats.

exact_search

Exact match search on a specific field. Use suggest_contains() first to discover the exact field value, then pass it here. The API requires exact string matching -- partial matches return 0 results. Fields: labor_category, vendor_name, idv_piid (GSA MAS contract number).

suggest_contains

Discover exact field values via autocomplete/contains matching. Returns aggregation buckets showing matching values and their record counts. Use this BEFORE exact_search() to find the right value string. Minimum 2 characters required for the search term. Example workflow: 1. suggest_contains('vendor_name', 'booz') -> finds 'Booz Allen Hamilton Inc.' 2. exact_search('vendor_name', 'Booz Allen Hamilton Inc.') -> all their rates

filtered_browse

Browse rates with filters only (no search keyword). Useful for market segment statistics: "what do all BA-level rates with 5-15 years experience look like across all of GSA MAS?" Returns rate records plus full aggregation statistics.

igce_benchmark

Get ceiling rate benchmarks for IGCE development. Returns statistical summary for a labor category: count, min, max, avg, median, standard deviation, percentile distribution (P10-P90), education breakdown, and outlier bounds. This is the primary tool for building Independent Government Cost Estimates. The returned statistics represent the market distribution of GSA MAS ceiling rates for comparable labor categories. Reminder: these are ceiling rates (max a contractor can charge), not prices paid. Actual task order rates should be lower per FAR 8.405-2(d).

price_reasonableness_check

Evaluate a proposed hourly rate against GSA ceiling rate distribution. Returns the benchmark statistics plus a positioning analysis: z-score, comparison to median, IQR position, and delta from average. Use this for FAR 15.404-1 price analysis: is the proposed rate within the expected range for comparable labor categories on GSA MAS? A rate above P75 may be high; above P90 warrants scrutiny. A rate below P25 may indicate an unrealistically low offer (potential performance risk).

vendor_rate_card

Get all ceiling rates for a specific vendor. Auto-discovers the exact vendor name via suggest-contains, then pulls all their rate records. Returns labor categories, rates, education levels, experience requirements, SINs, and contract numbers. Pass a partial name (e.g., 'booz' for Booz Allen Hamilton). The tool finds the exact registered name automatically. If the discovery term matches multiple vendors, this tool picks the one with the most rate records and returns a _candidates list so the caller can re-query with a more specific term if needed.

sin_analysis

Get rate distribution and statistics for a specific SIN. Returns rate statistics, education breakdown, business size breakdown, and sample records for a GSA MAS Special Item Number. Common SINs for professional services: - 54151S: IT Professional Services - 541611: Management and Financial Consulting - 541715: Engineering R&D - 541330ENG: Engineering Services - 541512: Computer Systems Design - 611430: Training

- keyword_search: Search GSA CALC+ ceiling rates by keyword.

Performs wildcard matching across labor_category, vendor_name, and
idv_piid fields. This is the primary search tool for finding rates.

Returns matching rate records plus aggregation statistics (wage_stats,
percentiles, education breakdown, business size) covering the FULL
result set even when individual hits are capped at 10,000.

Important notes:
- These are NTE (not-to-exceed) ceiling rates, not prices paid
- Rates are fully burdened hourly rates from GSA MAS contracts
- Data refreshes nightly from vendor price proposal tables
- Use P50 from percentiles for median (more accurate than median_price)

Filter parameters:
- education_level: AA, BA, HS, MA, PHD, TEC (pipe-delimited for OR: 'BA|MA')
- experience_min/max: years of experience range
- price_min/max: hourly rate range in USD
- business_size: 'S' (small) or 'O' (other/large)
- security_clearance: 'yes' or 'no'
- sin: Special Item Number (e.g., '54151S' for IT Professional Services)
- worksite: 'Customer', 'Contractor', or 'Both'

ordering: current_price, labor_category, vendor_name, education_level,
min_years_experience. sort: 'asc' or 'desc'.

exclude: pipe-delimited hit _id values to exclude from results and stats.

- exact_search: Exact match search on a specific field.

Use suggest_contains() first to discover the exact field value, then
pass it here. The API requires exact string matching -- partial matches
return 0 results.

Fields: labor_category, vendor_name, idv_piid (GSA MAS contract number).

- suggest_contains: Discover exact field values via autocomplete/contains matching.

Returns aggregation buckets showing matching values and their record
counts. Use this BEFORE exact_search() to find the right value string.

Minimum 2 characters required for the search term.

Example workflow:
1. suggest_contains('vendor_name', 'booz') -> finds 'Booz Allen Hamilton Inc.'
2. exact_search('vendor_name', 'Booz Allen Hamilton Inc.') -> all their rates

- filtered_browse: Browse rates with filters only (no search keyword).

Useful for market segment statistics: "what do all BA-level rates with
5-15 years experience look like across all of GSA MAS?" Returns rate
records plus full aggregation statistics.

- igce_benchmark: Get ceiling rate benchmarks for IGCE development.

Returns statistical summary for a labor category: count, min, max, avg,
median, standard deviation, percentile distribution (P10-P90), education
breakdown, and outlier bounds.

This is the primary tool for building Independent Government Cost
Estimates. The returned statistics represent the market distribution
of GSA MAS ceiling rates for comparable labor categories.

Reminder: these are ceiling rates (max a contractor can charge), not
prices paid. Actual task order rates should be lower per FAR 8.405-2(d).

- price_reasonableness_check: Evaluate a proposed hourly rate against GSA ceiling rate distribution.

Returns the benchmark statistics plus a positioning analysis: z-score,
comparison to median, IQR position, and delta from average.

Use this for FAR 15.404-1 price analysis: is the proposed rate within
the expected range for comparable labor categories on GSA MAS?

A rate above P75 may be high; above P90 warrants scrutiny. A rate below
P25 may indicate an unrealistically low offer (potential performance risk).

- vendor_rate_card: Get all ceiling rates for a specific vendor.

Auto-discovers the exact vendor name via suggest-contains, then pulls
all their rate records. Returns labor categories, rates, education
levels, experience requirements, SINs, and contract numbers.

Pass a partial name (e.g., 'booz' for Booz Allen Hamilton). The tool
finds the exact registered name automatically.

If the discovery term matches multiple vendors, this tool picks the one
with the most rate records and returns a _candidates list so the caller
can re-query with a more specific term if needed.

- sin_analysis: Get rate distribution and statistics for a specific SIN.

Returns rate statistics, education breakdown, business size breakdown,
and sample records for a GSA MAS Special Item Number.

Common SINs for professional services:
- 54151S: IT Professional Services
- 541611: Management and Financial Consulting
- 541715: Engineering R&D
- 541330ENG: Engineering Services
- 541512: Computer Systems Design
- 611430: Training

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sam.gov mcp": {
            "sam-gov": {
                "command": "uvx",
                "args": [
                    "--refresh-package",
                    "sam-gov-mcp",
                    "--from",
                    "sam-gov-mcp",
                    "sam-gov-mcp"
                ],
                "env": {
                    "SAM_API_KEY": "your-key-here"
                }
            }
        }
    }
}

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"
        }
    }
}
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.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.