OpenGov MCP Server logo

OpenGov MCP Server

by srobbin

The OpenGov MCP Server enables MCP clients like Claude Desktop to access Socrata Open Data APIs. This integration allows Claude Desktop to search for, retrieve, and analyze public datasets from government data portals.

View on GitHub

Last updated: N/A

What is OpenGov MCP Server?

An MCP (Model Context Protocol) server that provides access to open data from any Socrata-powered data portal, allowing clients to search, retrieve, and analyze public datasets from government entities.

How to use OpenGov MCP Server?

The server can be used with Claude Desktop by configuring the claude_desktop_config.json file with the server's command and arguments, including setting the DATA_PORTAL_URL environment variable to the desired Socrata data portal. It can be installed using npx or manually from source.

Key features of OpenGov MCP Server

  • Search and discover datasets by keyword, category, or tags

  • View dataset metadata and column information

  • Run SQL-like queries to retrieve and analyze data

  • Get portal usage statistics

Use cases of OpenGov MCP Server

  • Analyzing city budgets

  • Investigating crime statistics

  • Exploring transportation data

  • Accessing public health information

FAQ from OpenGov MCP Server

What is the DATA_PORTAL_URL?

The Socrata data portal URL (e.g., https://data.cityofchicago.org).

How do I install the server?

You can install it using npx or manually from source.

What is the get_data tool?

A unified tool that Claude Desktop uses to access Socrata data.

What parameters does the get_data tool accept?

type, domain, query, datasetId, soqlQuery, limit, and offset.

Do I need an API key?

No API key is required for basic usage, as the server accesses public data.