Access to many public datasets right from your LLM application.
Connect Open Data to LLMs in minutes!
https://github.com/user-attachments/assets/760e1a16-add6-49a1-bf71-dfbb335e893e
We enable 2 things:
How do we do that?
If you want to use Open Data MCP with Claude Desktop app client you need to install the Claude Desktop app.
You will also need uv
to easily run our CLI and MCP servers.
# you need to install uv through homebrew as using the install shell script # will install it locally to your user which make it unavailable in the Claude Desktop app context. brew install uv
# (UNTESTED) powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# show available commands uvx odmcp # show available providers uvx odmcp list # show info about a provider uvx odmcp info $PROVIDER_NAME # setup a provider's MCP server on your Claude Desktop app uvx odmcp setup $PROVIDER_NAME # remove a provider's MCP server from your Claude Desktop app uvx odmcp remove $PROVIDER_NAME
Quickstart for the Switzerland SBB (train company) provider:
# make sure claude is installed uvx odmcp setup ch_sbb
Restart Claude and you should see a new hammer icon at the bottom right of the chat.
You can now ask questions to Claude about SBB train network disruption and it will answer based on data collected on data.sbb.ch
.
Install UV Package Manager
# macOS brew install uv # Windows (PowerShell) powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Linux/WSL curl -LsSf https://astral.sh/uv/install.sh | sh
Clone & Setup Repository
# Clone the repository git clone https://github.com/OpenDataMCP/OpenDataMCP.git cd OpenDataMCP # Create and activate virtual environment uv venv source .venv/bin/activate # Unix/macOS # or .venv\Scripts\activate # Windows # Install dependencies uv sync
Install Pre-commit Hooks
# Install pre-commit hooks for code quality pre-commit install
Create a New Provider Module
src/odmcp/providers/
.{country_code}_{organization}.py
(e.g., ch_sbb.py
).Implement Required Components
Tool vs Resource
Testing
tests/
directoryValidation
uv run src/odmcp/providers/client.py
For other examples, check our existing providers in the src/odmcp/providers/
directory.
We have an ambitious roadmap and we want this project to scale with the community. The ultimate goal is to make the millions of datasets publicly available to all LLM applications.
For that we need your help!
We want to build a helping community around the challenge of bringing open data to LLM's. Join us on discord to start chatting: https://discord.gg/QPFFZWKW
Because of our target scale we want to keep things simple and pragmatic at first. Tackle issues with the community as they come along.
Simplicity and Maintainability
Standardization / Templates
Dependencies
Code Quality
Type Safety
Let’s build the open source infrastructure that will allow all LLMs to access all Open Data together!
We are very early, and lack of dataset available is currently the bottleneck. Help yourself! Create your Open Data MCP server and get users to use it as well from their LLMs applications. Let’s connect LLMs to the millions of open datasets from governments, public entities, companies and NGOs!
As Anthropic's MCP evolves we will adapt and upgrade Open Data MCP.
This project is licensed under the MIT License - see the LICENSE file for details
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!