MCP.so
登录

OpenGov MCP Server

@srobbin

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

srobbin

关于 OpenGov MCP Server

暂无概览

OpenGov MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "opengov": {
      "command": "npx",
      "args": [
        "-y",
        "opengov-mcp-server@latest"
      ],
      "env": {
        "DATA_PORTAL_URL": "https://data.cityofchicago.org"
      }
    }
  }
}

OpenGov MCP Server 工具

1

[City of Chicago | Data Portal] Access data and metadata to learn more about the city and its underlying information.

概览

What is OpenGov MCP Server?

An MCP (Model Context Protocol) server that enables MCP clients like Claude Desktop to access Socrata Open Data APIs, allowing search, retrieval, and analysis of public datasets from government data portals.

How to use OpenGov MCP Server?

Configure the server in Claude Desktop by setting the DATA_PORTAL_URL environment variable to any Socrata-powered portal (e.g., https://data.cityofchicago.org), then run it via npx -y opengov-mcp-server@latest or from source. Once connected, ask natural‑language questions about the data.

Key features of OpenGov MCP Server

  • Search and discover datasets by keyword, category, or tags
  • View dataset metadata and column information
  • Run SQL-like SoQL queries to retrieve and analyze data
  • Get portal usage statistics
  • No API key required for basic public data access

Use cases of OpenGov MCP Server

  • Ask how many cars were towed in Chicago this month
  • Drill into vehicle make, color, or vanity plates from towing data
  • Find datasets related to a budget across multiple Socrata portals
  • Retrieve metadata and column info for a specific dataset
  • Query public records with filters, ordering, and pagination

常见问题

1

Do I need an API key to use OpenGov MCP Server?

No, an API key is not required for basic usage because the server accesses public data.

2

Which data portals can I connect to?

Any Socrata‑powered data portal is supported, including those from cities (Chicago, NYC, San Francisco, Los Angeles), states, and federal agencies.

3

How do I set which data portal to use?

Set the `DATA_PORTAL_URL` environment variable in your Claude Desktop configuration, in your shell environment, or via the command line.

4

What tool does OpenGov MCP Server provide?

The server exposes a single `get_data` tool with operation types such as `catalog`, `categories`, `tags`, `dataset-metadata`, `column-info`, `data-access`, and `site-metrics`.

5

Can I paginate results from a query?

Yes, use the optional `limit` (default 10) and `offset` parameters to control how many results are returned and which page to skip.

评论

其他 分类下的更多 MCP 服务器