OpenDataMCP is an open-source project whose goal is to connect open data to any LLM application through the Model Context Protocol (MCP), allowing users to query public datasets directly within an LLM.
-
Project Purpose The project mainly accomplishes two things:
-
Open data access: Enable LLM applications to directly access numerous public datasets, initially starting with Claude, with plans to support more models and applications later.
-
Publishing: Provide community help and a distribution network for open data providers, helping their data be used by more people.
-
Main Capabilities
- Through the Open Data MCP CLI tool, an MCP server can be configured in an LLM application in two steps, currently mainly targeting the Claude Desktop application.
- Provide templates and guidance to help developers quickly contribute and publish open data MCP servers, making data easy to discover.
- A quick start process using the Swiss SBB (railway company) provider as an example: after installing the tool and configuring the server, restart Claude, and a hammer icon appears in the lower right corner of the chat interface. You can then ask Claude questions related to SBB railway network disruptions, with answers based on data collected from data.sbb.ch.
- How to Use
- Access data: Use the Open Data MCP CLI tool. To use it with the Claude Desktop application, you need to first install Claude Desktop and install uv in order to run the CLI and MCP server. For the quick start process using the Swiss SBB provider as an example, see the official documentation.
- Publish data: Contributors can build and publish public datasets. The basic steps include:
- Install the UV package manager (on macOS use brew install uv; on Windows PowerShell use the provided command; on Linux/WSL use the curl command).
- Clone and set up the repository: git clone https://github.com/OpenDataMCP/OpenDataMCP.git,进入目录后 uv venv creates a virtual environment; after activating the environment, run uv sync to install dependencies.
- Install the pre-commit hook to ensure code quality.
- Create a new Python module under src/odmcp/providers/, with naming following the {country_code}_{organization}.py pattern (e.g., ch_sbb.py), based on the template file.
- Implement the required components: each Tool or Resource should have a clear description, input/output schemas defined using Pydantic models, error handling, and docstrings.
- Choose between Tool and Resource: if the data requires active querying or computation, parameter-based filtering, or complex transformation, choose Tool; if the data is static or rarely changes, can be loaded into memory, and consists of simple file contents or reference documents/lookup tables, choose Resource.
- Testing: add tests in the tests/ directory, covering basic functionality, edge cases, and error handling; the experimental client uv run src/odmcp/providers/client.py can be used to verify endpoints, error messages, and performance.
IV. Applicable Scenarios Suitable for developers and data providers who want LLM applications to directly access open datasets, for example, letting Claude answer questions based on Swiss SBB railway network disruption data. Also suitable for institutions or organizations that want to publish their own open data and expand its reach through the community network. The project mentions that it is building an MCP server for approximately 12k open datasets in Switzerland.
V. Project Principles and Priorities The core guidelines emphasize simplicity and maintainability, standardization and templates, minimizing dependencies, and code quality and type safety. Current priorities include: initializing the repository and contribution process, CI/CD and automated PyPI publishing, developing a provider template and the first reference implementation, integrating more open datasets, formulating Resource and Tool selection guidelines, extending MCP SDK parameter support (authentication, rate limiting, etc.), implementing more MCP protocol features (prompts, resource templates), supporting transport protocols beyond stdio (SSE), and deploying a hosted MCP server.
VI. Limitations and Licensing The project is in an early stage, and an insufficient number of available datasets is the current bottleneck. All data provided through the Open Data MCP server should be opendata and must comply with the data license of the data provider. In commercial applications, its license must be cited. The project uses the MIT license. The documentation states that Open Data MCP will be adapted and upgraded as Anthropic's MCP evolves.
VII. Classification Description The project's explicit purpose is to connect open data to LLM applications and provide a framework for MCP server development and publishing, so it is classified under AI development platforms (ai-frameworks).