Dades Obertes Catalunya

Dades Obertes Catalunya MCP Connector for Claude

A+

Access Catalonia's Open Data portal — search catalogs and query datasets using SoQL to extract public information directly.

2 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Unlock the power of Dades Obertes Catalunya, the official open data platform of the Government of Catalonia. This MCP server allows your AI agent to browse thousands of public datasets and perform complex queries through natural conversation.

What you can do

  • Catalog Discovery — Search for datasets by keywords, categories, or tags to find relevant public information using the search_catalog tool.
  • Advanced Querying — Use SoQL (Socrata Query Language) via query_dataset to filter, select specific columns, and sort data from any dataset using its 4x4 identifier.
  • Data Analysis — Group results and perform full-text searches across entire datasets to extract insights on health, transport, economy, and more.
  • Pagination & Limits — Efficiently handle large datasets with built-in support for limits and offsets to browse records systematically.

How it works

  1. Subscribe to this server
  2. (Optional) Enter your Socrata App Token for higher rate limits
  3. Start querying Catalan public data from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Data Analysts — quickly pull public statistics into your workflow without manual CSV downloads
  • Researchers — find and cross-reference government data on demographics, environment, or urban planning
  • Developers — test data queries and explore API structures directly through natural language
open-datapublic-sectordataset-discoverysoqlcatalonia-dataadministrative-data

2 tools expose this connector's capabilities to your AI agent.

query_dataset

g., abcd-1234). Supports SoQL parameters like $select, $where, $limit. Query a specific dataset using SoQL parameters

search_catalog

Returns dataset identifiers needed for the query_dataset tool. Search the Dades Obertes Catalunya catalog for datasets

See how to talk to your AI agent using Dades Obertes Catalunya.

Search the catalog for datasets related to 'hospitals' in Catalonia.

I found several datasets. The most relevant is 'Centres sanitaris de Catalunya' with ID `8u93-v9az`. Would you like me to query its first few records?

Query dataset 'abcd-1234' and show me the top 5 results where population is over 10000.

Using `query_dataset` with `$where: "population > 10000"` and `$limit: 5`... Here are the results: 1. Barcelona (1.6M), 2. L'Hospitalet (264k), 3. Terrassa (223k)...

List the columns available in dataset 'xyz1-2345' using a full-text search for 'electric'.

I've queried `xyz1-2345` with `$q: "electric"`. I found records related to electric vehicle charging stations, including columns for 'location', 'power_kw', and 'status'.

Use the `search_catalog` tool with a descriptive query. The response will include the 4x4 alphanumeric ID (e.g., 'abcd-1234') which you can then use with the `query_dataset` tool.

Related Connectors