What is the data.gouv.fr MCP Server?
The data.gouv.fr MCP Server is a Model Context Protocol (MCP) server that allows AI chatbots like Claude, ChatGPT, and Gemini to search, explore, and analyze datasets from data.gouv.fr—France’s national Open Data platform—directly through conversation. Instead of manually browsing websites or downloading files, you can simply ask questions like:- “What datasets are available about housing prices in Paris?”
- “Show me the latest population data for Lyon”
- “Find datasets about renewable energy in France”
What is the Model Context Protocol?
The Model Context Protocol (MCP) is an open standard that enables AI applications to securely connect to external data sources and tools. Think of it as a universal connector that lets AI assistants interact with databases, APIs, and services in a standardized way. With MCP, AI chatbots can:- Access real-time data from external sources
- Execute specialized tools and functions
- Maintain context across complex workflows
- Work with multiple data sources simultaneously
Key features
Dataset search
Search and explore 50,000+ datasets from data.gouv.fr with natural language queries
Tabular API queries
Query CSV and Excel files directly without downloading, with filtering and sorting support
File downloads
Download and parse large CSV, JSON, and JSONL files up to 500MB with automatic delimiter detection
External APIs
Access third-party dataservices with OpenAPI specifications and endpoint documentation
Usage metrics
Retrieve monthly visits and download statistics for datasets and resources
15+ AI clients
Works with Claude, ChatGPT, Gemini, Cursor, VS Code, Windsurf, HuggingChat, and more
Available MCP tools
The server provides 10 specialized tools for working with French Open Data: Datasets (static data files)search_datasets- Search for datasets by keywordsget_dataset_info- Get detailed dataset metadatalist_dataset_resources- List all files in a datasetget_resource_info- Get detailed information about a filequery_resource_data- Query data from CSV/Excel files via Tabular APIdownload_and_parse_resource- Download and parse large files
search_dataservices- Search for registered APIs by keywordsget_dataservice_info- Get detailed API metadataget_dataservice_openapi_spec- Fetch OpenAPI specifications
get_metrics- Get visits and download statistics
Who should use this?
The data.gouv.fr MCP Server is designed for: Developers building applications that need access to French Open Data without managing API integrations manually. Data analysts who want to explore and query datasets conversationally without writing code or downloading large files. Researchers investigating French public data who need quick access to multiple datasets and their metadata. AI application builders creating tools that require real-time access to government statistics, geographic data, or public records.The MCP server is read-only and requires no API key. All data from data.gouv.fr is freely accessible under open licenses.
How it works
The MCP server acts as a bridge between your AI chatbot and the data.gouv.fr platform:- You ask a question in natural language to your AI assistant
- The AI decides which MCP tools to use based on your question
- The MCP server calls data.gouv.fr APIs and retrieves the data
- The AI receives the data and formulates a response
- You get an answer with the information you need
Hosted endpoint
A public MCP server instance is available at:Next steps
Quickstart
Connect your AI chatbot in 3 simple steps
Client setup
Detailed setup guides for Claude, ChatGPT, Gemini, and more
Docker deployment
Self-host the MCP server with Docker Compose
Explore the tools
Learn what each MCP tool can do