Skip to main content
Glama
omardaaboul

US Federal Procurement MCP

by omardaaboul

US Federal Procurement MCP

Federal contracting intelligence for small businesses — as an MCP server. Search contract opportunities, understand set-asides and NAICS codes, and analyze solicitations for small-business fit and risk — from inside Claude, Cursor, or any MCP client.

This fills the biggest gap in US small-business (SBA) contracting: an LLM trained on the public internet cannot know current contract opportunities or reliably recall the set-aside rules, FAR thresholds, and NAICS structure that determine whether a bid is even worth pursuing. This server makes that real and queryable.


Tools (8)

Tool

What it does

search_opportunities

Search federal opportunities by keyword / agency / set-aside / NAICS / state / value / deadline

market_snapshot_tool

Set-aside, sector, agency & value overview + urgent deadlines

analyze_solicitation

0–100 small-business fit score + red-flag scan (bonds, turnover, past-performance)

look_up_naics

Translate a description into NAICS sectors

look_up_set_aside

Explain a set-aside (Small Business, 8(a), HUBZone, WOSB, SDVOSBC…)

federal_thresholds

Micro-purchase, SAT, Miller Act bond, subcontracting-plan thresholds

opportunity_details

Full record + state name for one opportunity

opportunity_type

What a SAM.gov type code means (sources sought, solicitation, J&A…)

Everything is deterministic, typed, and honest about its data source.


Install & run

python3 -m venv .venv
.venv/bin/pip install -e .
.venv/bin/pytest tests/ -q      # 41 tests incl. real MCP stdio integration
.venv/bin/us-gov-mcp            # or: .venv/bin/python -m usgovmcp.server

Connect a client

Claude Desktop / Claude Code / Cursor → see configs/. Set PYTHONPATH to this repo; optionally add a SAM_GOV_API_KEY.


Data

  • Default: a bundled set of clearly-labeled sample opportunities so it works and is tested with no key.

  • Live (SAM.gov): get a free public API key from your SAM.gov account → Account Details → request a public API key. Set SAM_GOV_API_KEY. The provider (SAMGovProvider) already talks to api.sam.gov/opportunities/v2/search and is unit-tested against the real response shape. Live data is never faked — until a key is set, labeled samples are returned.


Layout

us-gov-mcp/
├── usgovmcp/
│   ├── server.py       ← FastMCP server wiring all tools
│   ├── knowledge.py    ← NAICS, set-asides, FAR thresholds, red-flag rules
│   ├── analyzer.py     ← fit scoring + red-flag scan
│   ├── providers.py    ← bundled + SAM.gov live providers
│   ├── models.py       ← typed Opportunity / search params
│   ├── intel.py        ← market-snapshot aggregation
│   └── sample_data.py  ← labeled demo opportunities
├── configs/
├── tests/              ← 41 tests incl. real stdio protocol integration
├── pyproject.toml
└── README.md

MIT licensed. Not legal advice — always read the full solicitation before bidding.

-
license - not tested
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Government contract search and federal procurement data: SAM.gov opportunities + USASpending awards.

  • SAM.gov MCP — Federal contract opportunities and entity registration data

  • Search US grants + federal contracts (Grants.gov + SAM.gov) from any LLM.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omardaaboul/fedproc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server