Skip to main content
Glama
omardaaboul

US Federal Procurement MCP

by omardaaboul

US Federal Procurement MCP

面向小型企业的联邦采购情报 —— 作为一个 MCP 服务器。在 Claude、Cursor 或任何 MCP 客户端中,搜索合同机会、理解预留和 NAICS 代码,并分析招标书对小型企业的适配度和风险。

这填补了美国小型企业(SBA)承包领域最大的空白:一个基于公共互联网训练的 LLM 无法知道当前的合同机会,也无法可靠地记住决定投标是否值得投入的预留规则、FAR 门槛和 NAICS 结构。这个服务器让这些变得真实且可查询。


工具(8)

工具

功能

search_opportunities

按关键词 / 机构 / 预留 / NAICS / 州 / 金额 / 截止日期搜索联邦机会

market_snapshot_tool

预留、行业、机构和金额概览 + 紧急截止日期

analyze_solicitation

0–100 分小型企业适配度评分 + 红旗扫描(保证金、营业额、过往业绩)

look_up_naics

将描述转换为 NAICS 行业

look_up_set_aside

解释预留(小型企业、8(a)、HUBZone、WOSB、SDVOSBC…)

federal_thresholds

微型采购、SAT、Miller Act 保证金、分包计划门槛

opportunity_details

单个机会的完整记录 + 州名

opportunity_type

SAM.gov 类型代码的含义(来源寻求、招标书、J&A…)

一切都是确定性的、类型化的,并且如实说明数据来源


安装与运行

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

连接客户端

Claude Desktop / Claude Code / Cursor → 参见 configs/。将 PYTHONPATH 设置为该仓库;可选添加 SAM_GOV_API_KEY


数据

  • 默认: 一组明确标注的示例机会,无需密钥即可运行和测试。

  • 实时(SAM.gov): 从你的 SAM.gov 账户获取免费公共 API 密钥Account Details → request a public API key。设置 SAM_GOV_API_KEY。提供者(SAMGovProvider)已经对接 api.sam.gov/opportunities/v2/search,并已针对真实响应结构进行了单元测试。实时数据从不伪造——在设置密钥之前,返回的是标注的示例。


布局

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 许可。不构成法律建议——投标前请务必阅读完整的招标书。

-
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