
registryhound
io.github.Baffles78/registryhound
Search U.S. public registries (FMCSA, FAA, SEC, NPI, OSHA, more); x402 pay-per-request.
Documentation
@registryhound/mcp
Official Model Context Protocol server for RegistryHound: search U.S. public government registries, read token-efficient entity dossiers, page through change-detection triggers and resolve one company across every registry.
Registries include FMCSA motor carriers (USDOT), the FAA aircraft registry (N-numbers), SEC EDGAR public companies (CIK / ticker), the CMS NPPES NPI registry, OSHA workplace inspections, USAspending federal awards and EPA ECHO facilities. New registries appear automatically: the tools are generated from the live /openapi.json at start-up.
- Zero runtime dependencies (Node 18+ built-ins only)
- Transports: stdio (default), HTTP + SSE, Streamable HTTP
- API key or keyless x402 pay-per-request (USDC)
Tools
| Tool | What it does | Cost |
|---|---|---|
search_registries | Search every registry (or one) by name or id. Returns market, id, name, city, state, URL; exact id matches first. | Free |
get_entity | One record. format: "markdown" (default) returns a compact dossier: title, canonical URL, official verification link, key fields table, recent change triggers, disclaimer. format: "json" returns structured fields. live: true uses the metered, uncached API. | Free (live: paid) |
get_triggers | Change-detection feed for one registry: new registrations, ownership transfers, status changes, filings, penalties, award changes. Filters: since, until, type, state, limit, cursor. | Paid |
resolve_entity | Link one company across all registries by EIN / UEI / CIK / USDOT / FRN and normalized legal name + state. | Paid (Full API plan) |
Install
Hosted (no install)
Add https://registryhound.com/mcp as a remote MCP server (Streamable HTTP) in any client that supports remote or custom connectors. Free tools need no auth. For paid tools add the header Authorization: Bearer <api key>; without one, paid tools return x402 offers. Claude Code:
claude mcp add --transport http registryhound https://registryhound.com/mcp --header "Authorization: Bearer $REGISTRYHOUND_API_KEY"
Claude Desktop / Claude Code / Cursor (stdio)
{
"mcpServers": {
"registryhound": {
"command": "npx",
"args": ["-y", "@registryhound/mcp"],
"env": { "REGISTRYHOUND_API_KEY": "rh_live_..." }
}
}
}
Claude Code: claude mcp add registryhound -e REGISTRYHOUND_API_KEY=rh_live_... -- npx -y @registryhound/mcp
Leave REGISTRYHOUND_API_KEY out to use only the free tools plus x402 pay-per-request.
HTTP (SSE and Streamable HTTP)
npx -y @registryhound/mcp --sse --port 3333
# GET http://127.0.0.1:3333/sse legacy HTTP+SSE (then POST /messages?sessionId=...)
# POST http://127.0.0.1:3333/mcp Streamable HTTP (JSON responses)
The HTTP transport binds to 127.0.0.1 by default and rejects browser origins other than localhost. Use --host 0.0.0.0 only behind your own auth, and set MCP_HTTP_TOKEN to require Authorization: Bearer <token>.
Configuration
| Variable | Default | |
|---|---|---|
REGISTRYHOUND_API_KEY | (none) | x-api-key for paid tools. Plans: https://registryhound.com/pricing. Never sent to free endpoints. |
REGISTRYHOUND_BASE_URL | https://registryhound.com | Server to query (also --base-url). |
REGISTRYHOUND_OPENAPI_URL | <base>/openapi.json | Spec the tools are generated from. |
REGISTRYHOUND_TIMEOUT_MS | 20000 | Per-request timeout. |
MCP_HTTP_TOKEN | (none) | Bearer token required on the HTTP transport. |
MCP_ALLOWED_ORIGINS | (none) | Extra browser origins allowed on the HTTP transport (comma list). |
npx -y @registryhound/mcp --list-tools prints the generated tool schemas.
Paying per request with x402
Without an API key, get_triggers, resolve_entity and get_entity with live: true return an error result that contains the decoded PAYMENT-REQUIRED offer (x402 v2: network, USDC asset, amount, pay-to address) in both the text and structuredContent.payment_required. An x402-capable wallet signs one offer; call the same tool again with payment_signature set to the base64 PAYMENT-SIGNATURE value (and optionally idempotency_key). The result then ends with the decoded PAYMENT-RESPONSE settlement receipt. A retried signature is served from the receipt cache and never charged twice. Requests that return nothing (404, empty resolve) are not charged.
Use as a library
import { RegistryHoundMcp, loadSettings, runStdio } from '@registryhound/mcp';
const mcp = new RegistryHoundMcp(loadSettings());
const res = await mcp.handle({ jsonrpc: '2.0', id: 1, method: 'tools/call',
params: { name: 'get_entity', arguments: { market: 'sec', id: '0000320193' } } });
Data and compliance
RegistryHound republishes public U.S. government records. It is not a consumer reporting agency: results are not consumer reports under the FCRA and must not be used for credit, insurance, employment, housing or any other FCRA purpose. Records can be out of date; every dossier links the official source for verification. Records whose owners opted out show contact fields as "Withheld".
Operated by Opimus LLC. Docs: https://registryhound.com/docs · Agent docs: https://registryhound.com/llms-full.txt
Development
npm install && npm run build && npm test
License: MIT
@registryhound/mcpnpm install @registryhound/mcp