MCP servers · Public data
data.gouv.fr MCP server: connect AI agents to French open data from the EU
The data.gouv.fr team runs an official, open-source MCP server for France's national open data platform. It lets an agent search datasets, read tabular files and explore the public APIs catalogued on the platform, without any key. inference.eu agents connect to the public endpoint, so analysts can ask questions about public data in plain language.
- 01Authentication: None
- 02Official server
- 03EU data centres
What agents can do with it
- 1
Search and inspect datasets
`search_datasets`, `get_dataset_info`, `list_dataset_resources` and `search_organizations` find datasets by keyword and return metadata, licence, publisher and the files each dataset contains.
- 2
Query tabular data
`query_resource_data` reads rows from CSV and Excel resources through the Tabular API, page by page, and `get_resource_info` returns format, size and the raw file URL for larger files.
- 3
Explore public APIs and usage
`search_dataservices`, `get_dataservice_info` and `get_dataservice_openapi_spec` describe third-party public APIs such as the address or Sirene APIs, and `get_metrics` returns monthly visits and downloads.
What data.gouv.fr and its MCP server are
data.gouv.fr is France's national open data platform, run by the interministerial digital directorate (DINUM). It hosts tens of thousands of datasets from ministries, local authorities, public bodies and companies, plus a catalogue of public APIs.
Its MCP server, datagouv-mcp, is an experiment by the data.gouv.fr team and is published under the MIT licence on GitHub. A public instance runs at https://mcp.data.gouv.fr/mcp over Streamable HTTP, with read-only tools and no access restrictions. You can also run it yourself with Docker.
What agents can do with data.gouv.fr
A policy analyst can ask which air quality datasets were updated this week, let the agent find them, preview the files and compare two regions. A journalist can ask for the latest public data on electric vehicle charging points and get a table with sources.
Agents also help developers: they search the API catalogue, read an OpenAPI description and explain how to call, for example, the national address API. Combined with other connectors, an agent can enrich a list of companies with public data before a market study.
Setup and authentication
No account or key is needed. On inference.eu, add the data.gouv.fr connector to an agent, and it connects to the public endpoint https://mcp.data.gouv.fr/mcp. The tools appear straight away, and you can choose which agents and people may use them.
If your organisation prefers its own instance, deploy the server from the GitHub repository with Docker and point the connector at your URL instead. The DATAGOUV_API_ENV setting switches between the production platform and the demo platform for testing.
Data protection and where the data goes
The tools only read open data published under open licences, so there is no personal account data involved. Your agent's search queries go to the data.gouv.fr server, which is operated by the French administration.
On inference.eu, the model that reads the results runs in EU data centres. Keep in mind that questions themselves are sent to the server as search terms, so avoid putting confidential details into queries. Reuse of the data follows each dataset's licence, usually the Licence Ouverte 2.0.
Approvals and safe use
All tools are read-only, so the main risk is a wrong answer, not a wrong action. The data.gouv.fr team itself warns that language models can return incomplete or inaccurate answers from public data.
Ask agents to cite the dataset, file and date for every figure, and check important numbers in the source file. On inference.eu you can still require approval for calls in other connectors that publish or send results, so a person reviews a report before it leaves your team.
data.gouv.fr: common questions
The questions buyers, developers and legal teams ask us most. Something missing? Ask us directly.
Related
- INSEE SireneConnect inference.eu agents to INSEE's Sirene register through an open-source MCP server. Look up SIREN and SIRET numbers, NAF codes and economic series.Company data
- LégifranceConnect inference.eu agents to Légifrance through an MCP server built on the official PISTE API. Search codes, laws and case law with verifiable citations.Law and regulation
- France TravailConnect inference.eu agents to the official France Travail APIs through an open-source MCP server. Search job offers, ROME occupations and hiring companies.Public data
- PappersConnect inference.eu agents to the official Pappers MCP server. Look up French companies, accounts, directors, beneficial owners and legal notices.Company data
Move your AI workloads to EU infrastructure
Tell us which models you use and roughly how much traffic you have. We reply within one working day with pricing and next steps.
- Reply within one working day
- Pricing for your volume
- DPA ready to sign