Official stats for AI agents: Spain ships an MCP server, Germany makes do with DIY tools

Spain's statistics office INE has released an official MCP server that lets AI assistants pull figures straight from its official database. If you want to connect Destatis or Eurostat data to an AI agent in Germany, you'll have to rely on about a dozen third-party projects. We compared what they offer and spot-checked figures against the original tables. One finding: even a number that really does come “from the API” can be out of date.

Analysis Nov 29, 2026 8 min read Original analysis by our editors
Illustrative image, AI-generated

What this is about

Ask ChatGPT or Claude for the unemployment rate and you'll get a fluent answer. But you can't tell whether the number is correct, current or even from an official source. Statistics offices want to fix that with MCP servers. MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external tools and data sources, a kind of universal plug between chatbot and database. Instead of answering from memory, the AI fetches the number live from the statistics office.

On November 26, 2026, Spain's statistics institute INE released such a server as an official project. France and India have had their own servers since February. For Germany's Federal Statistical Office (Destatis) and for Eurostat, there are only third-party projects. We compare the official offerings, take a closer look at the unofficial ones and use spot checks to show where the risks are.

A word on method first: we did not run a full agent test with identical questions across all servers for this article. Instead, we looked up the original figures at the statistics offices, queried the Eurostat API directly and checked which data sources the third-party tools say they use.

The official servers compared

INE (Spain) data.gouv.fr (France) NSO/MoSPI (India)
Launch Nov 26, 2026 Feb 25, 2026, “experimental” Feb 6, 2026, beta/pilot
Tools 5, read-only 10 (7 at launch), read-only 4
Hosting local; remote “coming soon” Remote: mcp.data.gouv.fr/mcp Remote: mcp.mospi.gov.in
Key required no no none, per docs
Code license EUPL-1.2 MIT MIT
Source attribution operation, table with URL, filters dataset metadata not documented
Scope 166 operations, 110 with tables open data catalog 7 datasets at launch, now 34 per GitHub

Spain: The code is at github.com/es-ine/mcp. The five tools have to be called in a fixed order: find a statistical operation, list its tables, query the variables, select values, fetch the data. For now you install it with uv and Python 3.11. The planned remote service will use Streamable HTTP, so you'll just add a web address to your assistant, with no login required. The INE promises:

“Every figure that appears in the answer comes from the API.”

Xataka writer Iván Linares says his AI agent installed the server by itself in about ten minutes. A chart of population trends over 40 years took about five minutes, and a comparison of unemployment and inflation since 2019 about eight. His spot checks were correct, but he admits he didn't check very rigorously and recommends opening the table URL the server provides. Three days in, three bug reports are open on GitHub. One says that over HTTP, all clients share the same workflow state. That matters for the planned public remote service. Another reports that a data query without filters returns 4.4 MB.

France: This server doesn't come from the statistics office INSEE but from the open data portal data.gouv.fr. It searches datasets and can query CSV files of up to 100 MB. The portal explicitly warns that there are “numerous MCP servers claiming to be connected to data.gouv.fr without being official”. INSEE's lab does have its own server (InseeFrLab/mcp_diffusion), but labels it “BETA – not production-ready” and not officially supported. Its databases are static copies dating from July 2026.

India: The NSO launched with seven datasets, including its labour force survey and consumer prices. The README in the GitHub repo now lists 34, so the pilot really has been expanded.

Germany and Eurostat: about a dozen third-party projects

Destatis doesn't mention MCP or AI agents on its open data page, and we found no announcement. The official route is the GENESIS REST API, and that's what the third-party projects build on:

Project Hosting Access Status per source
Syndicats/destatis-genesis-mcp npm, local GENESIS token 10 tools, 3 commits, 1 star; explicitly says it's unofficial
inooLabs/destatis-mcp local/Docker token 8 tools, 5 commits, no license, doesn't say it's unofficial
maschinenlesbar-org/destatis-genesis-cli CLI + MCP token or login 281 commits, AGPL, 0 stars
destatis-mcp (npm, Greyt GmbH) npx, local GENESIS account 14 tools, MIT
AnythingMCP (helpcode.ai GmbH) cloud or self-hosted GENESIS credentials cloud with 7-day trial
Pipeworx mcp-destatis hosted gateway 50 anonymous requests/day Glama on Nov 29: “unhealthy”, 47.8% uptime in 24 h
AiAgentKarl/germany-mcp-server local no key Destatis figures come via Eurostat, time series from 2020

Glama also flags that only two of the Pipeworx connector's 50 tools relate to Destatis. The rest cover prediction markets, memory functions and routing. The directory site vibehackers.io offers a ready-made prompt to paste “into the AI you're chatting with”, and the assistant then installs the server by itself. That's convenient, but there's no provenance check. And if you use AnythingMCP in the cloud, you're handing your GENESIS credentials to a third party.

The picture is similar for Eurostat. The most fully developed option appears to be cyanheads/eurostat-mcp-server (version 0.11.4, Apache 2.0, hosted endpoint with no key needed). At least it returns dataset codes and the date of the last update. Its README doesn't say it's independent of Eurostat. For ONS (UK), CBS (Netherlands), Statistik Austria and Switzerland's FSO, we also found only third-party servers. Statistik Austria did host an AI hackathon on “AI-ready data offerings” in June.

Spot check: what “from the API” doesn't prevent

The original figures as of November 29, 2026:

Question Spain Germany
Unemployment rate 10.18% (INE, EPA Q3, Oct 27); Eurostat monthly: 10.3% (Sept.) 6.3% (Federal Employment Agency, Oct.); ILO rate: 4.1% (Destatis and Eurostat, Sept.)
Inflation 4.9% (Oct., final); Nov. flash estimate: 4.1% (Nov 27) Consumer prices Oct.: 2.8%; EU-harmonized (HICP): 2.9% (revised from 2.8% on Nov 17)
Population 49,935,642 (Oct 1, 2026, provisional) 83.3 million (June 30, 2026)

The spot check reveals three risks, and none of them is a made-up number:

1. Discontinued datasets. NexusForge's Eurostat tools (“mcp-eu-finance”) and other wrappers name the inflation dataset prc_hicp_manr in their descriptions. Our query of the Eurostat API shows its title now says “1997–2025”. It was last updated on February 6, 2026 and has been replaced by prc_hicp_minr, because a new product classification took effect in January 2026. Its most recent figure is December 2025, at 2.0% for Germany, while the current dataset reports 2.9% for October 2026. So an agent asking one of these tools gets a real number from the API that's almost a year old. We couldn't check whether the tools have since been updated.

2. Ambiguous terms. Ask for the “unemployment rate in Germany” and the Federal Employment Agency says 6.3%. Destatis and Eurostat report 4.1% under the international ILO definition, which only counts people with no work at all who are actively looking. For Spain, the INE's quarterly figure and Eurostat's monthly estimate also differ. A server can pass every value through correctly, and the answer is still misleading if the AI doesn't state the definition.

3. Revisions and provisional figures. Destatis revised its October HICP after a data collection error. Spain's November figure is a flash estimate, and its population figure is provisional. Wrappers that cache data or use static copies, like the INSEE lab server, freeze old releases in place. The INE itself warns about exactly these traps: AI assistants often cite provisional rather than final figures, or outdated values.

What an official server does better, and what it doesn't

Our take: an official server mainly solves three problems. You know who runs it. It gets maintained when the office restructures its datasets. And attribution with a table URL makes every number verifiable. The World Bank recommends exactly this to statistics offices in a guide: every observation should come with its time period, unit, status (provisional or final), release date and source URL. Offices should also clearly label which servers they run themselves.

What even the INE server can't guarantee is that the language model picks the right table, states the definition and copies the number correctly. The README disclaims all warranties. The promise that “every figure comes from the API” protects you against invented values, but not against wrongly chosen ones.

Our verdict

Spain shows how it can be done: open code, no login and a source link for every number. But the server is three days old, runs only locally for now and has its first teething problems. France's offering is more an open data catalog than a way into official statistics. India has visibly expanded its pilot.

In Germany, your choice is between one-star hobby projects, commercial gateways with request limits and patchy availability, and services that ask for your GENESIS credentials. The biggest risk isn't a completely made-up number but a real one that's outdated or defined differently. If you use these servers, always ask for the table code and release date, and spot-check the number in GENESIS or on Eurostat. Whether and when Destatis or Eurostat will follow suit is unclear. Neither has announced anything so far.

Sources

#mcp#statistics#ai agents#open data#destatis#eurostat

Ask the AI assistant

Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.

Connecting …

The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.

Comments

What do you think? Already tried it? Write it here, no sign-up needed.

  1. Loading comments …

Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.