Idescat MCP Server — Claude Code MCP server for Catalonia statistics
Connect an AI coding client to Idescat’s official Catalonia statistics, from table metadata to filtered JSON-stat results. Useful for regional and time-based queries.
claude mcp add --transport http mcp https://api.idescat.cat/mcpWhat Idescat MCP Server does
This remote MCP server lets a client search Idescat’s statistics catalogue, inspect a statistic and its tables, and retrieve table metadata or data. Queries can filter by territory, dimension, and period; results can also be rendered as Markdown tables.
For calculations, tools support category sums and derived shares, differences, or percentage changes. Age-based filters are available too. Data comes as JSON-stat, while labels and descriptions are in Catalan, so factor that in when an answer needs to be readable without translation. The endpoint is public and requires no API key; the server is stateless. In Claude Code, add it with claude mcp add --transport http mcp https://api.idescat.cat/mcp.
What it helps with
- find available Idescat statistics
- inspect table dimensions and categories
- filter results by territory and period
- render selected statistics as a Markdown table
- calculate a share or change from table values
Example prompts for the agent
- Find Idescat population statistics and list the available tables.
- Get data for table
538of statisticcensphfor Catalonia and recent periods. - Compare territorial values and calculate their percentage change.
How to install Idescat MCP Server
Platform CLI: remote server
claude mcp add --transport http mcp https://api.idescat.cat/mcpPlatform CLI: remote server
codex mcp add idescat-mcp-server --url https://api.idescat.cat/mcpConfig file
{
"mcpServers": {
"idescat-mcp-server": {
"url": "https://api.idescat.cat/mcp"
}
}
}Config file
{
"servers": {
"idescat-mcp-server": {
"type": "http",
"url": "https://api.idescat.cat/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http idescat-mcp-server https://api.idescat.cat/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Idescat MCP Server
How do I install Idescat MCP Server in Claude Code?
Run claude mcp add --transport http mcp https://api.idescat.cat/mcp to register the remote server over HTTP.
What does Idescat MCP Server do?
It gives an MCP client access to Idescat’s official statistics catalogue, table metadata, and JSON-stat data. It can also return a formatted Markdown table.
What language are Idescat labels in?
Labels and descriptions are in Catalan. The statistics cover Catalonia and its territorial divisions.