Python client for the PubRecords MCP — US public-records intelligence for AI agents.
Project description
pubrecords
Python client for the PubRecords MCP — public-records intelligence for AI agents (US business filings, SEC EDGAR, federal courts, federal spending, healthcare/FCC licenses).
For agentic use, install the MCP directly into Claude:
claude mcp add --transport http pubrecords-mcp https://mcp-pubrecords-production.up.railway.app/mcp/
(Note the trailing slash on /mcp/.)
This Python SDK is for non-MCP code that wants the same data shape over plain HTTP.
Install
pip install pubrecords
Quickstart
from pubrecords import PubRecords
with PubRecords(api_key="pubrecords-dev-key-001") as client:
print(client.health())
print(client.search_companies(name="Apple", state="CA"))
print(client.verify_entity(name="Boeing"))
Async variant:
import asyncio
from pubrecords import PubRecordsAsync
async def main():
async with PubRecordsAsync() as client:
print(await client.search_sec_filings("Apple", form_type="10-K"))
asyncio.run(main())
Tools
| Method | Description |
|---|---|
search_companies(name, state, status, limit) |
OpenCorporates entity search |
get_company_details(company_id, jurisdiction) |
Officers, agent, filings |
search_sec_filings(company_name, form_type, date_from, limit) |
SEC EDGAR full-text |
get_sec_filing(accession_number) |
Filing metadata + index URL |
search_court_cases(party_name, court, date_from, limit) |
RECAP federal dockets |
lookup_federal_spending(recipient_name, agency, year, limit) |
USASpending awards |
lookup_npi(name, specialty, state, limit) |
NPPES providers |
get_ucc_filings(debtor_name, state) |
UCC liens (roadmap) |
verify_entity(name, state) |
Cross-source confidence score |
search_licenses(entity_name, license_type, state) |
NPI + FCC license union |
Pricing
- Free: 30 calls/day with the seeded dev key (
pubrecords-dev-key-001). - Pro: $29/mo unlimited at https://mcpize.com/pubrecords-mcp.
- Metered: $0.03/call.
Repo
https://github.com/bch1212/mcp-pubrecords
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pubrecords-0.1.0.tar.gz.
File metadata
- Download URL: pubrecords-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f17e1d41cece0896fe9802ea3ee11e7edb50dab92d637a7ff63501858400bb03
|
|
| MD5 |
eefc4e3bb8fb2e6e8405498f52da67e4
|
|
| BLAKE2b-256 |
54c1a4bc2f7c74b0b74139235d7937b11e4d410abbbda7b40374cd7d8ac6cc24
|
File details
Details for the file pubrecords-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pubrecords-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a2be8568c966ee949cc95129c37e42f0440a429fa0e4f90f7c978fbf424196c
|
|
| MD5 |
f2347cca6be432930745f3816d85208e
|
|
| BLAKE2b-256 |
51ba998dca3e442f09c41c65ea72dcc7d8aba0d2f8dc287863bd68978d5d28d8
|