Connect any Open Data to any LLM with Model Context Protocol.
Empowering LLMs with Real-World Context: A Deep Dive into Open Data Integration
The Model Context Protocol (MCP) is emerging as a pivotal technology in the evolution of Large Language Models (LLMs). It addresses a fundamental challenge: how to seamlessly integrate LLMs with the vast and ever-growing universe of external data sources and specialized tools. This integration is crucial for transforming LLMs from sophisticated text generators into powerful problem-solving engines capable of reasoning, decision-making, and providing contextually relevant insights.
This initiative focuses on two key pillars:
https://github.com/user-attachments/assets/760e1a16-add6-49a1-bf71-dfbb335e893e
The Open Data MCP simplifies the process of connecting LLMs to open data sources through a user-friendly CLI tool. This tool enables developers to quickly set up MCP servers within their LLM applications, starting with Claude and expanding to other platforms in the future.
The Open Data MCP fosters a collaborative environment where data providers can contribute their datasets and make them accessible to the wider AI community.
Claude Desktop App: Ensure the Claude Desktop application is installed (https://claude.ai/download).
UV Package Manager: Install uv
for streamlined CLI and MCP server management.
brew install uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# Display available commands uvx odmcp # List available data providers uvx odmcp list # Retrieve information about a specific provider uvx odmcp info $PROVIDER_NAME # Set up an MCP server for a provider within the Claude Desktop app uvx odmcp setup $PROVIDER_NAME # Remove a provider's MCP server uvx odmcp remove $PROVIDER_NAME
# Ensure Claude is installed uvx odmcp setup ch_sbb
After restarting Claude, a new hammer icon will appear in the bottom right corner of the chat interface. You can now query Claude about SBB train network disruptions, and it will respond based on real-time data from data.sbb.ch
.
# 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
git clone https://github.com/OpenDataMCP/OpenDataMCP.git cd OpenDataMCP uv venv source .venv/bin/activate # Unix/macOS .venv\Scripts\activate # Windows uv sync
pre-commit install
src/odmcp/providers/
, following the naming convention {country_code}_{organization}.py
(e.g., ch_sbb.py
).tests/
directory, following existing patterns.uv run src/odmcp/providers/client.py
.The Open Data MCP is a community-driven initiative with an ambitious roadmap. Your contributions are essential to achieving the goal of making millions of publicly available datasets accessible to all LLM applications.
Connect with fellow developers and data enthusiasts on our Discord server: https://discord.gg/QPFFZWKW
The Open Data MCP is committed to building the open-source infrastructure that will empower all LLMs to access and utilize open data effectively.
๐ ๐ Generate visualizations from fetched data using the VegaLite format and renderer.
๐ โ๏ธ A mcp server that bridges Dune Analytics data to AI agents.
๐ โ๏ธ An MCP server for real-time Fantasy Premier League data and analysis tools.
๐๏ธ ๐ ๐ โ๏ธ Search dashboards, investigate incidents and query datasources in your Grafana instance