返回 MCP 目录
public公开dns本地运行

政府数据MCP服务器

一个MCP服务器,提供来自Data.gov的政府数据集访问,使用户能够搜索数据包、查看数据集详情、列出组和标签,并通过URL访问资源。

article

README

Data.gov MCP Server

An MCP server for accessing data from Data.gov, providing tools and resources for interacting with government datasets.

Data.gov Server MCP server

Installation

  1. Install the package globally:

    npm install -g @melaodoidao/datagov-mcp-server
    
  2. Configure the MCP Server:

    • Add the following entry to your cline_mcp_settings.json file (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.json instead.

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

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端