Data.gov MCP Server
An MCP server for accessing data from Data.gov, providing tools and resources for interacting with government datasets.
Overview
Data.gov MCP Server is a server designed to access and interact with datasets from Data.gov, providing tools and resources for users to explore government data.
To use the Data.gov MCP Server, install the package globally using npm, configure the server settings in your configuration file, and then utilize the provided tools to search and access datasets.
- Search for datasets on Data.gov using the
package_searchtool. - Retrieve details of specific datasets with thepackage_showtool. - List available groups and tags on Data.gov. - Access resources directly via their URLs.
- Researchers can find and analyze government datasets for academic studies.
- Developers can integrate government data into applications for enhanced functionality.
- Data journalists can access and visualize public data for reporting purposes.
Add to your AI client
Use these steps to connect Data.gov MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"datagov-mcp-server-melaodoidao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-datagov-mcp-server-melaodoidao"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"datagov-mcp-server-melaodoidao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-datagov-mcp-server-melaodoidao"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"datagov-mcp-server-melaodoidao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-datagov-mcp-server-melaodoidao"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"datagov-mcp-server-melaodoidao": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-datagov-mcp-server-melaodoidao"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"datagov-mcp-server-melaodoidao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-datagov-mcp-server-melaodoidao"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"datagov-mcp-server-melaodoidao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-datagov-mcp-server-melaodoidao"
]
}
}
}FAQ
What is the purpose of the Data.gov MCP Server?
The server provides tools to access and interact with government datasets available on Data.gov.
How do I install the Data.gov MCP Server?
You can install it globally using npm with the command: `npm install -g @melaodoidao/datagov-mcp-server`.
Is the Data.gov MCP Server open for contributions?
Yes! Contributions are welcome, and you can submit issues or pull requests.