data.gouv.fr MCP
data.gouv.fr MCP Server
Official MCP server for France's open data portal: search, explore and query datasets straight from a chat with the agent
- 1,610 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Connects to a remote endpoint and reads data from an external API
- When self-hosted, it runs a network server on the host
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/data-gouv-fr-mcp-serverDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Connects to a remote endpoint and reads data from an external API
- When self-hosted, it runs a network server on the host
This is third-party code. Review the repository files before installing.
What it does
The server exposes data.gouv.fr, France's national open data portal, to the agent through a set of MCP tools. The agent searches datasets and organizations, reads descriptions and metadata, lists the resources inside a dataset, reaches tabular data and data services, and pulls usage metrics. A public hosted HTTP endpoint is ready for any MCP client, and self-hosting is available through Docker or uv. For now the server exposes read-only tools, so no access key is required.
Who it is for. For analysts, researchers and developers who need French open data without hand-searching the portal.
Good fit when
- You need to find a dataset on data.gouv.fr by topic and inspect its resources
- You need to query rows from a tabular resource without downloading the whole file
- You need to gather a dataset's metadata and usage metrics for a report
Not a fit when
- You need data from outside the French portal
- You need to write or change data rather than only read it
Example request
Find datasets about real estate prices on data.gouv.fr and show what resources they containMCP
- Transport
- http
- Authentication
- not required
Environment variables
DATAGOUV_API_ENV- Portal environment for self-hosting: prod by default or demo.
MCP_PORT- HTTP server port for local runs, 8000 by default.
SENTRY_DSNsecret- Sentry DSN for error monitoring, disabled by default.
Limitations
The server works only with data.gouv.fr data and exposes read tools; it cannot edit data. The public endpoint serves the portal's production environment; the demo environment needs self-hosting with the DATAGOUV_API_ENV variable. Local runs need Docker or uv. On Windows with Claude Desktop the mcp-remote bridge may fail to connect because of the client's built-in Node, in which case the config sets isUsingBuiltInNodeForMcp to false.
How to disable. Remove the datagouv server from your client's MCP configuration. If you ran it locally, stop the container with docker compose down.
FAQ
Do I need an access key?
No. The server currently exposes only read tools, so no key is required.
Can I avoid the public endpoint?
Yes. The repository runs locally through Docker or uv, and then you point your client to your own URL.
Discussion
No questions or reviews yet.
Related
MCP serversData-gov-il-mcp opens Israeli government open data from data.gov.il to an agent: datasets, organizations, tags and table records.
An MCP server for more than 40 open US government APIs: economy, health, Congress and lobbying, with over 300 tools.
An MCP server for Brazil's open data: economy, laws, public procurement, courts, elections, environment and more
Fuentes públicas: an MCP catalog of Spanish public data
Administracion-fuentes-publicas
An MCP server that guides through Spanish public data: where a dataset lives, how to request it, what it returns and the traps
Official Data Commons MCP server: an agent finds statistical indicators and pulls observations for countries, regions and cities.
Six MCP servers that give an agent South Korean open data: company registries, public procurement and financial statements
README in short
The README shows how to connect the server to many clients: Claude Code, Claude Desktop, Cursor, Gemini CLI, VS Code, Windsurf, OpenCode and others. The recommended path is the public endpoint https://mcp.data.gouv.fr/mcp with no access restrictions. Tools cover dataset and organization search, metadata reading, resources and tabular data, data services and metrics. For self-hosting it documents Docker Compose and a manual uv install with a set of environment variables. MIT licensed.