Skip to content
MCP server
RegistryRemote

pubrecords MCP Server

US public-records intelligence for AI agents — companies, SEC, courts, spending, licenses.

pubrecords scores 62 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 18 tools. Filed under AI and memory, Finance. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by bch1212MITPython1 stars
Trust score
62Good
Trust score 62 of 100, Good

Good trust

62 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 62 comes from

22 + 15 + 1 + 10 + 4 + 10 = 62. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "bch1212-mcp-pubrecords": {      "url": "https://mcp-pubrecords-production.up.railway.app/mcp/"    }  }}

Environment variables

This server does not declare environment variables.

Tools18Tool docs quality grade D

All capabilities

About

Halverson IQ Data

status mcp price

One paid MCP server for US public records, federal grants, and federal contracts. Companies, SEC filings, court dockets, spending awards, licenses, Grants.gov opportunities, and SAM.gov contract notices share a single API key and a single bill.


What this server includes

This repository is the combined Halverson IQ Data server.

SourceTools
OpenCorporates, SEC EDGAR, CourtListener, USASpending, NPPES, FCCPublic-records tools (companies, filings, courts, spending, licenses, entity verification)
Grants.govGrant search, details, agency rollup, deadline radar
SAM.govContract search, notice details, award notices

Not part of this server: business-intel and outdoor datasets (separate or retired), and web-page fetching (a different pipeline with its own fetchers and cache).

One customer key is checked on every tool. Free tier is 30 calls/day across the whole server. Pro is unlimited on the same key. Upgrade: https://mcpize.com/pubrecords-mcp


Pricing

TierPriceLimit
Free$030 calls/day
Pro$29/moUnlimited
Metered$0.03/callPay-as-you-go

Keys are issued per user. Ask the operator for a key, or have them mint one with POST /admin/keys. Examples below use the placeholder YOUR_API_KEY.


Tool reference

Public records

ToolArgsReturns
search_companiesname, state?, status?, limit?OpenCorporates entities
get_company_detailscompany_id, jurisdictionOfficers, registered agent, filings
search_sec_filingscompany_name, form_type?, date_from?, limit?EDGAR filing list
get_sec_filingaccession_numberFiling metadata + index URL
search_court_casesparty_name, court?, date_from?, limit?RECAP federal dockets
lookup_federal_spendingrecipient_name, agency?, year?, limit?USASpending awards
lookup_npiname?, specialty?, state?, limit?NPPES providers
get_ucc_filingsdebtor_name, stateUCC liens (roadmap — see Data Gaps)
verify_entityname, state?Cross-source 0–100 confidence score
search_licensesentity_name, license_type?, state?NPI + FCC license union

Grants and federal contracts

ToolArgsReturns
search_grantskeyword?, agency?, amount_min?, amount_max?, status?, limit?Grants.gov opportunities
get_grant_detailsopportunity_idFull Grants.gov record
search_contractskeyword?, naics_code?, agency?, set_aside?, limit?SAM.gov solicitations
get_contract_detailsnotice_idOne SAM.gov notice
search_awardsrecipient_name?, agency?, year?SAM.gov award notices
get_agenciestype? (grants, contracts, or both)Agencies with open opportunities
get_deadlinesdays_ahead?Grants closing inside the window
match_opportunitiesorg_description, org_type?, focus_areas?, limit?Top grants + contracts for an org profile

focus_areas on the REST route is a comma-separated string. The MCP tool accepts a list.

Contract tools call SAM.gov only when SAM_API_KEY is set. If it is missing they return {"success": false, "error": "SAM_API_KEY is not configured"} and do not send a request.


Install in Claude

claude mcp add --transport http halverson-iq-data https://mcp-pubrecords-production.up.railway.app/mcp/

Note the trailing slash on /mcp/. Without it the gateway issues a 307 that drops the POST body, breaking the JSON-RPC handshake.

Then set the API key in your client:

X-API-Key: YOUR_API_KEY

Python SDK

A thin Python wrapper for non-MCP integrations lives in pubrecords-sdk/:

pip install pubrecords
from pubrecords import PubRecords

client = PubRecords(api_key="YOUR_API_KEY")
print(client.health())
print(client.search_companies(name="Apple", state="CA"))
print(client.search_grants(keyword="broadband"))

REST surface

Every MCP tool is also available over plain HTTP. Send the same X-API-Key on each call.

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://mcp-pubrecords-production.up.railway.app/tools/search_companies?name=Apple&state=CA"

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://mcp-pubrecords-production.up.railway.app/tools/search_grants?keyword=broadband"

Production URL: https://mcp-pubrecords-production.up.railway.app

GET  /health                          (no auth)
GET  /usage                           (X-API-Key)
GET  /tools/<tool_name>?...           (X-API-Key)
POST /admin/keys                      (X-Admin-Token; fails closed)
POST /billing/upgrade                 (X-Admin-Token; fails closed)
POST /mcp/                            (MCP streamable-http transport)

GET /usage returns the remaining daily quota for that key. GET /health is unauthenticated.

Issuing a customer key

POST /admin/keys and POST /billing/upgrade return 403 unless PUBRECORDS_ADMIN_TOKEN is set and the X-Admin-Token header matches it. There is no default admin token.

curl -X POST https://mcp-pubrecords-production.up.railway.app/admin/keys \
  -H "X-Admin-Token: $PUBRECORDS_ADMIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key":"YOUR_API_KEY","tier":"free"}'

Promote that same key to the paid tier (this is the single billing switch):

curl -X POST https://mcp-pubrecords-production.up.railway.app/billing/upgrade \
  -H "X-Admin-Token: $PUBRECORDS_ADMIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key":"YOUR_API_KEY"}'

Local development

git clone https://github.com/bch1212/mcp-pubrecords.git
cd mcp-pubrecords
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
uvicorn server:app --reload --port 8000

Run tests:

pytest -v

Environment variables (see .env.example):

VariableRequiredPurpose
PUBRECORDS_ADMIN_TOKENYes, to issue or upgrade keysAdmin secret. Missing or blank fails closed (403).
SAM_API_KEYYes, for contract toolsYour SAM.gov key. Never commit a real value.
PUBRECORDS_SEC_USER_AGENTProductionIdentifying User-Agent for SEC EDGAR.
OPENCORPORATES_TOKENNoRaises the OpenCorporates anonymous cap.
COURTLISTENER_TOKENNoRaises the CourtListener anonymous cap.
PUBRECORDS_CACHE_TTLNoCache TTL in seconds (default 86400).
PUBRECORDS_DB_PATHNoSQLite file for cache and API keys.
PORTNoListen port. Railway sets this.

Data freshness

Responses are cached for 24 hours by default.

SourceRefresh cadence
OpenCorporatesDaily / weekly (varies by jurisdiction)
SEC EDGARFilings appear minutes after submission
USASpending.govMonthly, with fiscal-year backfills
CourtListener (RECAP)Daily, depending on uploads
NPPES NPIWeekly
FCC License-ViewDaily
Grants.govPosted opportunities, as the agency updates them
SAM.govContract notices, as contracting offices post them

For fresher queries, set PUBRECORDS_CACHE_TTL=300 (5 minutes). That multiplies upstream traffic.


Data gaps and source limits

The server returns a structured error envelope instead of invented rows when a query is outside coverage.

  1. UCC filings — there is no uniform federal UCC API. get_ucc_filings returns {"error": "not_implemented"} until per-state adapters land.
  2. State professional licenses — healthcare (NPI) and FCC are covered. Bar, real estate, contractor, and CPA licenses are state-by-state.
  3. OpenCorporates rate limits — anonymous traffic is capped. Set OPENCORPORATES_TOKEN for production.
  4. SEC EDGAR full-text — broad terms return wide sets. Combine with form_type.
  5. CourtListener — federal PACER/RECAP. State courts are not guaranteed.
  6. SAM.gov — contract tools do nothing until SAM_API_KEY is set in the environment. Apply at https://sam.gov. The key is not embedded in this repo.
  7. SAM award history — search_awards reads Award Notice rows from the opportunities API. Deeper recipient rollups stay on lookup_federal_spending (USASpending).
  8. Match scores — match_opportunities is deterministic token overlap on title and agency. It does not call a model.
  9. No consumer PII — entity-level public records only.

License and compliance

This server proxies and caches public records that are already free to access from federal and public sources. Cached payloads are kept for 24 hours and can be flushed by deleting the SQLite file. Customer API keys and the admin token belong in the environment and the SQLite key store. Do not commit them.

Frequently asked questions

What is pubrecords MCP Server?

US public-records intelligence for AI agents — companies, SEC, courts, spending, licenses.

How do I install pubrecords MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pubrecords MCP Server connects to the remote endpoint https://mcp-pubrecords-production.up.railway.app/mcp/, so there is nothing to install locally.

Is pubrecords MCP Server free and open source?

Yes. pubrecords MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does pubrecords MCP Server support remote (HTTP) connections?

Yes. pubrecords MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does pubrecords MCP Server provide?

pubrecords MCP Server provides 18 tools, including get_agencies, get_company_details, get_contract_details, and get_deadlines. See the full tool list for descriptions and parameters.

How is pubrecords MCP Server's trust score calculated?

pubrecords MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server