Idescat MCP: official Catalan statistics in your AI app
Idescat publishes the official statistics of Catalonia, and its MCP server answers queries against them: statistical tables, their metadata and data in JSON-stat format. Through ContextGate, a researcher in Claude, ChatGPT or Cursor can ask for a Catalan statistic in plain words, switch off unused tools and find each query in Activity.
Ready to connect
Free
7 example tools
Connect Idescat to Claude, ChatGPT or Cursor
1Click Connect Idescat free. There's no sign-in, so its tools are ready at once.
2Idescat's seven tools query statistics, and all start on. If your AI app should show finished tables rather than raw JSON-stat, keep `render_table` and switch off `get_table_data`.
3Add ContextGate to your AI app as a connector or MCP server. The steps for each app are on the Works with page.
4Ask your AI app for an Idescat table on a topic you're researching and what its metadata says, then look the query up in Activity.
Working with Catalan statistics
Find a statistic by its acronym, such as EPA or PIBC, and list its tables with `get_idescat_stat_tables`.
Read a table's metadata with `get_table_metadata` to understand what it measures.
Pull data in JSON-stat format for Catalonia, its counties or its municipalities, for analysis in Cursor or a notebook.
Get a ready-to-read Markdown table with `render_table`.
Queries on record
Tools you switch off are hidden from Claude, ChatGPT and Cursor alike.
Activity records every Idescat query.
What you get with Idescat and ContextGate
Your AI apps can use IdescatClaude, Cursor, ChatGPT and other AI apps reach Idescat through the one ContextGate connection you add to them.
You choose which tools they can useSwitch off any Idescat tool you don't want used. It's hidden from your AI apps and refused if called.
Every call is checked and recordedYour policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Idescat tools
Examples of what your AI apps can do in Idescat. You'll see the exact list of tools after you connect it.