# Spain’s INE publishes MCP link for AI to consult official statistics

The connection follows five steps and returns data references. Accessing the source does not guarantee that every assistant selects or interprets the correct indicator.

By Wellinton Oliveira, CEO of Lyntev. Published: 27 November 2026, 16:15.

https://news.lyntev.com/news/spain-ine-mcp-official-statistics

## Key points

- Code and local setup instructions were announced on 26 November.
- An INE-hosted remote endpoint is not yet listed in the consulted documentation.
- Results identify the operation, table and filters so the source can be checked.

Spain’s National Statistics Institute has published a server that lets artificial intelligence assistants consult its official statistics through a standard connection. The announcement, dated 26 November, covers code and instructions for running the tool locally. An institute-hosted remote server was promised for the following days, without an address or opening date already published.

The distinction matters: the initiative does not automatically connect every assistant to INE. A compatible Model Context Protocol, or MCP, client must be configured. The protocol defines how an AI application discovers and uses external tools. In this case, the connection searches for and retrieves public data rather than changing the statistics.

[Spain’s INE announcement](https://ine.es/dyngs/masINE/noticia.htm?cid=15) presents the initiative as a way to bring answers closer to up-to-date information at its source. The [official technical documentation](https://github.com/es-ine/mcp) identifies what is available, the query sequence and its limits. This is the Spanish institute, rather than Portugal’s organisation with the same acronym.

## What can already run on a local computer

The repository provides the program, installation instructions and configuration examples for compatible clients. The consulted version specifies Python 3.11 or later and describes two transports: a local process’s standard input and output, or an HTTP connection. Neither establishes that an INE-operated remote service is already available.

The documentation still labels that hosted endpoint as forthcoming. INE expects it to remove the need for local execution, but the plan does not show that the endpoint is operational. The announcement also does not introduce a new AI model or an INE conversation application.

The figures come from the institute’s public application programming interface, or API. This is the infrastructure that makes statistics available in a machine-readable format. MCP adds an organised route for an assistant to navigate that information and return the reference it used.

## Five steps before returning observations

The tool separates discovery of a statistical operation from extraction of its values. A search for inflation, for example, can find several operations involving prices. The appropriate one must be chosen before identifying a table, its variables, filter values and period.

| Step | What it searches for or returns |
| --- | --- |
| Operation | The relevant statistical collection, such as prices or employment |
| Table | An available table within the chosen operation |
| Variables | The dimensions organising that table |
| Values | Categories that can be used as filters |
| Observations | Filtered data, with a reference to the source |

The published code and instructions say the server checks the order and identifiers used. A premature step or a filter that does not match previously retrieved values can be blocked. These checks reduce navigation errors, but do not establish that an assistant understood the economic question or selected the intended indicator.

The documented catalogue contains 166 operations, of which 110 have tables available in that inventory. The remainder do not become queryable merely because they appear in the list. Actual coverage depends on the published data and the API’s availability.

## References make the answer easier to check

INE says results include the operation, a table with its public link, and the filters applied. This trail allows a reader to check the territory, period and category behind a figure, rather than accept a plausible sentence from an assistant alone.

It remains necessary to distinguish a monthly rate from an annual one, provisional figures from final figures, and seasonally adjusted series from unadjusted series. Access to the source does not remove those distinctions or replace statistical interpretation. The institute’s own legal notice acknowledges that published content can contain errors and subsequent corrections.

In [Marketing4eCommerce](https://marketing4ecommerce.net/ine-mcp-asistentes-ia/), María Bastero’s report of 27 November highlights potential uses in online commerce and explains the configuration still required. Those are possible analytical applications; the report does not present a trial measuring time savings or improvements in business decisions.

## The remote endpoint and further coverage remain to be confirmed

In a local Lyntev check, the official program exposed all five tools and answered a catalogue search using price-related terms. The record confirms that discovery operation, rather than testing every table or the accuracy of answers generated by AI models. The screenshot shows the server inside a technical client, MCP Inspector, rather than a new official conversation interface.

The next verifiable developments are publication of the promised remote endpoint, its instructions and coverage changes announced by INE. For now, the available code and API support a local connection with traceable data and identified limits, without themselves guaranteeing that every final answer is correct.

## Sources

- [El INE publica un servidor MCP para mejorar la respuesta de la IA en la búsqueda de sus datos oficiales](https://ine.es/dyngs/masINE/noticia.htm?cid=15), Instituto Nacional de Estadística de España
- [INE MCP — documentação e código oficiais](https://github.com/es-ine/mcp), Instituto Nacional de Estadística de España
- [API JSON del INE — documentación](https://www.ine.es/dyngs/DAB/index.htm?cid=1099), Instituto Nacional de Estadística de España
- [El INE presenta su MCP para facilitar el acceso de asistentes de IA a información oficial y actualizada](https://marketing4ecommerce.net/ine-mcp-asistentes-ia/), María Bastero / Marketing4eCommerce
- [Aviso legal — reutilización y calidad](https://ine.es/dyngs/AYU/index.htm?cid=125), Instituto Nacional de Estadística de España
- [Captura própria — consulta local INE MCP em MCP Inspector](https://noticias.lyntev.com/media/originais/ine-mcp-72e264e6.png), Lyntev
- [Licenças e origem do software na captura](https://noticias.lyntev.com/media/licencas/ine-mcp-inspector.txt), Lyntev / INE / Model Context Protocol contributors

## Topics

- [AI agents](https://news.lyntev.com/topic/ai-agents)

Published by Lyntev News, a portal by Lyntev (https://lyntev.com/en).
