MD

melaodoidao/datagov-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 5 forks 质量 63 趋势 0MIT

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

概览

一个用于访问 Data.gov 数据的MCP服务器,提供与政府数据集交互的工具和资源。 - 在 macOS 上,通常在 ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/ 中添加以下条cline_mcp_settings.json目: - 如果你使用的是 Claude 桌面应用,请将条目添加到 ~/Library/Application Support/Claude/claude_desktop_config.json。 该服务器提供以下工具: * package_search:在 Data.gov 上搜索包(数据集)。* package_show:获取特定包(数据集)的详细信息。* group_list:在 Data.gov 上列出组。* tag_list:在 Data.gov 上列出标签。 它还提供了以下资源模板: * datagov://resource/{url}:通过资源的URL访问 Data.gov 资源。 你可以通过指定服务器名称(datagov-mcp-server)和工具/资源名称来使用这些工具和资源。

概述(AI 翻译)

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

安装

  1. 全局安装包:

  2. 配置MCP服务器:

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

  • 如果你使用的是 Claude Desktop 应用,请将条目添加到 ~/Library/Application Support/Claude/claude_desktop_config.json。

用途

该服务器提供以下工具:

  • package_search:在 Data.gov 上搜索包(数据集)。
  • package_show:获取特定软件包(数据集)的详细信息。
  • group_list:Data.gov 上列出群组。
  • tag_list:列表标签 Data.gov。

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

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

你可以通过指定服务器名称(datagov-mcp-server)和工具/资源名称来使用这些工具和资源。

贡献

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

许可证

麻省理工学院许可

本页由 AI 翻译,技术细节请以原文为准。

README

Data.gov MCP Server

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

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

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "datagov": { "command": "datagov-mcp-server", "args": [], "env": {} } } }