Back to MCP Catalog

Open Data MCP Server

Data Science ToolsPython
Connect any Open Data to any LLM with Model Context Protocol
Available Tools

list

Lists all available data providers that can be used with Open Data MCP

info

Displays detailed information about a specific data provider

provider_name

setup

Sets up a provider's MCP server for use with Claude Desktop app

provider_name

remove

Removes a provider's MCP server from Claude Desktop app

provider_name

Open Data MCP provides seamless integration between public datasets and Large Language Models. It enables direct access to numerous public datasets right from your LLM application, starting with Claude and expanding to other platforms. The framework also offers a distribution network for publishing your own open data, making it easily discoverable and accessible to the broader community.

What is Open Data MCP?

Open Data MCP is a framework that connects open data sources to Large Language Models through the Model Context Protocol (MCP). It enables two primary functions:

  1. Access to Open Data: Easily connect your LLM applications to public datasets
  2. Publishing Open Data: Contribute and distribute your own datasets to the community

Installation

To use Open Data MCP, you'll need to install the CLI tool and set up the necessary dependencies:

# Install uv package manager (required)
# 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

# Install Open Data MCP
pip install odmcp

Using Open Data MCP

Accessing Open Data

The CLI tool provides several commands to work with data providers:

# List all available data providers
uvx odmcp list

# Get information about a specific provider
uvx odmcp info PROVIDER_NAME

# Set up a provider's MCP server for Claude Desktop app
uvx odmcp setup PROVIDER_NAME

# Remove a provider from Claude Desktop app
uvx odmcp remove PROVIDER_NAME

Example: Setting up Swiss Railway (SBB) Data

# Make sure Claude Desktop app is installed
uvx odmcp setup ch_sbb

After setup, restart Claude and you'll see a new hammer icon at the bottom right of the chat interface. You can now ask questions about SBB train network disruptions and other related information.

Contributing Your Own Data Provider

If you want to contribute by building and publishing your own public dataset:

  1. Clone the repository:
git clone https://github.com/OpenDataMCP/OpenDataMCP.git
cd OpenDataMCP
  1. Set up the development environment:
uv venv
source .venv/bin/activate  # Unix/macOS
# or
.venv\Scripts\activate     # Windows
uv sync
pre-commit install
  1. Create a new provider module in src/odmcp/providers/ following the naming pattern {country_code}_{organization}.py

  2. Implement your provider using the template file as a guide, defining appropriate Tools and Resources

  3. Add tests for your provider in the tests/ directory

  4. Test your MCP server using the experimental client: uv run src/odmcp/providers/client.py

Troubleshooting

  • If you encounter issues with Claude Desktop app not showing the MCP tools, try restarting the app after setup
  • For Windows users, ensure that uv is properly installed and available in your PATH
  • Check the Discord community for help with specific providers or implementation questions

Community Support

Join the Discord community at https://discord.gg/hDg4ZExjGs for help, discussions, and collaboration opportunities.

Related MCPs

Vega-Lite Data Visualization
Data Science ToolsPython

Create interactive data visualizations using Vega-Lite syntax

Tinybird
Data Science ToolsPython

Query and interact with Tinybird workspaces from any MCP client

Opik
Data Science ToolsPython

Debug, evaluate, and monitor LLM applications, RAG systems, and agentic workflows

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.