Compatible with every major AI agent and IDE
What is the Data.gov Catalog MCP Server?
Connect to the Data.gov Catalog to explore the comprehensive repository of US Government open data. This MCP server allows AI agents to discover datasets from agencies like NASA, NOAA, and the Census Bureau through natural language.
What you can do
- Dataset Discovery — Search the entire catalog using keywords, organization filters, and advanced sorting via
search_datasets. - Spatial Analysis — Find datasets by geographic location using GeoJSON boundaries and spatial filters with
search_locationsandget_location_geometry. - Organization Insights — List all publishing organizations and filter results by specific agency slugs using
get_organizations. - Metadata Inspection — Retrieve detailed harvest records, including raw and transformed DCAT-US payloads with
get_harvest_record_rawandget_harvest_record_transformed. - Keyword Trends — Analyze commonly used keywords and their dataset counts to identify data trends using
get_keywords.
How it works
- Subscribe to this server
- Enter 'PUBLIC' or your API key if required by your proxy
- Start querying the US Government's open data repository directly from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Data Scientists — quickly find relevant datasets for analysis without manual browsing
- Researchers — access official government metadata and harvest records for academic or policy work
- Developers — integrate public data sources into applications using structured GeoJSON and DCAT-US metadata
Built-in capabilities (8)
Retrieve metadata about how a dataset was ingested
Retrieve original unmodified source payload for a harvest record
Retrieve transformed DCAT-US payload for a harvest record
Retrieve commonly used keywords and their dataset counts
Retrieve the GeoJSON boundary for a specific location ID
Retrieve the complete list of publishing organizations
Search the catalog using keywords, filters, and sorting
Autocomplete search for location names to use with spatial filtering
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Data.gov Catalog tool infrastructure. Connect 8 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Data.gov Catalog without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Data.gov Catalog tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Data.gov Catalog in Mastra AI
Data.gov Catalog and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Data.gov Catalog to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Data.gov Catalog in Mastra AI
The Data.gov Catalog MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 8 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Data.gov Catalog for Mastra AI
Every tool call from Mastra AI to the Data.gov Catalog MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I search for datasets within a specific geographic area?
Yes! Use search_locations to find a location ID, then get_location_geometry to get the GeoJSON. Finally, pass that to search_datasets with the spatial_geometry parameter.
How do I find datasets from a specific agency like NASA?
Use the search_datasets tool and provide 'nasa' in the org_slug parameter. You can combine this with a search query q for more specific results.
What is the difference between raw and transformed harvest records?
The get_harvest_record_raw tool returns the original metadata from the source agency, while get_harvest_record_transformed returns the data mapped to the standard DCAT-US schema used by Data.gov.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Eurostat Discovery — Dataset Catalog Explorer
3 toolsExplore Eurostat's catalog of 7,000+ official datasets: search by keyword, inspect dataset dimensions and code lists, and query any dataset with flexible filters — the master key to all European Union statistics.

NCREIF Custom Query
3 toolsInstitutional real estate data — execute custom SQL-like queries on NPI and other indices via NCREIF.

Exchange Rates API
7 toolsEquip your AI agent to access real-time and historical foreign exchange rates via the ExchangeRatesAPI.io service.

WordPress Post Drafter
1 toolsThis MCP does exactly one thing: it takes content generated by the AI and saves it directly to your WordPress as a Draft. Incredible for turning Claude into an automated SEO content engine.
