Skip to main content

MCP server for the Beholder government contracting API

Project description

beholder-mcp

An MCP server for the Beholder government contracting API, built with FastMCP and Python.

Beholder provides richer data and higher rate limits than SAM.gov — including risk indicators, contract vehicles, subaward tracking, and more.

Prerequisites

Setup

git clone https://github.com/rsivilli/beholder-mcp
cd sam-mcp

Create a .env file and set your API key:

BEHOLDER_API_KEY=your_api_key_here

Running the server

stdio (for MCP clients that spawn the process, e.g. Claude Desktop):

uv run beholder-mcp

HTTP (for connecting remotely):

uv run beholder-mcp-http

Claude 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 Search contractors by name, UEI, state, or agency — returns paginated list with obligation totals and review priority scores
get_contractor Get a contractor record by UEI or name — returns full profile with top agencies, PSC codes, vehicle summaries, and risk indicators
resolve_contractor Resolve a company name or UEI to its Beholder UUID and key fields — returns the single best match
get_contractor_profile Full contractor profile in one call: registration details, recent contracts, risk indicators, and contract vehicles
find_competitors Find contractors competing in the same PSC code categories as a given company

Opportunities

Tool Description
search_opportunities Search contract opportunities and award notices by keyword, NAICS code, set-aside, agency, active status, and date filters

Contracts & subawards

Tool Description
search_contracts Search awarded contracts by PIID prefix, recipient, PSC code, fiscal year, obligation range, date range, status, and award type
get_related_contracts Given a contract PIID, find related contracts — parent, siblings, same vehicle, or same awardee
search_subawards 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 install

Run linting and formatting checks:

uv run pre-commit run --all-files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beholder_mcp-1.0.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beholder_mcp-1.0.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file beholder_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: beholder_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for beholder_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d27c24e60d85681dad81fcce1ef63f30aeb00eb05c5800ce0b128fbcab559578
MD5 3c1ed74d25409a664c95704a00cd0c77
BLAKE2b-256 38ccc9875ab3c3995cdc56a33fc7ab6c3aadd17ad8f6e861277d214baabfe256

See more details on using hashes here.

File details

Details for the file beholder_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: beholder_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for beholder_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 234c7f4b162f9892fe8a9d1e2f0082bf24781bdb07448a55f228f90165cc9a94
MD5 1ccc5c2fd946ec9e558fea41e71c0b01
BLAKE2b-256 564db6b3a5ddc2ce5d1a59ed81b0694ea9aaf0c0b52f9264863bcc05efd573d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page