What are MCP clients?
MCP clients are AI applications that support the Model Context Protocol (MCP). These clients can connect to MCP servers to access additional tools and data sources during conversations. The data.gouv.fr MCP server allows you to search, explore, and analyze datasets from France’s national Open Data platform directly through AI conversations, without manually browsing the website.Supported clients
The data.gouv.fr MCP server supports a wide range of AI clients:- Claude Desktop and Claude Code - Anthropic’s desktop and CLI clients
- ChatGPT - OpenAI’s web-based chatbot (paid plans only)
- Gemini CLI - Google’s command-line interface
- Cursor - AI-powered code editor
- VS Code - Microsoft’s code editor with MCP support
- Windsurf - Codeium’s AI-powered editor
- HuggingChat - Hugging Face’s web-based chatbot
- IBM Bob - IBM’s AI assistant
- Kiro CLI and Kiro IDE - Kiro’s command-line and IDE tools
- Le Chat (Mistral) - Mistral’s web-based chatbot
- Mistral Vibe CLI - Mistral’s command-line interface
- AnythingLLM - Multi-model LLM interface
Hosted endpoint vs self-hosting
Using the hosted endpoint (recommended)
The easiest way to connect is using the public hosted endpoint:Self-hosting
You can also run the MCP server locally on your own infrastructure. If you choose to self-host, simply replacehttps://mcp.data.gouv.fr/mcp with your own server URL in the configuration examples.
For self-hosting instructions, see the Run locally guide.
General MCP configuration structure
Most MCP clients use JSON configuration files to connect to servers. The configuration structure varies by client, but typically includes:- Server name - A unique identifier for the server (e.g.,
"datagouv") - Connection method - Either HTTP URL or command-based (using
npx mcp-remote) - Server URL - The endpoint URL (
https://mcp.data.gouv.fr/mcp) - Transport type - Usually
http,streamable, orstreamable-http
HTTP transport
The data.gouv.fr MCP server uses Streamable HTTP transport only. STDIO and SSE transports are not supported. Some clients connect directly via HTTP URL:Command-based transport
Other clients usenpx mcp-remote as a bridge:
Next steps
Choose your client and follow the setup guide: Once connected, you can start asking questions like:- “Quels jeux de données sont disponibles sur les prix de l’immobilier ?”
- “Montre-moi les dernières données de population pour Paris”
- “Search for datasets about public transportation in Lyon”