- Claude Desktop
- Claude Code
Setup for Claude Desktop
Claude Desktop uses a JSON configuration file to manage MCP server connections.1. Locate the configuration file
The configuration file location depends on your operating system:2. Add the MCP server configuration
Open the configuration file in a text editor and add the following configuration:"datagouv" entry inside the existing "mcpServers" object.3. Restart Claude Desktop
Close and reopen Claude Desktop to apply the changes. The data.gouv.fr tools should now be available in your conversations.Verify the connection
You can verify the connection by asking Claude:“What tools do you have available for data.gouv.fr?”Claude should list the available tools like
search_datasets, get_dataset_info, etc.Self-hosting
If you’re running your own instance of the MCP server instead of using the hosted endpoint, replacehttps://mcp.data.gouv.fr/mcp with your server’s URL.
For local development, the default endpoint is http://127.0.0.1:8000/mcp.
Next steps
- Learn about available tools you can use
- See example queries to get started
- Review the API reference for advanced usage