Data.gov MCP Server
The Data.gov MCP server allows you to interact with datasets from Data.gov through the following tools:
Search for datasets using the
package_searchtool with filters like query, results per page, sort order, and offsetGet details for a specific dataset using the
package_showtool by providing a package ID or nameList groups on Data.gov using the
group_listtool with options to limit results, offset, or order by fieldList tags on Data.gov using the
tag_listtoolAccess a Data.gov resource using the
datagov://resource/{url}template
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Data.gov MCP Server search for datasets about climate change"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Data.gov MCP Server
An MCP server for accessing data from Data.gov, providing tools and resources for interacting with government datasets.
Installation
Install the package globally:
npm install -g @melaodoidao/datagov-mcp-serverConfigure the MCP Server:
Add the following entry to your
cline_mcp_settings.jsonfile (usually located in~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/on macOS):{ "mcpServers": { "datagov": { "command": "datagov-mcp-server", "args": [], "env": {} } } }If you are using the Claude Desktop app, add the entry to
~/Library/Application Support/Claude/claude_desktop_config.jsoninstead.
Related MCP server: datagovma-mcp
Usage
This server provides the following tools:
package_search: Search for packages (datasets) on Data.gov.package_show: Get details for a specific package (dataset).group_list: List groups on Data.gov.tag_list: List tags on Data.gov.
It also provides the following resource template:
datagov://resource/{url}: Access a Data.gov resource by its URL.
You can use these tools and resources with Cline by specifying the server name (datagov-mcp-server) and the tool/resource name.
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
MIT License
Available Tools
4 toolsgroup_listB
List groups on Data.gov
Inputs: all_fields, limit, offset, order_by.
package_searchC
Search for packages (datasets) on Data.gov
Inputs: q, rows, sort, start.
package_showB
Get details for a specific package (dataset)
Inputs: id (required).
tag_listC
List tags on Data.gov
Inputs: all_fields, query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose targeting different resources: groups, packages (datasets), and tags. The actions (list, search, show) are well-defined and non-overlapping, making it easy for an agent to select the right tool without confusion.
All tool names follow a consistent snake_case pattern with a clear verb_noun structure (e.g., group_list, package_search). This predictability enhances readability and usability across the tool set.
With only 4 tools, the set feels thin for a data portal server, lacking operations like create, update, or delete for resources. While the tools cover basic read/search functions, the scope could be expanded for more comprehensive coverage.
The tool surface is severely incomplete for a data management domain, missing essential CRUD operations (e.g., no create_package, update_package, delete_package) and other common actions like resource_show for groups or tags. This will likely cause agent failures when trying to perform full lifecycle tasks.
Maintenance
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Data.gov MCP — wraps Data.gov CKAN API (catalog.data.gov/api/3)
Hosted MCP server for finding authoritative primary data sources and official portals.
data.gov.uk MCP — UK national open-data portal (CKAN API).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools to search, query, and aggregate data from any Socrata open data portal.-
- AlicenseNot gradedqualityDmaintenanceMCP server for the Moroccan Open Data portal (data.gov.ma) enabling search and retrieval of datasets, resources, organizations, and groups via CKAN API.2MIT
- AlicenseBqualityDmaintenanceMCP server with 562 tools accessing 114 government data APIs covering economic, health, education, energy, and more from federal, state, and international sources.1001MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query U.S. government datasets via the Data.gov CKAN API, wrapped as an MCP server.54 npmMIT