Skip to main content
Glama
Data.gov MCP Server

Data.gov MCP Server

by melaodoidao

Data.gov MCP 服务器

用于访问 Data.gov 数据的 MCP 服务器,提供与政府数据集交互的工具和资源。

安装

  1. 全局安装包:

    npm install -g @melaodoidao/datagov-mcp-server
  2. 配置 MCP 服务器:

    • 将以下条目添加到您的cline_mcp_settings.json文件(通常位于 macOS 上的~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/ ):

       {
         "mcpServers": {
           "datagov": {
             "command": "datagov-mcp-server",
             "args": [],
             "env": {}
           }
         }
       }
    • 如果您正在使用 Claude Desktop 应用程序,请将条目添加到~/Library/Application Support/Claude/claude_desktop_config.json 。

Related MCP server: datagovma-mcp

用法

该服务器提供以下工具:

  • package_search :在 Data.gov 上搜索包(数据集)。

  • package_show :获取特定包(数据集)的详细信息。

  • group_list :列出 Data.gov 上的群组。

  • tag_list :列出 Data.gov 上的标签。

它还提供了以下资源模板:

  • datagov://resource/{url} :通过 URL 访问 Data.gov 资源。

您可以通过指定服务器名称( datagov-mcp-server )和工具/资源名称将这些工具和资源与 Cline 一起使用。

贡献

欢迎贡献!请随时提交问题或拉取请求。

执照

MIT 许可证

Available Tools

4 tools
group_listB

List groups on Data.gov

Inputs: all_fields, limit, offset, order_by.

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

    B3.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count3/5

    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.

    Completeness2/5

    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.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the Moroccan Open Data portal (data.gov.ma) enabling search and retrieval of datasets, resources, organizations, and groups via CKAN API.
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      MCP server with 562 tools accessing 114 government data APIs covering economic, health, education, energy, and more from federal, state, and international sources.
      100
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to query U.S. government datasets via the Data.gov CKAN API, wrapped as an MCP server.
      54 npm
      MIT