Free and open source

Spain: official statistics in your AI assistant.

Search 6,968 tables from National Statistics Institute of Spain. Data under CC BY 4.0. Free, no sign-up.

Spain · National Statistics Institute of Spain

Endpointhttps://statsmcp.dev/es/mcpLive

EU and EFTA · Åland Islands · Australia · Belgium · Brazil · Canada · Croatia · Czechia · Denmark · Estonia · Faroe Islands · Finland · France · Iceland · Ireland · Kosovo · Lithuania · Luxembourg · Moldova · Netherlands · North Macedonia · Norway · Poland · Portugal · Slovenia · Spain · Sweden · Switzerland · United Kingdom

No logs · No sign-up · No cookies

Figure 1 · Example conversation

You

What is the unemployment rate in Spain?

Claude

3 tool calls
  1. search_tables
  2. get_table_metadata
  3. query_table

Unemployment rate, %

10.18

The unemployment rate in Spain was 10.18% in the third quarter of 2026. In the third quarter of 2025, it was 10.45%.

Source: INE, table 65219

How it works

  1. Step 1 · search_tables

    Find the table

    The assistant searches thousands of official tables by keyword.

  2. Step 2 · get_table_metadata

    Read the variables

    It reads the periods, regions and measures, and finds the codes.

  3. Step 3 · query_table

    Get the figures

    It gets the data with readable labels, the source and a link to the table.

Connect in under a minute

Streamable HTTP · read-only · no sign-in · 60 requests/min

  1. Open Settings, then Connectors.
  2. Select Add custom connector.
  3. Name it StatsMCP ES and paste the endpoint.
  4. Ask a question about Spain.
https://statsmcp.dev/es/mcp
Step-by-step guide

See all 29 sources

Questions

Is it free?

Yes. The hosted endpoints are free, with a limit of 60 requests per minute. The code is under the MIT licence.

Is StatsMCP official?

No. StatsMCP is independent and is not affiliated with or endorsed by any statistics office. The data comes directly from each office's public API.

Do you store my questions?

No. We keep no logs, and this website uses no cookies or analytics. Your assistant sends only search words and table codes to our server. Your AI provider still sees your conversation. Read the privacy page.

Can I connect several countries?

Yes. Connect https://statsmcp.dev/mcp once and ask about any country. To use only one office, connect its own endpoint from the Countries page. Connect to only one office

Can I run it on my own computer?

Yes. The servers are on npm. Open the Run locally tab in Connect. Then your questions go only to the statistics office.

How can my country be added?

Open an issue on GitHub. We can add most offices that have a public API.