gov-data-mcp 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -7
- package/package.json +2 -2
- package/src/catalog.json +7253 -126
- package/src/index.js +3 -3
- package/src/tools.js +101 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# gov-data-mcp
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**123 US government open-data tools, as one MCP server.**
|
|
4
4
|
|
|
5
5
|
EPA, FEMA, USGS, NOAA, FAA, USACE, FDIC, HUD, NRCS, HRSA, CMS, county assessor rolls and state licensing boards — all reachable as agent-callable tools, all reading directly from official government APIs and bulk files. No scraping, no HTML parsing, no rate-limit roulette.
|
|
6
6
|
|
|
@@ -49,13 +49,13 @@ Claude Desktop reads `claude_desktop_config.json`; Claude Code reads `.mcp.json`
|
|
|
49
49
|
| `parcel-owner-lookup` | Assessor-roll owner of record for an address |
|
|
50
50
|
| `license-verifier` | 19 professional licensing boards across 9 states + OIG exclusions |
|
|
51
51
|
|
|
52
|
-
**Plus three tools that reach the other
|
|
52
|
+
**Plus three tools that reach the other 111:**
|
|
53
53
|
|
|
54
54
|
- `search-gov-data-tools` — find a tool by keyword, agency or topic
|
|
55
55
|
- `describe-gov-data-tool` — full input schema for any tool in the catalog
|
|
56
56
|
- `run-gov-data-tool` — run any tool in the catalog
|
|
57
57
|
|
|
58
|
-
The catalog is bundled, so discovery costs nothing. Ask your agent *"what government data tools do you have for flood risk?"* and it will search all
|
|
58
|
+
The catalog is bundled, so discovery costs nothing. Ask your agent *"what government data tools do you have for flood risk?"* and it will search all 123.
|
|
59
59
|
|
|
60
60
|
<!-- PRESETS:START -->
|
|
61
61
|
## Vertical presets
|
|
@@ -169,7 +169,27 @@ npx awal x402 pay 'https://agi.apify.com/protocols/x402/prepaid-tokens?amount=5&
|
|
|
169
169
|
# → returns a bearer token; export it as APIFY_TOKEN and start this server as usual
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
The prepaid balance is an absolute spending cap and expires after 14 days. Every tool here charges
|
|
172
|
+
The prepaid balance is an absolute spending cap and expires after 14 days. Every tool here charges per result or per generated report. None pass platform usage through, none require full permissions, and none run in Standby mode, which are the three things that make an Actor ineligible. Prices are in the catalog (`usdPerUnit` and `priceUnit` on every search hit, plus `usdPer1000Results` for per-row tools), so an agent can see the cost before spending.
|
|
173
|
+
|
|
174
|
+
## Calling the tools well (guide for agents)
|
|
175
|
+
|
|
176
|
+
The most common way to waste a call is to guess the input: no state, no coordinates, a misspelled field. These tools then refuse the question, or match nothing, and the caller still pays a fractional actor-start fee. The server helps an agent avoid that in four ways:
|
|
177
|
+
|
|
178
|
+
1. **An agent guide in the handshake.** The MCP `initialize` response carries `instructions`. They cover the search → describe → run workflow, scoping every call, real codes and ISO dates, starting small, and how to read failures, zero rows and `null`.
|
|
179
|
+
2. **Verified example inputs.** `describe-gov-data-tool` (free) returns:
|
|
180
|
+
- `must_supply`: the fields you have to provide.
|
|
181
|
+
- `example_input`: the actor's prefill, which Apify's own QA runs every few days and which returns rows.
|
|
182
|
+
- Up to two `examples`: inputs from the actor's published, run-verified demo tasks, each with a human title.
|
|
183
|
+
|
|
184
|
+
Start from one of them and change only the values you need.
|
|
185
|
+
3. **A free local check before any metered run.** A missing required field, an input name the tool doesn't have, or a value outside a closed vocabulary is reported with `run_status: NOT_RUN_INPUT_INVALID` and the example to copy. Nothing runs and nothing is charged.
|
|
186
|
+
4. **A next step on every unhelpful result.** A failed run returns the actor's own reason in `note`, plus `next_step`, `must_supply` and `example_input`. A zero-row success says to check spelling, state code, radius and date window before concluding that nothing exists.
|
|
187
|
+
|
|
188
|
+
Example of a well-scoped first call:
|
|
189
|
+
|
|
190
|
+
```json
|
|
191
|
+
{"tool": "medicaid-exclusion-screener", "input": {"mode": "screen", "targets": [{"npi": "1972902351"}, {"name": "Jane Doe", "dob": "1970-01-01"}]}}
|
|
192
|
+
```
|
|
173
193
|
|
|
174
194
|
## On honest answers
|
|
175
195
|
|
|
@@ -187,13 +207,13 @@ The underlying actors carry the same discipline: per-source status on every row,
|
|
|
187
207
|
<!-- COVERAGE:START -->
|
|
188
208
|
## Coverage
|
|
189
209
|
|
|
190
|
-
**
|
|
210
|
+
**123 tools**, every one reading an official US government API or bulk file. The MCP server exposes 15 of them directly — twelve named tools plus `search-gov-data-tools`, `describe-gov-data-tool` and `run-gov-data-tool`, which reach the rest — because agents choose badly when handed more than about twenty tools.
|
|
191
211
|
|
|
192
212
|
Each entry links to its full input/output schema, pricing and worked examples.
|
|
193
213
|
|
|
194
|
-
**Contamination & environmental due diligence** (
|
|
214
|
+
**Contamination & environmental due diligence** (19)
|
|
195
215
|
|
|
196
|
-
[epa-airtoxscreen-cancer-risk-screener](https://apify.com/malonestar/epa-airtoxscreen-cancer-risk-screener) · [epa-contaminated-site-screener](https://apify.com/malonestar/epa-contaminated-site-screener) · [epa-drinking-water-quality-screener](https://apify.com/malonestar/epa-drinking-water-quality-screener) · [epa-ghgrp-emitter-screener](https://apify.com/malonestar/epa-ghgrp-emitter-screener) · [epa-impaired-waters-303d-screener](https://apify.com/malonestar/epa-impaired-waters-303d-screener) · [epa-nonattainment-air-permit-screener](https://apify.com/malonestar/epa-nonattainment-air-permit-screener) · [epa-rcra-corrective-action-cleanup-monitor](https://apify.com/malonestar/epa-rcra-corrective-action-cleanup-monitor) · [epa-rcra-hazwaste-generator-rollup](https://apify.com/malonestar/epa-rcra-hazwaste-generator-rollup) · [epa-repowering-brownfield-to-solar-site-finder](https://apify.com/malonestar/epa-repowering-brownfield-to-solar-site-finder) · [epa-sole-source-aquifer-screener](https://apify.com/malonestar/epa-sole-source-aquifer-screener) · [epa-tri-facility-release-rollup](https://apify.com/malonestar/epa-tri-facility-release-rollup) · [epa-tsca-cdr-chemical-site-screener](https://apify.com/malonestar/epa-tsca-cdr-chemical-site-screener) · [erns-nrc-release-incident-screener](https://apify.com/malonestar/erns-nrc-release-incident-screener) · [fuds-defense-site-screener](https://apify.com/malonestar/fuds-defense-site-screener) · [historic-land-use-sic-contaminant-screener](https://apify.com/malonestar/historic-land-use-sic-contaminant-screener) · [site-due-diligence-bundle](https://apify.com/malonestar/site-due-diligence-bundle) · [state-tank-spill-registry-screener](https://apify.com/malonestar/state-tank-spill-registry-screener) · [usgs-historical-topo-records-review](https://apify.com/malonestar/usgs-historical-topo-records-review)
|
|
216
|
+
[environmental-records-report](https://apify.com/malonestar/environmental-records-report) · [epa-airtoxscreen-cancer-risk-screener](https://apify.com/malonestar/epa-airtoxscreen-cancer-risk-screener) · [epa-contaminated-site-screener](https://apify.com/malonestar/epa-contaminated-site-screener) · [epa-drinking-water-quality-screener](https://apify.com/malonestar/epa-drinking-water-quality-screener) · [epa-ghgrp-emitter-screener](https://apify.com/malonestar/epa-ghgrp-emitter-screener) · [epa-impaired-waters-303d-screener](https://apify.com/malonestar/epa-impaired-waters-303d-screener) · [epa-nonattainment-air-permit-screener](https://apify.com/malonestar/epa-nonattainment-air-permit-screener) · [epa-rcra-corrective-action-cleanup-monitor](https://apify.com/malonestar/epa-rcra-corrective-action-cleanup-monitor) · [epa-rcra-hazwaste-generator-rollup](https://apify.com/malonestar/epa-rcra-hazwaste-generator-rollup) · [epa-repowering-brownfield-to-solar-site-finder](https://apify.com/malonestar/epa-repowering-brownfield-to-solar-site-finder) · [epa-sole-source-aquifer-screener](https://apify.com/malonestar/epa-sole-source-aquifer-screener) · [epa-tri-facility-release-rollup](https://apify.com/malonestar/epa-tri-facility-release-rollup) · [epa-tsca-cdr-chemical-site-screener](https://apify.com/malonestar/epa-tsca-cdr-chemical-site-screener) · [erns-nrc-release-incident-screener](https://apify.com/malonestar/erns-nrc-release-incident-screener) · [fuds-defense-site-screener](https://apify.com/malonestar/fuds-defense-site-screener) · [historic-land-use-sic-contaminant-screener](https://apify.com/malonestar/historic-land-use-sic-contaminant-screener) · [site-due-diligence-bundle](https://apify.com/malonestar/site-due-diligence-bundle) · [state-tank-spill-registry-screener](https://apify.com/malonestar/state-tank-spill-registry-screener) · [usgs-historical-topo-records-review](https://apify.com/malonestar/usgs-historical-topo-records-review)
|
|
197
217
|
|
|
198
218
|
**Flood, fire, quake & ground hazard** (13)
|
|
199
219
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gov-data-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"mcpName": "io.github.malonestar/gov-data-mcp",
|
|
5
5
|
"description": "MCP server exposing published US government open-data tools (EPA, FEMA, USGS, NOAA, FAA, USACE, FDIC, HUD, state licensing boards) as agent-callable tools, backed by Apify Actors.",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"start": "node src/index.js",
|
|
21
|
-
"test": "node --test test/tools.test.js test/apify.test.js test/catalog.test.js test/agent-surface.test.js test/presets.test.js",
|
|
21
|
+
"test": "node --test test/tools.test.js test/apify.test.js test/catalog.test.js test/agent-surface.test.js test/presets.test.js test/guidance.test.js",
|
|
22
22
|
"catalog": "node tools/gen-catalog.cjs",
|
|
23
23
|
"check:catalog": "node tools/check-catalog-live.cjs",
|
|
24
24
|
"readme": "node tools/gen-readme-coverage.cjs"
|