US Government Data
This server lets you search three major US government data sources — building permits, federal contract opportunities, and healthcare providers — using paid Apify actors.
Search Building Permits (
search_building_permits): Query official open-data portals across 9 sources (NYC, Chicago, LA, Austin, SF, New Orleans, Baton Rouge, Montgomery County MD, Norfolk VA). Filter by city, permit type, issue date range (issuedAfter/issuedBefore), minimum valuation, and full-text keyword. Returns permit number, type, work description, status, address, valuation, and contractor details. Costs $0.005/record.Search Federal Contract Opportunities (
search_federal_contract_opportunities): Query SAM.gov for RFPs, solicitations, sources sought, and award notices. Filter by keyword, NAICS codes, notice type, small-business set-asides (8A, WOSB, HUBZone, SDVOSBC), agency, place-of-performance state, and posted/response-due dates. Returns contracting officer names, emails, phone numbers, and full notice descriptions. Costs $0.004/record.Search Healthcare Providers (
search_healthcare_providers): Query the CMS NPPES NPI Registry (8M+ providers). Filter by specialty/taxonomy, state, city, ZIP (wildcard supported, e.g.331*), provider name, organization name, and enumeration type (individual/organization). Returns NPI number, specialty, state license, practice address, phone, fax, and authorized official details. Costs $0.002/record.
General notes:
All data comes from official government sources — no scraping or logins required
Runs on your own Apify account (free plan includes monthly credits)
Supports dry-run mode (
APIFY_DRY_RUN=1) for testing without chargesDefault: 25 records per call (typical calls cost fractions of a cent)
us-govdata-mcp
MCP server for US government data — search building permits, federal contract opportunities (SAM.gov), and the national healthcare provider registry (NPI/NPPES) from Claude, Cursor, or any Model Context Protocol client.
All three data sources are official government publications (city open-data portals, SAM.gov's public extract, the CMS NPPES API) — no HTML scraping, no logins, no fragile selectors. The heavy lifting is done by three production Apify actors that run on your own Apify account.
Try it in 30 seconds — no account, no charge
Before you decide whether this is worth an API token, run it with none:
{
"mcpServers": {
"us-govdata": {
"command": "npx",
"args": ["-y", "github:CBLU2005/us-govdata-mcp"],
"env": { "APIFY_DRY_RUN": "1" }
}
}
}That is the whole setup. In dry-run mode every tool returns realistic sample records plus the exact Apify API request it would have sent — so you can see the real shape of the data, confirm your agent calls the tools correctly, and read the pricing disclosure in each tool description, without creating an account, pasting a token, or spending anything.
Ask your agent something like "find building permits over $500k issued in Austin this
month" and watch the tool call happen end to end. When you want live data, delete the
APIFY_DRY_RUN line and add an APIFY_TOKEN (below).
Related MCP server: PubRecords MCP
Tools
Tool | What it searches | Typical filters | Price* |
| Building permits from 10 official city/county open-data sources (NYC, Chicago, LA, Austin, SF, New Orleans, Baton Rouge, Montgomery Co. MD, Norfolk VA) — permit type, status, valuation, contractor name/license | cities, issued date range, permit type, full-text, min valuation | $0.005 / record |
| Federal RFPs, solicitations, sources-sought and award notices from SAM.gov — with contracting-officer emails and phones | keyword, NAICS, notice type, set-aside (8A, WOSB, HUBZone...), agency, state, dates | $0.004 / record |
| The official CMS NPI registry of 8M+ US providers and healthcare organizations — specialty, license, practice phone/fax, authorized officials | specialty, state, city, ZIP (wildcards), provider/organization name | $0.002 / record |
* Honest pricing disclosure: these tools run paid, pay-per-result Apify actors published by CBLU. Your Apify account is charged only for records actually returned — there are no subscriptions or start fees. Every tool defaults to 25 results per call, so a typical call costs a fraction of a cent (25 permits ≈ $0.13; 25 contract notices ≈ $0.10; 25 providers ≈ $0.05). Apify's free plan includes monthly platform credit, which is enough to use these tools casually at no cost. Actor pages with full pricing details:
Quick start
1. Get an Apify token (free, ~2 minutes)
Sign up at https://console.apify.com/sign-up (free plan works).
Copy your API token from https://console.apify.com/settings/integrations.
The server starts and lists its tools without a token — the token is only needed when a tool is actually called.
2. Add the server to your MCP client
Claude Desktop (claude_desktop_config.json → Settings → Developer → Edit Config):
{
"mcpServers": {
"us-govdata": {
"command": "npx",
"args": ["-y", "github:CBLU2005/us-govdata-mcp"],
"env": {
"APIFY_TOKEN": "your_apify_token_here"
}
}
}
}Claude Code:
claude mcp add us-govdata -e APIFY_TOKEN=your_apify_token_here -- npx -y github:CBLU2005/us-govdata-mcpCursor / Windsurf / other MCP clients (same shape as Claude Desktop):
{
"mcpServers": {
"us-govdata": {
"command": "npx",
"args": ["-y", "github:CBLU2005/us-govdata-mcp"],
"env": { "APIFY_TOKEN": "your_apify_token_here" }
}
}
}From a local clone:
git clone https://github.com/CBLU2005/us-govdata-mcp.git
cd us-govdata-mcp
npm install && npm run build
# then point your client at: node /path/to/us-govdata-mcp/dist/index.jsDocker:
docker build -t us-govdata-mcp .
docker run -i --rm -e APIFY_TOKEN=your_apify_token_here us-govdata-mcp # stdio
docker run --rm -p 3000:3000 -e APIFY_TOKEN=... us-govdata-mcp --http 3000 # Streamable HTTP3. Ask your AI agent things like
"Find building permits for new construction over $500k issued in Austin this month, with contractor names."
"Any active small-business set-aside cybersecurity solicitations with a response deadline after today? Include the contracting officer's email."
"List dentists in the greater Miami area (ZIP 331) with their practice phone numbers."*
Transports
stdio (default) — what desktop MCP clients use:
us-govdata-mcpStreamable HTTP — stateless endpoint at
POST /mcp, health check atGET /healthz:us-govdata-mcp --http 3000(or setMCP_HTTP_PORT=3000)
Environment variables
Variable | Required | Purpose |
| For tool calls | Your Apify API token. Server start & tool listing work without it; tool calls return a setup guide until it is set. |
| No | Set to |
| No | Start in Streamable HTTP mode on this port instead of stdio. |
How it works
Each tool validates its arguments (zod), builds the actor input, and calls the Apify
API's run-sync-get-dataset-items
endpoint with your token via an Authorization: Bearer header (never in the URL).
The actor runs on the Apify platform under your account and the resulting dataset
items are returned directly as the tool result. This server keeps no state and sees
no data beyond passing it through.
Development
npm install
npm test # builds + runs the full smoke suite (introspection, tokenless
# error path, dry-run request construction, HTTP transport)The test suite needs no Apify account and no network — it uses APIFY_DRY_RUN=1.
Related
Apify Store profile with all CBLU actors: https://apify.com/cblu
Model Context Protocol: https://modelcontextprotocol.io
License
MIT © CBLU
Available Tools
3 toolssearch_building_permitsSearch US building permitsA
Search recently issued US building permits from official city open-data portals (New York City, Chicago, Los Angeles, Austin, San Francisco, New Orleans, Baton Rouge, Montgomery County MD, Norfolk VA). Returns normalized permit records: permit number, type, work description, status, issue date, address, project valuation, and contractor name/license where published. Great for construction lead generation and market research. Runs the paid Apify actor https://apify.com/cblu/us-building-permits-scraper on YOUR Apify account (requires APIFY_TOKEN; pay per result: $0.005 per permit record ($5.00 / 1,000), charged only for records actually returned).
Inputs: cities, issuedAfter, searchQuery, issuedBefore, +3 more.
search_federal_contract_opportunitiesSearch federal contract opportunities (SAM.gov)A
Search US federal contract opportunities (RFPs, solicitations, sources sought, award notices) from SAM.gov's official public data extract — including contracting-officer names, emails, and phone numbers. Filter by keyword, NAICS code, notice type, small-business set-aside, agency, place-of-performance state, and dates. Great for GovCon business development. Runs the paid Apify actor https://apify.com/cblu/sam-gov-contract-opportunities-scraper on YOUR Apify account (requires APIFY_TOKEN; pay per result: $0.004 per opportunity ($4.00 / 1,000), charged only for records actually returned).
Inputs: keyword, popStates, setAsides, activeOnly, +8 more.
search_healthcare_providersSearch US healthcare providers (NPI registry)A
Search the official CMS NPPES NPI Registry of all US healthcare providers and organizations. Returns NPI number, provider/organization name, specialty (taxonomy), state license, practice address with phone and fax, and for organizations the authorized official's name/title/phone. Filter by specialty, state, city, ZIP (wildcards like '331*'), or name. Great for healthcare sales lists, provider verification, and directory enrichment. Runs the paid Apify actor https://apify.com/cblu/npi-healthcare-providers-scraper on YOUR Apify account (requires APIFY_TOKEN; pay per result: $0.002 per provider record ($2.00 / 1,000), charged only for records actually returned).
Inputs: city, state, lastName, firstName, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct and clearly separate domain: building permits, federal contract opportunities, and healthcare providers. There is no overlap in functionality or purpose.
All three tools follow the same 'search_<domain>' naming pattern, making them predictable and easy to understand. The convention is consistent throughout.
With only three tools, the set is small but well-scoped for the specific data sources it covers. Each tool serves a clear, valuable purpose without unnecessary bloat.
Despite the server name 'US Government Data' implying broad coverage, it only provides access to three narrow datasets (building permits from select cities, federal contracts, and healthcare providers). Many major government data categories are missing, such as census, federal spending, or regulations.
Related MCP Connectors
Agent-native MCP server over 49M+ US public and government records, privacy-first, always current.
US federal grants search and alerts, as one MCP tool through Apify
117 data tools in one MCP server, run on Apify: Google Shopping, Flights, Hotels, News, Images, Videos, Ads Transparency, Jobs and Trends; YouTube transcripts; AI visibility checks; Google Maps leads; App Store and Google Play reviews. Pay per result. Sign in with Apify (OAuth) or an API token.
Public records as JSON: US permits, grants, OSHA/EPA, recalls, licenses, PACER; EU/UK/AU tenders.
Related MCP Servers
- AlicenseBqualityDmaintenanceTypeScript MCP server for accessing Department of Labor enforcement data, OSHA inspections, and SAM.gov contract opportunities via natural language queries.28MIT
- AlicenseNot gradedqualityCmaintenanceAggregate US business filings, SEC reports, federal court cases, federal spending awards, and professional licenses through a single MCP server.1MIT

whetstone-mcpofficial
AlicenseAqualityDmaintenanceAn MCP server for U.S. public-records data, enabling AI agents to search business registrations, screen names against government watchlists, and pull federal awards.456 npmMIT
Akil MCPofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to query NYC public records through a hosted MCP server, supporting civic workflows such as property research, business evaluation, public money tracking, and influence mapping.18 npmMIT