We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, to analyze how the site is used.

You can freely give, refuse or withdraw your consent at any time.

Idescat

MCP server by Idescat (Institut d'Estadística de Catalunya)

Query official Catalonia statistics from Idescat: find statistics, read table metadata and fetch JSON-stat data by territory.

No sign-in (No account or key needed)Streamable HTTP

Connect to Idescat

No sign-in needed. Connect with Idescat’s own URL:

https://api.idescat.cat/mcp

Paste it into any client that supports remote MCP servers. Your client talks to Idescat (Institut d'Estadística de Catalunya) directly, not through mcp.tc.

Share this server

Opens this page, with the URL and setup steps.

mcp.tc/i/idescat

About

Connects to the official statistics of Catalonia published by Idescat. You can list available statistics, browse the tables of a statistic, read table metadata, and fetch data in JSON-stat format at levels such as Catalonia, provinces, comarques, municipalities, districts and census tracts. A render tool returns ready-made Markdown tables with a link to the source.

The server runs as a hosted Streamable HTTP endpoint at https://api.idescat.cat/mcp. No sign-in or API key is needed. Labels and descriptions are in Catalan. Table fetches are limited to 20,000 cells after filters are applied.

What you can do

  • List all Idescat statistics with territorial breakdown levels
  • Browse tables of a statistic
  • Read table metadata: dimensions, categories, units
  • Fetch JSON-stat data filtered by territory and recent periods
  • List territorial divisions available for a table
  • Render a table as Markdown with a source link

Tools 7

  • get_idescat_stats

    List all Idescat statistics with acronym, description and territorial levels.

  • get_idescat_stat

    Get information about one statistic by its acronym.

  • get_idescat_stat_tables

    List the tables of a normalized statistic.

  • get_table_metadata

    Get table metadata in JSON-stat: dimensions, categories, units, update date.

  • get_table_data

    Fetch table data in JSON-stat, optionally filtered by dimension, territory or last periods.

  • get_table_geo

    List territorial divisions available for a table.

  • render_table

    Return a Markdown table of filtered data with a link to the Idescat site.

Read from the live server on 17 Nov 2026.

Example prompts

  • What is the latest population of each comarca in Catalonia?

  • Which Idescat statistics have municipality-level data?

  • Show GDP data for Catalonia for the last 5 years as a table.

  • List the tables available in the population census statistic.

Set up

Every client connects to api.idescat.cat. Pick yours; the page remembers your choice.

Claude Code

  1. Run this in a terminal, in your project folder:
claude mcp add --transport http idescat https://api.idescat.cat/mcp
  1. Start Claude Code and type /mcp. idescat should show as connected.

Add --scope user to make it available in every project, not just this one.

Claude Desktop

  1. Open Customize → Connectors, click + Add, then Add custom connector.
  2. Name it Idescat and paste this URL:
https://api.idescat.cat/mcp
  1. Click Add. Its tools appear in the chat’s tools menu.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

claude.ai

  1. Open the connector form on claude.ai. This button fills in the name and URL for you:
  1. Check that the URL reads https://api.idescat.cat/mcp and click Add.
  2. Turn it on in a chat from the tools menu.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.

ChatGPT

  1. On chatgpt.com, go to Plugins, select +, then Add custom MCP server.
  2. Enter a name for the server.
  3. Under Connection, paste https://api.idescat.cat/mcp as the server URL, then for authentication choose No authentication.
  4. Check I understand and want to continue, then select Create as a plugin.

Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).

Cursor

Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):

mcp.json
{
  "mcpServers": {
    "idescat": {
      "url": "https://api.idescat.cat/mcp"
    }
  }
}

VS Code

Or from a terminal:

code --add-mcp '{"name":"idescat","type":"http","url":"https://api.idescat.cat/mcp"}'

Or commit it to the repo in .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "idescat": {
      "type": "http",
      "url": "https://api.idescat.cat/mcp"
    }
  }
}

Devin Desktop

  1. Add it to ~/.config/devin/mcp_config.json (macOS and Linux) or %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "idescat": {
      "serverUrl": "https://api.idescat.cat/mcp"
    }
  }
}
  1. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.

Codex

codex mcp add idescat --url https://api.idescat.cat/mcp

Or edit ~/.codex/config.toml directly:

config.toml
[mcp_servers.idescat]
url = "https://api.idescat.cat/mcp"

Gemini CLI

gemini mcp add --transport http idescat https://api.idescat.cat/mcp

This adds it to the current project. Add -s user to use it everywhere.

Any client

Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.

{
  "mcpServers": {
    "idescat": {
      "type": "http",
      "url": "https://api.idescat.cat/mcp"
    }
  }
}

Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.

Client only starts local servers? Bridge it with npx -y mcp-remote https://api.idescat.cat/mcp.

Embed

Show Idescat in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work

The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.

README badge

Badge preview, lightBadge preview, dark
Markdown
[![Idescat on mcp.tc](https://mcp.tc/i/idescat/badge.svg)](https://mcp.tc/i/idescat)
HTML
<a href="https://mcp.tc/i/idescat"><img src="https://mcp.tc/i/idescat/badge.svg" alt="Idescat on mcp.tc" height="20"></a>

It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.

Website card

HTML
<script src="https://mcp.tc/w/idescat.js" async></script>

The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.

iframe

HTML
<iframe src="https://mcp.tc/embed/idescat" title="Idescat on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.

JSON

The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).

https://mcp.tc/i/idescat.json

What each field means

AI prompt

Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the Idescat card to your site.

Markdown
Add the mcp.tc card for Idescat, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.

Put this tag where the card should appear. The card renders right before it:

```html
<script src="https://mcp.tc/w/idescat.js" async></script>
```

To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.

```html
<div data-mcptc="idescat"><a href="https://mcp.tc/i/idescat">Idescat on mcp.tc</a></div>
```

Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.

If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).

For a README or other Markdown docs, use the badge instead:

```markdown
[![Idescat on mcp.tc](https://mcp.tc/i/idescat/badge.svg)](https://mcp.tc/i/idescat)
```

Reference: https://mcp.tc/embed

Change history

We read this server’s tool list every 3 hours and record what changes. Last read 18 Nov 2026, 05:38 UTC.

Follow Idescat and we’ll email you when something changes.

  1. , Automatic check

    New version 1.1.1 (was 1.1.0). Reported by the server.

  2. , Automatic check

    New version 1.1.0 (was 1.0.0). Reported by the server.

  3. , Automatic check

    2 tools changed. Server instructions changed.

    New server instructions

    Details, 14 Oct 2026, 10:31 UTC

    Changed 2

    • get_table_datadescription and input schema

      The text shown here is the same before and after: the change is past the first 1,000 characters or in characters that don’t show.

      • New parameters: sum derive
    • render_tabledescription and input schema

      The text shown here is the same before and after: the change is past the first 1,000 characters or in characters that don’t show.

      • New parameters: sum derive

    Server instructions

    Before

    # Idescat MCP — Usage guidance Tools to query the official statistics of Catalonia (Idescat): list of statistics, tables and data in JSON-stat format. --- ## 1. Choosing a statistic Always start with `get_idescat_stats` to locate the statistic. For each one, check two key fields before choosing: - `datasets` (boolean): if `true` the statistic is normalized and you can use the rest of the tools (`get_idescat_stat_tables`, `get_table_metadata`, `get_table_data`, `get_table_geo`, `render_table`). If `false`, ONLY `get_idescat_stats` and `get_idescat_stat` are available. - `geo` (array): available territorial breakdown levels (`cat`=Catalonia, `prov`=provinces, `at`=territorial plan areas, `com`=comarques and Aran, `mun`=municipalities, `dis`=districts, `sec`=census tracts). ALWAYS check `geo` before choosing a statistic for a territorial query: if comarca-level data is requested, pick a statistic whose `geo` includes `com`. ### Population figures When population data is requested there are several sources: the main and richest one is **CENSPH** (population and housing census, annual); for half-yearly estimates there is **EP** (population estimates, half-yearly); and there is also **PMH** (municipal population register, annual). By default use CENSPH (or EP for half-yearly data). NEVER use the PMH statistic for population data unless the user explicitly asks for it. --- ## 2. Data-retrieval flow 1. When the user asks for specific data from a table, call `get_table_metadata` first. If the question is about a specific territory (comarca, municipality, province, area), pass the proper `geo` parameter (e.g. `geo='com'`, `geo='mun'`, `geo='prov'`); if you don't know the codes, call `get_table_geo`. 2. Check the metadata `size` field: multiply all array elements. If the product exceeds 20,000, do not fetch the whole table; tell the user and offer the HTML link to the table. 3. To fetch data always use `get_table_data` (or `render_table`), which accepts optional filt…

    After

    # Idescat MCP — Usage guidance Tools to query the official statistics of Catalonia (Idescat): list of statistics, tables and data in JSON-stat format. --- ## 1. Choosing a statistic Always start with `get_idescat_stats` to locate the statistic. For each one, check two key fields before choosing: - `datasets` (boolean): if `true` the statistic is normalized and you can use the rest of the tools (`get_idescat_stat_tables`, `get_table_metadata`, `get_table_data`, `get_table_geo`, `render_table`). If `false`, ONLY `get_idescat_stats` and `get_idescat_stat` are available. - `geo` (array): available territorial breakdown levels (`cat`=Catalonia, `prov`=provinces, `at`=territorial plan areas, `com`=comarques and Aran, `mun`=municipalities, `dis`=districts, `sec`=census tracts). ALWAYS check `geo` before choosing a statistic for a territorial query: if comarca-level data is requested, pick a statistic whose `geo` includes `com`. ### Population figures When population data is requested there are several sources: the main and richest one is **CENSPH** (population and housing census, annual); for half-yearly estimates there is **EP** (population estimates, half-yearly); and there is also **PMH** (municipal population register, annual). By default use CENSPH (or EP for half-yearly data). NEVER use the PMH statistic for population data unless the user explicitly asks for it. --- ## 2. Data-retrieval flow 1. When the user asks for specific data from a table, call `get_table_metadata` first. If the question is about a specific territory (comarca, municipality, province, area), pass the proper `geo` parameter (e.g. `geo='com'`, `geo='mun'`, `geo='prov'`); if you don't know the codes, call `get_table_geo`. 2. Check the metadata `size` field: multiply all array elements. If the product exceeds 20,000, do not fetch the whole table: reduce the selection with `filters` and/or `last` (the limit applies after filtering). Only if no reasonable selection fits, tell the user and of…

  4. , Automatic check

    Tracking started: 7 tools.

FAQ

Can I paste mcp.tc/i/idescat into my MCP client?

No. mcp.tc links are pages, not server addresses. Connect with https://api.idescat.cat/mcp, so your client talks to Idescat directly. The quick link is for sharing: it opens this page, with setup steps for every client.

Does Idescat need an API key or a sign-in?

No. Idescat doesn’t ask for an account or key.

Is Idescat a remote or a local server?

Remote. Idescat (Institut d'Estadística de Catalunya) hosts it at https://api.idescat.cat/mcp, and it speaks Streamable HTTP. There’s nothing to install.

What can Idescat do?

It has 7 tools, including get_idescat_stats, get_idescat_stat and get_idescat_stat_tables. You can list all Idescat statistics with territorial breakdown levels, browse tables of a statistic and read table metadata: dimensions, categories, units.

Which clients can use it?

Any client that supports remote MCP servers: Claude Code, Claude Desktop, claude.ai, ChatGPT, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. The setup steps cover each one.

Does mcp.tc track changes to Idescat?

Yes. Idescat’s History tab shows each change we find to its tools, down to descriptions and parameters, plus new versions and edits by its owner. Follow the listing to get an email when it changes.

Who wrote this page?

mcp.tc’s robot read Idescat’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.

mcp.tc isn’t affiliated with Idescat (Institut d'Estadística de Catalunya). This page was built from Idescat’s public metadata, last checked on 17 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.