beholder-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@beholder-mcp find contractors in Texas with high risk indicators"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
beholder-mcp
An MCP server for the Beholder government contracting API, built with FastMCP and Python.
Beholder aggregates and enriches data from SAM.gov and USASpending.gov, providing higher rate limits and richer analysis than either public API — including risk indicators, contract vehicles, competition metrics, and subaward tracking.
Prerequisites
A Beholder API key — get one at api.beholder-gov.com/docs
Related MCP server: EzBiz Government Contracting MCP Server
Setup
git clone https://github.com/rsivilli/beholder-mcp
cd beholder-mcpCreate a .env file and set your API key:
BEHOLDER_API_KEY=your_api_key_hereRunning the server
stdio (for MCP clients that spawn the process, e.g. Claude Desktop):
uv run beholder-mcpHTTP (for connecting remotely):
uv run beholder-mcp-httpClaude Desktop configuration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"beholder": {
"command": "uv",
"args": ["run", "--directory", "/path/to/beholder-mcp", "beholder-mcp"],
"env": {
"BEHOLDER_API_KEY": "your_api_key_here"
}
}
}
}Available tools
Contractors
Tool | Description |
| Search contractors by name, UEI, state, or agency — returns paginated list with obligation totals and review priority scores |
| Get a contractor record by UEI or name — returns full profile with top agencies, PSC codes, vehicle summaries, and risk indicators |
| Resolve a company name or UEI to its Beholder UUID and key fields — returns the single best match |
| Full contractor profile in one call: registration details, recent contracts, risk indicators, and contract vehicles |
| Find contractors competing in the same PSC code categories as a given company |
Opportunities
Tool | Description |
| Search contract opportunities and award notices by keyword, NAICS code, set-aside, agency, active status, and date filters |
Contracts & subawards
Tool | Description |
| Search awarded contracts by PIID prefix, recipient, PSC code, fiscal year, obligation range, date range, status, and award type |
| Given a contract PIID, find related contracts — parent, siblings, same vehicle, or same awardee |
| Get subaward reports filed under a specific prime contract PIID |
Development
Install dev dependencies and set up pre-commit hooks:
uv sync
uv run pre-commit installRun linting and formatting checks:
uv run pre-commit run --all-filesAvailable Tools
14 toolsfind_competitorsB
Find companies competing in the same PSC code categories as the given contractor. Useful for mapping the competitive landscape around a specific contractor.
Inputs: uei (required), page_size. Returns: competitors, contractor_id, psc_codes_used
get_contract_detailA
Get the full detail record for a contract by PIID. Returns all available fields: parent contract, funding agency, period of performance, financial values (obligated, potential, base+options), competition details, and vehicle info.
Inputs: piid (required). Returns: Full detail record from GET /contracts/{id} — richer than ContractListItem.
get_contractorB
Get a contractor record by UEI or name. Returns a ContractorProfile with top agencies, PSC codes, and risk indicators.
Inputs: uei (required). Returns: id, uei, legal_name, sam_status, +17 more
get_contractor_profileB
Full profile of a contractor: registration details, recent contract history, top agencies, PSC codes, vehicle summaries, and risk indicators — in a single call.
Inputs: uei (required). Returns: id, uei, legal_name, sam_status, +17 more
get_contract_portfolio_deck_dataA
Fetch all structured data needed to generate a federal contract portfolio presentation. Returns entity profile, all normalized awards with financials and period of performance, subcontract history, financial rollups by agency/year/type, and headline portfolio metrics. This is the primary tool for slide deck data generation — gets everything in one call.
Inputs: uei (required), include_subcontracts. Returns: Complete structured data payload for generating a federal contract portfolio de…
get_entity_awardsB
Get all contracts for a company as normalized Award objects with structured financials, period of performance, competition details, and agency information. Makes one detail API call per contract — expect several seconds for large portfolios.
Inputs: uei (required), page_size, include_inactive. Returns: result
get_financial_rollupsB
Get obligated value rollups by agency, fiscal year, and award type for a contractor. IDV ceiling-only awards are excluded by default to avoid inflating obligation totals.
Inputs: uei (required), exclude_ceiling_only. Returns: notes, obligated_by_year, obligated_by_agency, obligated_by_award_type, +1 more
get_subcontract_historyA
Get subcontract relationships where the given company appears as the subcontractor. Enriches each subaward with prime contract details: period, agency, vehicle, and prime value.
Inputs: uei (required). Returns: result
resolve_contractorA
Resolve a company name or UEI to its Beholder contractor record and UUID. Returns the single best match, or raises an error if none found.
Inputs: name (required), state. Returns: id, uei, legal_name, address_city, +3 more
search_contractorsC
Search for contractors (vendors/organizations) in the Beholder database.
Inputs: q, page, state, sort_by, +2 more. Returns: page, items, total, page_size
search_contractsB
Search awarded contract records. Use recipient_uei to find all contracts awarded to a specific company. Filter by psc_code, fiscal_year, or date range.
Inputs: q, page, status, date_to, +11 more. Returns: page, items, total, page_size
search_opportunitiesC
Search for contract opportunities (solicitations and award notices).
Inputs: q, cgac, page, active, +10 more. Returns: page, items, total, page_size
search_subawardsB
Get subawards reported under a specific prime contract by PIID.
Inputs: piid (required), page, page_size. Returns: page, items, total, page_size
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Several tool boundaries are fuzzy: get_contractor, resolve_contractor, and get_contractor_profile all resolve the same entity and return overlapping fields (top agencies, PSC codes, risk indicators), and get_entity_awards overlaps with search_contracts(recipient_uei). The composite get_contract_portfolio_deck_data explicitly returns 'everything in one call,' which cannibalizes most other tools. Descriptions do offer hints (resolve returns UUID, profile is the fuller record), but an agent could easily pick the wrong one.
All names are snake_case, verb-first, and domain nouns are used consistently (contract, contractor, subaward). The verb set (get/search/find/resolve) mostly maps meaningfully to intent. Minor weakness: get_contractor vs get_contractor_profile does not signal the functional difference, and get_contract_portfolio_deck_data is a long outlier.
14 tools sits comfortably in the well-scoped 3-15 range for a federal contracting analytics server. A few entries are arguably redundant (three contractor-getter variants plus the deck-data composite), so the count is slightly inflated rather than trimmed.
Coverage is strong for a read-only analytics surface: contractor search/profile, contract search/detail/related, subawards and subcontract history, competitors, financial rollups, and opportunities. Gaps remain — no detail lookup for a solicitation/opportunity, no agency or vehicle entity lookup, and search_subawards requires a prime PIID so subaward discovery is only indirect.
Maintenance
Related MCP Connectors
Federal contract research and approved pursuit workflows. Paid FedFinder account and OAuth required.
MCP access to the U.S. federal procurement graph: contracts, opportunities, entities, and more.
See who wins US federal contracts and grants (USAspending.gov). $0.02/call via x402.
Pay-per-result SAM.gov contracts, SEC EDGAR filings, USAspending awards and GLEIF LEI lookups.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables research of federal contract awards and competitive landscape analysis using the USASpending.gov API. Supports searching for contracts, analyzing recipients, tracking spending trends, and identifying market opportunities in government contracting.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to search federal contracts, analyze agency spending, track competitor wins, and monitor small business set-aside opportunities using SAM.gov, USASpending.gov, and FPDS data.1-
- AlicenseBqualityAmaintenanceEnables searching and filtering federal contract opportunities by keyword, agency, set-aside, NAICS, and more from any MCP client. Analyzes solicitations for small-business fit and risk, and provides reference lookups for NAICS codes, set-asides, and federal thresholds.9MIT
- AlicenseNot gradedqualityBmaintenanceFind federal contract opportunities, research awards and vendors, and review exclusion evidence with linked official sources. Public research is free and needs no account.MIT