The Federal Market MCP Server
Give your AI assistant the federal market: live SAM.gov contract opportunities, contractor registrations, and USASpending award data. Free — bring your own free SAM.gov key for unlimited opportunity search, or use the shared budget.
Connect it
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" # optional but recommendedClaude (web and desktop)
Settings → Connectors → Add custom connector → paste https://www.mactechsolutionsllc.com/api/mcp/market
Any MCP client (JSON config)
{
"mcpServers": {
"federal-market": {
"url": "https://www.mactechsolutionsllc.com/api/mcp/market",
"headers": { "X-Sam-Api-Key": "YOUR_FREE_SAM_GOV_KEY" }
}
}
}A SAM.gov API key is free: sam.gov → Account Details → API Key. Without one, the SAM tools share a limited daily budget; the USASpending tools are always unlimited.
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).
What does "bring your own key" mean for the SAM.gov tools?
SAM.gov rate-limits API keys per day, so the two SAM-backed tools (search_opportunities, lookup_entity) are BYOK-first: pass your own free SAM.gov API key — either once as an X-Sam-Api-Key header on the MCP connection, or per-call as the sam_api_key argument — and you spend your own quota with no shared limits. Without a key you use a limited shared daily budget with per-client allowances and cached responses. Keys are free: sam.gov → Account Details → API Key. The five USASpending tools need no key and have no budget.
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. Shared-budget SAM responses are cached briefly (hours) so popular queries do not burn quota; 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.