The Spanish statistics office has published a new access point to its data for applications using artificial intelligence . The server is intended to let digital assistants retrieve official figures directly through the institute’s public application programming interface. The Instituto Nacional de Estadística (INE) unveiled the service on 26 November 2026.
The server uses the Model Context Protocol, or MCP for short. This technical standard is designed to connect artificial intelligence applications with external sources of information. According to the INE, users can ask questions in everyday language without needing to know how statistical tables are structured or what variables they contain. The assistant is then supposed to select the relevant survey, table and filters.
As an example, the statistics office cites a question about the latest price trends in Spain. An assistant connected to the server is supposed to retrieve the data published at the time of the request through the INE’s interface, rather than relying on knowledge stored during training or a general internet search. According to the authority, questions about Unemployment rate or the population of an area could also be use cases.
According to the institute, each answer is to include the relevant statistical survey, a link to the data table and the filters applied. This allows users to see what selection a figure is based on and check it against the table.
Access to the latest dataset alone, however, does not guarantee a correct interpretation. It remains crucial that the assistant selects the relevant survey and the right period, and that the figure actually relates to the area in question. The INE itself points to the risk that assistants may provide outdated, provisional or inaccurate figures.
According to the institute, the source code, installation instructions and further materials are available on the GitHub platform. It also provides guidance for individual assistants and for setting up the server on a local computer. The server can be used with applications and models that support the protocol.
A further option that does not require local installation has only been announced: the INE says it intends to make its own server available in the coming days. The authority has not given an exact date.
Editor: Daniel Mayer (Article created with AI assistance).