Idescat MCP Server
Query official statistics of Catalonia (Idescat): tables, metadata and JSON-stat data via MCP.
Connect it
Settings → Connectors → Add custom connector
URL: https://api.idescat.cat/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://api.idescat.cat/mcp{
"mcpServers": {
"mcp": {
"url": "https://api.idescat.cat/mcp"
}
}
}claude mcp add --transport http mcp https://api.idescat.cat/mcp{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.idescat.cat/mcp"
}
}
}7 tools, verified live
get_idescat_statsObtains the complete list of Idescat statistics (all, normalized and non-normalized). It has no parameters. The response contains a 'statistics' array where each element has: 'acronym' (lowercase acronym, e.g., 'censph', to be used as the 'stat' argument of the other tools), 'name' (title), 'description' (summary), 'datasets' (boolean), 'geo' (array of available territorial disaggregations), and '
get_idescat_statObtains information about an Idescat (Statistical Institute of Catalonia) statistic given its acronym. Use it when the user asks about a specific statistic identified by its acronym (for example, CENSPH, EPA, PIBC, AFI, etc.). The 'datasets' field is a key boolean: if true, the statistic is normalized and therefore available in get_idescat_stat_tables and the rest of the table-level tools (metadat
get_idescat_stat_tablesObtains the list of tables for an Idescat statistic given its official acronym. Use it when the user asks what tables or information a statistic has. The response contains a 'tables' array where each element has 'id' (numerical identifier) and 'name' (table title). Present each table as: name (id). Inform the user that they can request more details about a table by indicating its identifier.
get_table_metadataObtains the metadata for a specific Idescat table in JSON-stat format, given the statistic acronym (stat) and the table identifier (table). Use it when the user wants to know the details of a table: dimensions, categories available for each dimension (time periods, territorial scopes, sex, etc.), date of last update, units, etc. The acronym and identifier are previously obtained with get_idescat_s
get_table_dataRetrieves the data (values) of an Idescat table in JSON-stat format for a territorial division. You can retrieve the ENTIRE table (without filters) or only a SUBSET by passing the OPTIONAL parameters 'filters' (specific categories per dimension) and/or 'last' (number of last time periods); filtering returns smaller responses and allows querying tables that as a whole would exceed the limit. The fi
get_table_geoObtains the list of territorial divisions available for an Idescat table (for example: cat=Catalonia, com=counties and Aran, mun=municipalities, prov=provinces, at=territorial plan areas). The response contains a 'divisions' array where each element has 'id' (division code) and 'name' (label). Often it is NOT necessary to call it because get_table_metadata already returns these divisions in 'link.
render_tableReturns a Markdown table already built with the filtered data from an Idescat table, ready to be shown to the user without having to interpret the JSON-stat. It includes the title, units, the table with category labels, status notes (e.g., provisional data), and ALWAYS a final link to the table on the Idescat website that must be kept in the response to the user. By default, it puts the time dimen
Change history
Alternatives in Other
Compare →UPUNIDROIT Principles 2016A
UNIDROIT Principles 2016 as executable rules: closed questions answered with grounds and source text
HemmaBo Host Booking EngineA
6 runtime tools: 2 HemmaBo tools, 2 host onboarding tools, and 2 VRP verification tools. Not an OTA.
Fair Value MCP ServerA
Valuation MCP: DCF/NAV/CCA, WACC, derivatives, credit risk, fixed income, structured products.
Nibomo FlashcardsA
Read, write, and conversationally review open-source flashcards through split read/write MCP tools.
Domain IntelligenceA
WHOIS/RDAP, DNS, SSL, live subdomains with IPs, and SPF/DMARC/DKIM for any domain.
CHChangeThisFileA
1,000+ conversion routes plus translate, extract tables, compress. 25 free/month, then a free key.