Skip to main content

en es

INE-MCP. MCP Integration with INE API

INE is Spain's National Statistics Institute.

INE-mcp allows access to official Spanish statistical data directly from Claude AI and other compatible MCP clients using the Model Context Protocol (MCP).

INE-mcp is an MCP server that exposes tools for LLMs to query economic, demographic and social indicators from INE.

Key Features

  • Economic indicators query (GDP, CPI, unemployment, etc.)
  • Access to demographic data (census, migrations, birth rates)
  • Historical time series of statistical data
  • Metadata of official statistical operations
  • Filtering by territory, period and specific variables
  • Structured responses in JSON format

Installation

Install from uv

Prerequisites

  • Python 3.10 or higher
  • uv package manager

uv Installation

First install uv, a Python package manager.
Install from terminal:

For Mac and Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

For Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Alternatively install with pip:

pip install uv

For more details about uv installation, see official documentation.

Integration with Desktop Clients like Claude

Once uv is installed, you can use the MCP server from any compatible client like Claude Desktop by following these steps:

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
  2. Add this code block under "mcpServers":
"ine_mcp": {
    "command": "uvx",
    "args": [
        "ine_mcp"
    ]
}   
  1. Consult INE's official documentation: https://www.ine.es/dyngs/DAB/index.htm?cid=1099
  2. If you have other MCP servers configured, separate them with commas ,.

For integration with other MCP-compatible clients like Cursor, CODEGPT or Roo Code, simply add the same code block to the client's MCP server configuration.

Usage Examples

Once properly configured, you can ask things like:

- "What data from Spain's INE can you access?"
- "Find data from the Active Population Survey (EPA)"
- "Show me price indices for steel products during Q1 2023"
---

Metadata

Release files for ine-mcp 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ine-mcp 0.1.3
File Size Uploaded
ine_mcp-0.1.3.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ine-mcp 0.1.3
File Interpreter ABI Platform
ine_mcp-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / ine_mcp-0.1.3.tar.gz

Download URL ine_mcp-0.1.3.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
816b7be6faebc5c47e886132beed4ef59b0a6f8e2ff97521212dbc45115cc7a2
BLAKE2b-256 checksum
How to use checksums
f88848d47eabcc5a7beef4004721dc5978348bb8f26ec9d50b029bda19a4f941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release files / ine_mcp-0.1.3-py3-none-any.whl

Download URL ine_mcp-0.1.3-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d406ff38fe004a6ea516632bb7faff2bfa3f67cbbc9d80809becfed6a81c01e8
BLAKE2b-256 checksum
How to use checksums
7250962235789b24eeca0938ae5538b9ba02396d72116296b64d65af0ffe9a46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page