Skip to main content
MCP server CX Codex

opendata-cat — Claude Code MCP server: Catalan open data

Gives your assistant a catalogue of Catalan open data: dataset search, field metadata and live queries against 15 portals.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http opendata-cat https://opendata.cat/api/mcp
Open on GitHub

What opendata-cat does

Eight tools come with the server. search_datasets scans 3,073 datasets, get_dataset_info and list_dataset_fields expose the schema and licence of a set, and query_dataset pulls actual rows from the source portal. That means SoQL on Generalitat, datastore_search on the CKAN sites, GTFS-RT for FGC and Renfe Rodalies trains. No API key, no signup.

The catalogue covers 15 sources. Alongside the Generalitat and the city portals of Barcelona, Reus and Girona sit INE, REE, SEPE and CNMC; Spanish statistics arrive pre-filtered to Catalonia, so population, unemployment and fuel prices are already scoped. A separate search_radioteca tool reaches into the radioteca.cat archive.

You pick local or remote. The local route runs npx -y @opendata.cat/mcp-server, the remote one points at https://opendata.cat/api/mcp with nothing to install. With remote, every query passes through the project's own server; run it locally if the catalogue should stay on your machine.

What it helps with

  • find a dataset by topic across Catalan open data portals
  • read the fields and licence of a dataset before querying it
  • fetch real rows from the Generalitat or Barcelona portals
  • cross-check INE figures against municipal AOC data for one municipi
  • look up FGC and Renfe Rodalies delays

Example prompts for the agent

  • Search for air quality datasets in Barcelona and list their fields
  • Run a query on generalitat:gn9e-3qhr filtered to the Sau station
  • Find radioteca.cat episodes about Catalan weather

How to install opendata-cat

1Platform CLI: remote server

claude mcp add --transport http opendata-cat https://opendata.cat/api/mcp

2Platform CLI

claude mcp add opendata-cat -- npx -y @opendata.cat/mcp-server

Step 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 opendata-cat

How do I install opendata-cat in Claude Code?

For the remote server: claude mcp add --transport http opendata-cat https://opendata.cat/api/mcp. For a local process instead, run claude mcp add opendata-cat -- npx -y @opendata.cat/mcp-server.

What does opendata-cat do?

It hands the model tools to search a catalogue of Catalan open data and execute queries on the source portals, including the Spanish INE, REE, SEPE and CNMC sets filtered to Catalonia.

Do I need an API key?

No. The remote endpoint at https://opendata.cat/api/mcp needs no account, and the local version starts through npx.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor