13 Jul 2026CMMC Phase II suspended: no C3PAO assessments can be designated. DFARS 7012 and Rev 2 still apply.What changed, and what did not →

The Federal Market MCP Server

Give your AI assistant the federal market: live SAM.gov contract opportunities, contractor registrations, and USASpending award data. Free - the SAM.gov tools run on your own free SAM.gov API key; the USASpending tools need no key at all.

Connect · federal-market

Connect it to your assistant

  • Claude Code

    claude mcp add --transport http federal-market https://www.mactechsolutionsllc.com/api/mcp/market --header "X-Sam-Api-Key: YOUR_FREE_SAM_GOV_KEY"
  • Claude

    https://www.mactechsolutionsllc.com/api/mcp/market

    Desktop or web: Settings → Connectors → Add custom connector, then paste the URL.

  • Cursor

    Add to Cursor

    Opens Cursor’s own install prompt.

  • VS Code

    Install in VS Code

    Opens VS Code’s own install prompt.

  • Any other client

    { "mcpServers": { "federal-market": { "url": "https://www.mactechsolutionsllc.com/api/mcp/market", "headers": { "X-Sam-Api-Key": "YOUR_FREE_SAM_GOV_KEY" } } } }

Cursor, VS Code and the Claude connector install it without a key, so the USASpending tools answer at once. The two SAM.gov tools need your own free key: add it as the X-Sam-Api-Key header, or give it to the assistant as sam_api_key. Get one at sam.gov: open your profile (Account Details) and request a public API key (see the SAM.gov API docs). There is no shared key: without yours, search_opportunities and lookup_entity return an error explaining how to add one.

Watch it answer first

$ claude mcp add --transport http federal-market https://www.mactechsolutionsllc.com/api/mcp/market
✓ Added HTTP MCP server federal-market · 7 tools

$ claude "Who took the most federal obligations in NAICS 541512 in FY2025?"
· spending_by_category(category: "recipient", naics_codes: ["541512"], start_date: "2024-10-01", end_date: "2025-09-30")
Top recipients · NAICS 541512 · FY2025 · source: USAspending.gov
  $2.52B  ACCENTURE FEDERAL SERVICES LLC
  $2.06B  GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC.
  $1.83B  BOOZ ALLEN HAMILTON INC
  $1.56B  SCIENCE APPLICATIONS INTERNATIONAL CORPORATION
  $1.49B  LEIDOS, INC.
✓ keyless - the USASpending tools need no API key and have no daily budget

What this proves: These are obligations recorded in the government’s own award system, not an estimate: the same figures tell you who the incumbent is, how big the work really is, and whether a set-aside is the only way in.

Talk to us about a capture plan →

What it can do

search_opportunities

Live SAM.gov opportunities - solicitations, sources sought, RFIs, award notices - by keyword, NAICS, set-aside (SDVOSB, 8(a), HUBZone, WOSB, SB), notice type, agency, and date range.

“Find active SDVOSB set-aside solicitations for cybersecurity services.”

lookup_entity

SAM.gov registration for any contractor by UEI or name: status, CAGE code, address, business types. Vet a teaming partner or check a competitor.

“Is this UEI registered and what set-aside statuses do they hold?”

search_awards + get_award

USASpending contract awards - who won what, from which agency, for how much, with full per-award detail.

“Who holds recent DISA contracts in NAICS 541512?”

spending_by_category

Market sizing in one call: aggregate federal spend by NAICS, PSC, recipient, or awarding agency over any period.

“Top 10 contractors by obligations in NAICS 541512 last year.”

find_agency + find_naics

Resolve fuzzy names to the exact agency names and NAICS codes the other tools expect.

“What NAICS covers penetration testing?”

Frequently asked questions

What is the MacTech federal-market MCP server?

A free Model Context Protocol server that gives AI assistants live federal-market data: SAM.gov contract opportunity search (solicitations, sources sought, RFIs, award notices), SAM.gov entity registrations (UEI/CAGE lookup, business types, registration status), and USAspending.gov award data (who won what, from which agency, for how much - plus spending rollups by NAICS, PSC, recipient, or agency).

Do I need a SAM.gov API key?

For the two SAM.gov tools (search_opportunities, lookup_entity), yes: they run only on your own free SAM.gov API key. There is no shared server key, so a call without one returns an error that explains how to get a key and pass it. To get one, sign in (or register) at sam.gov, open your profile (Account Details), and request a public API key; the SAM.gov API documentation is at open.gsa.gov. Pass it once as the X-Sam-Api-Key header in your MCP client config, or per call as the sam_api_key argument. The five USASpending tools need no key.

What data does each tool return?

search_opportunities: title, solicitation number, notice type, deadlines, NAICS, set-aside, agency, and a link for each opportunity. lookup_entity: registration status, CAGE, address, and business types (public sections only). search_awards/get_award: award amounts, recipients, agencies, periods of performance. spending_by_category: aggregate spend by NAICS, PSC, recipient, or agency. find_agency/find_naics resolve names to the exact codes the other tools expect.

Is anything I send stored?

No payloads are stored and SAM.gov responses are not cached. We keep daily aggregate counts only - connections, tool names, client application names. No raw IPs, no user agents, and caller-supplied API keys are never logged or cached.

Also from MacTech: the CMMC / NIST 800-171 MCP server - control lookup, 800-171A assessment objectives, and exact SPRS scoring. MacTech Solutions is an SDVOSB; see how we use this data ourselves or talk to us.