DataGouv MCP
An MCP server that connects AI chatbots directly to data.gouv.fr, France’s national open data platform. It allows users to search, explore, and analyze thousands of public datasets simply by asking questions in natural language.
What is DataGouv MCP?
DataGouv MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that connects ai chatbots directly to data.gouv.fr, france’s national open data platform. it allows users to search, explore, and analyze thousands of public datasets simply by asking quest...
An MCP server that connects AI chatbots directly to data.gouv.fr, France’s national open data platform. It allows users to search, explore, and analyze thousands of public datasets simply by asking questions in natural language.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP server that connects AI chatbots directly to data.gou
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx datagouvConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use DataGouv MCP
DataGouv MCP is an official MCP server from the French government that connects AI chatbots directly to data.gouv.fr, France's national open data platform. It exposes tools for searching and exploring thousands of public datasets — covering topics from public health and transportation to economics and education — as well as querying data service APIs and accessing platform analytics. Researchers, journalists, civil servants, and developers can ask natural language questions about French government data and get answers drawn directly from the authoritative national open data catalog.
Prerequisites
- An MCP-compatible client such as Claude Desktop, Claude Code, Cursor, or Windsurf
- For the hosted version: no installation required, just an HTTP MCP client configuration
- For self-hosting: Python 3.11+ and the uv package manager, or Docker and Docker Compose
- No API keys are required to access production data.gouv.fr
Use the hosted MCP server (easiest option)
The French government hosts a public MCP endpoint at https://mcp.data.gouv.fr/mcp. Add it to Claude Code with a single command — no installation or API keys needed.
claude mcp add --transport http datagouv https://mcp.data.gouv.fr/mcpAdd to Claude Desktop (hosted)
For Claude Desktop, add the hosted server using mcp-remote as a bridge in your claude_desktop_config.json.
{
"mcpServers": {
"datagouv": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.data.gouv.fr/mcp"],
"env": {}
}
}
}Self-host with Docker (optional)
Clone the repository and start the server locally using Docker Compose. This is useful for development or when you want to use the demo environment.
git clone https://github.com/datagouv/datagouv-mcp.git
cd datagouv-mcp
docker compose up -dSelf-host with uv (alternative)
For non-Docker local deployment, copy the environment file template, adjust any settings, and run the server directly with uv.
cp .env.example .env
# Edit .env to set MCP_PORT, DATAGOUV_API_ENV (prod or demo), LOG_LEVEL
uv run main.pyVerify the server is healthy
Check the server health endpoint to confirm it is running and can reach the data.gouv.fr API. For the hosted version, test connectivity from Claude Code or use the MCP Inspector.
# For self-hosted:
curl http://localhost:8000/health
# Or test via MCP Inspector:
npx @modelcontextprotocol/inspector --http-url "http://127.0.0.1:8000/mcp"DataGouv MCP Examples
Client configuration
claude_desktop_config.json entry using the official hosted endpoint via mcp-remote.
{
"mcpServers": {
"datagouv": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.data.gouv.fr/mcp"],
"env": {}
}
}
}Prompts to try
Sample prompts for exploring French public data through the datagouv MCP server.
- "Search for datasets about air quality in French cities"
- "Find open datasets related to public hospital capacity in France"
- "What datasets are available about French election results?"
- "Get the monthly download statistics for the most popular datasets on data.gouv.fr"
- "List data services related to geographic information in France"Troubleshooting DataGouv MCP
mcp-remote is not found when using Claude Desktop
Install mcp-remote globally: npm install -g mcp-remote, then use the full binary path in your config, or rely on npx to download it automatically on first use.
get_metrics tool returns an error or no data
The get_metrics tool only works in the production environment (DATAGOUV_API_ENV=prod). If self-hosting with the demo environment set, switch to production or use the hosted endpoint at mcp.data.gouv.fr.
Self-hosted server starts but query_resource_data returns errors
Some dataset resources on data.gouv.fr are large files that require sufficient server memory and timeout settings. Increase MCP_BRASIL_HTTP_TIMEOUT (or equivalent) and ensure Docker has at least 2 GB of memory allocated. For very large CSV files, consider downloading the resource file directly first.
Frequently Asked Questions about DataGouv MCP
What is DataGouv MCP?
DataGouv MCP is a Model Context Protocol (MCP) server that mcp server that connects ai chatbots directly to data.gouv.fr, france’s national open data platform. it allows users to search, explore, and analyze thousands of public datasets simply by asking questions in natural language. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install DataGouv MCP?
Follow the installation instructions on the DataGouv MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with DataGouv MCP?
DataGouv MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is DataGouv MCP free to use?
Yes, DataGouv MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
DataGouv MCP Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to DataGouv MCP? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up DataGouv MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use DataGouv MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.