OpenDataMCP

Data and AI

Connect any Open Data to any LLM with Model Context Protocol.

Your AI app calls the OpenDataMCP MCP server, which does the data and AI work and sends the result back to the chat.

About OpenDataMCP

OpenDataMCP is a community MCP server from OpenDataMCP, filed in our directory under data and ai. Connect any Open Data to any LLM with Model Context Protocol.

OpenDataMCP runs on your own machine: your AI app starts it with the command uvx odmcp and talks to it over standard input and output.

At a glance

Publisher
OpenDataMCP (community)
Runs
Locally on your machine
Install from
Python package on PyPI: odmcp
Written in
Python
License
MIT
GitHub stars
156

How to set up OpenDataMCP

  1. Install uv on the machine that runs your AI app, because OpenDataMCP starts with uvx and fetches its Python package on first run.
  2. Check the OpenDataMCP README for keys or settings; the registry lists none that OpenDataMCP requires.
  3. Add OpenDataMCP to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the OpenDataMCP tools to confirm the connection.
  5. Run one read-only task with OpenDataMCP first, and keep your app asking before each tool call until the results look right.

OpenDataMCP compared with similar servers

  • MediaWiki by ProfessionalWiki has fewer GitHub stars than OpenDataMCP (155 against 156); both are community servers, and both run locally.
  • Tinymcp by golioth has more GitHub stars than OpenDataMCP (158 against 156); both are community servers, and both run locally.
  • Matryoshka by yogthos has fewer GitHub stars than OpenDataMCP (152 against 156); both are community servers, and both run locally.

Before you connect OpenDataMCP

  • Give OpenDataMCP its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each OpenDataMCP tool call until you trust what it does with them.
  • Treat text that OpenDataMCP fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for OpenDataMCP on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for OpenDataMCP

How marketing and sales teams put OpenDataMCP to work, by company size. Pick the size closest to yours and start OpenDataMCP on one use case.

Small business

  • A small team can use OpenDataMCP to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask OpenDataMCP to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • OpenDataMCP runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect OpenDataMCP to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use OpenDataMCP to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Start OpenDataMCP on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run OpenDataMCP inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use OpenDataMCP in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • OpenDataMCP is a community server, so have security review the code and pin a version before OpenDataMCP touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

OpenDataMCP README

From OpenDataMCP/OpenDataMCP on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Open Data Model Context Protocol

Connect Open Data to LLMs in minutes!

See it in action

https://github.com/user-attachments/assets/760e1a16-add6-49a1-bf71-dfbb335e893e

We enable 2 things:

  • Open Data Access: Access to many public datasets right from your LLM application (starting with Claude, more to come).
  • Publishing: Get community help and a distribution network to distribute your Open Data. Get everyone to use it!

How do we do that?

  • Access: Setup our MCP servers in your LLM application in 2 clicks via our CLI tool (starting with Claude, see Roadmap for next steps).
  • Publish: Use provided templates and guidelines to quickly contribute and publish on Open Data MCP. Make your data easily discoverable!

Usage

Access: Access Open Data using Open Data MCP CLI Tool
Prerequisites

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.

macOS
# 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
Windows
# (UNTESTED)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Open Data MCP - CLI Tool
Overview
# 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
Example

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.

Publish: Contribute by building and publishing public datasets
Prerequisites
  1. 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
    
  2. 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
    
  3. Install Pre-commit Hooks

    # Install pre-commit hooks for code quality
    pre-commit install
    
Publishing Instructions
  1. Create a New Provider Module

    • Each data source needs its own python module.
    • Create a new Python module in src/odmcp/providers/.
    • Use a descriptive name following the pattern: {country_code}_{organization}.py (e.g., ch_sbb.py).
    • Start with our template file as your base.
  2. Implement Required Components

    • Define your Tools & Resources following the template structure
    • Each Tool or Resource should have:
      • Clear description of its purpose
      • Well-defined input/output schemas using Pydantic models
      • Proper error handling
      • Documentation strings
  3. Tool vs Resource

    • Choose Tool implementation if your data needs:
      • Active querying or computation
      • Parameter-based filtering
      • Complex transformations
    • Choose Resource implementation if your data is:
      • Static or rarely changing
      • Small enough to be loaded into memory
      • Simple file-based content
      • Reference documentation or lookup tables
    • Reference the MCP documentation for guidance
  4. Testing

    • Add tests in the tests/ directory
    • Follow existing test patterns (see other provider tests)
    • Required test coverage:
      • Basic functionality
      • Edge cases
      • Error handling
  5. Validation

    • Test your MCP server using our experimental client: uv run src/odmcp/providers/client.py
    • Verify all endpoints respond correctly
    • Ensure error messages are helpful
    • Check performance with typical query loads

For other examples, check our existing providers in the src/odmcp/providers/ directory.

Contributing

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!

Discord

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

Our Core Guidelines

Because of our target scale we want to keep things simple and pragmatic at first. Tackle issues with the community as they come along.

  1. Simplicity and Maintainability

    • Minimize abstractions to keep codebase simple and scalable
    • Focus on clear, straightforward implementations
    • Avoid unnecessary complexity
  2. Standardization / Templates

    • Follow provided templates and guidelines consistently
    • Maintain uniform structure across providers
    • Use common patterns for similar functionality
  3. Dependencies

    • Keep external dependencies to a minimum
    • Prioritize single repository/package setup
    • Carefully evaluate necessity of new dependencies
  4. Code Quality

    • Format code using ruff
    • Maintain comprehensive test coverage with pytest
    • Follow consistent code style
  5. Type Safety

    • Use Python type hints throughout
    • Leverage Pydantic models for API request/response validation
    • Ensure type safety in data handling
Tactical Topics (our current priorities)

Questions about OpenDataMCP

What is the OpenDataMCP MCP server?

Connect any Open Data to any LLM with Model Context Protocol. OpenDataMCP is maintained by OpenDataMCP on GitHub at OpenDataMCP/OpenDataMCP, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the OpenDataMCP MCP server?

Add OpenDataMCP to your AI app's MCP config with the command uvx odmcp. In Claude Code, run claude mcp add --transport stdio opendatamcp -- uvx odmcp. To run OpenDataMCP this way you need uv installed.

Does OpenDataMCP need an API key?

The registry lists no required keys for OpenDataMCP. Check the OpenDataMCP README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is OpenDataMCP an official MCP server?

No. OpenDataMCP is a community server maintained by OpenDataMCP. Community servers can be excellent; read the code and the open issues before you give OpenDataMCP access to company data.

What license is OpenDataMCP under?

OpenDataMCP is released under the MIT license, according to its GitHub repository. The license covers the code of OpenDataMCP; the service it connects to has its own terms.