Koskamo

Opendata.cat MCP

An open-source MCP server by the Opendata.cat association that connects LLMs to over 2,850 open data datasets from Catalan and Spanish public sources. It provides tools to search datasets, query real-time data like traffic and electricity prices, and access radio archives via natural language.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Opendata.cat MCP logo, by Opendata.catCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by Opendata.cat
MCP endpoint (Streamable HTTP)
https://opendata.cat/api/mcp
Vendor documentation

What its tools do

8 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

8 of 8 have a description · 8 of 8 declare behavior hints · 6 of 6 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Warning Advertises resources/templates/list but does not implement it
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

About Opendata.cat MCP

The Opendata.cat MCP server is an open-source tool developed by the Opendata.cat association. It enables language models to interact with more than 2,850 open data datasets sourced from Catalan and Spanish public entities. The server facilitates access to diverse information types, including static datasets and real-time updates.

Agents can use this server to perform tasks such as checking air quality metrics like NO2 and PM2.5 levels, querying real-time train positions from FGC and Renfe Rodalies, and retrieving electricity prices (PVPC) and fuel costs. It also supports searching public contracts, municipal budgets, and accessing radio archives through natural language queries.

Connection to the server requires no sign-in or authentication to list available tools. However, individual tools may still require a vendor account, credentials, or specific permissions. Users must check the documented prerequisites for each specific task before execution.

What you can do with it

  • Query real-time train positions from FGC and Renfe Rodalies
  • Check air quality metrics like NO2 and PM2.5 levels
  • Retrieve electricity prices (PVPC) and fuel costs
  • Search public contracts and municipal budgets

Source and maintenance

Community listingRegistry 0.6.1
Maintenance checked

Protocol and capabilities

Server
opendata-cat 0.4.0
MCP protocol negotiated in check
2024-11-05
Tools
8 advertised
Resources
4 advertised
Resource templates
Not advertised
Prompts
21 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Catalan open data MCP server. You can query real data directly with query_dataset if you know the dataset_id. Always respond in the user's language. FEATURED DATASETS (use query_dataset directly, no search needed): - generalitat:gn9e-3qhr → Embassaments (reservoirs), CURRENT state — one row per reservoir with the latest reading: fields dia, estaci, volum_embassat, percentatge_volum_embassat, nivell_absolut - generalitat:vjx7-6kcp → Embassaments, HISTORICAL series (readings over time). Long format: one row per station/variable/timestamp. Fields: dia, hora, estacio, conca, tipus_variable ('Volum embassat', 'Percentatge volum embassat', 'Nivell absolut'), valor, unitat_mesura. Filter by estacio + tipus_variable. - generalitat:i5n8-43cw → Estat de sequera per municipi (drought status by municipality) - generalitat:rmgc-ncpb → Accidents de trànsit amb morts o ferits greus (traffic accidents with deaths/serious injuries) - generalitat:jq8m-d7cw → Incidents operatius gestionats pel CAT 112 (112 emergency incidents) - generalitat:mfqb-sbx4 → Trucades operatives gestionades pel CAT 112 (112 emergency calls) - generalitat:g2ay-3vnj → Actuacions dels Bombers de la Generalitat (firefighter operations) - generalitat:j6ii-t3w2 → Certificats d'eficiència energètica d'edificis (building energy certificates) - fgc:vehicle-positions-gtfs_realtime → FGC train GPS positions (real-time) - fgc:alerts-gtfs_realtime → FGC service alerts (real-time, in Catalan) - fgc:trip-updates-gtfs_realtime → FGC train delays (real-time) - renfe:vehicle-positions-gtfsrt → Rodalies Barcelona train GPS positions (real-time) - renfe:trip-updates-gtfsrt → Rodalies Barcelona train delays (real-time) - renfe:alerts-gtfsrt → Rodalies Barcelona service alerts (real-time, in Spanish) - idescat:m10328 → Població de Catalunya (population) - idescat:m10234 → Confiança empresarial (business confidence) - barcelona:accidents-gu-bcn → Accidents gestionats per la Guàrdia Urbana BCN (police-managed accidents) - barcelona:relacio-contractistes → Top contractors of Barcelona City Council: company name, NIF, total amount, number of contracts per entity - barcelona:perfil-contractant → Public procurement announcements: tenders, awards, formalizations of Barcelona and its municipal group - generalitat:ybgg-dgi6 → ALL public procurement in Catalonia (PSCP): company name (denominacio_adjudicatari), amount (import_adjudicacio_sense_iva), entity. Filter by denominacio_adjudicatari or organ. - generalitat:hb6v-jcbf → Public contracts registry for ANY Catalan municipality. Filter: organisme_contractant='Ajuntament de X'. Fields: adjudicatari, import_adjudicacio, contracte, exercici - generalitat:nn7v-4yxe → Generalitat contract awards (last 5 years): empresa_adjudicataria, import_adjudicat_sense_iva, departament - ine:poblacio-municipis → Population by municipality from INE (national census) - ine:epa-atur-ocupacio → Employment/unemployment by region (EPA survey) - ine:turisme-ocupacio-hotelera → Hotel occupancy by province/tourist destination - ree:generacio-espanya → Electricity generation mix in Spain (solar, wind, nuclear...) - ree:preus-electricitat → Real-time electricity prices (PVPC) - cnmc:preus-carburants → Fuel prices at every gas station in Spain CORA RESEARCH DATA (academic datasets via CKAN datastore): - cora:electoral-1936 → 1936 Spanish elections at municipal level: votes by coalition (left/right/center), turnout, 8,560 municipalities including 1,065 in Catalonia - cora:airbnb-bcn-demografia → Barcelona census-section demographics (population by age, foreigners) linked to Airbnb impact study - cora:airbnb-bcn-adreces → 1,918 Airbnb-style tourist rentals in Barcelona with GPS coordinates - cora:cova-gran-2025 → Cova Gran (Lleida) archaeological inventory: 5,573 finds (bones, lithic, ceramic) with stratigraphic levels and XYZ coordinates - cora:polat-panel → POLAT 12-wave political-attitudes panel of Spain (2010-2020): 20,991 obs, 106 key variables (trust, vote, ideology, populism) - cora:populistes-espanya → Populist Attitudes Survey Spain 2018: 3,031 respondents, 173 variables (populism, emotions, personality, ideology) - cora:vulnyouth-espanya → VulnYouth: precarious youth in Spain 2023: 3,013 young people (20-34), 138 variables (labour precariousness, WHO-5 mental health, housing) - cora:covid-normes-espanya → COVID-19 Social Norms Spain 2020: 4,523 responses during lockdown on compliance, informal sanctions, risk perception (62 variables) - cora:depcura-bcn → Care & Dependency Barcelona 2020: 1,600 people aged 65+ with functional dependency, 639 variables on care strategies and social services CATALÒNICA DIGITAL HERITAGE (Biblioteca de Catalunya — live, NOT indexed locally): Use query_dataset('catalonica:<set>', search='<text>'). 20 subportals return REAL RECORDS via their native API/scrape (title, creator, date, url_resource, abstract when available); the rest return a SEARCH GUIDE with native cercador URL. NATIVE-HANDLER SUBPORTALS (real records, citable): • DSpace 7 JSON: catalonica:upcommons (UPC), catalonica:o2uoc (UOC), catalonica:e-repositori (UPF), catalonica:dd (UB), catalonica:udlobert + catalonica:udlfonsespecials (UdL) • DSpace XMLUI scrape: catalonica:tdx (TDX theses), catalonica:uivic (UVic), catalonica:repositori_filmoteca (Filmoteca), catalonica:calaix (Cultura Generalitat) • DSpace JSPUI scrape: catalonica:bcnroc (Ajuntament BCN) • CONTENTdm API: catalonica:mdc (Memòria Digital Catalunya — broad heritage aggregator: cartells, fotos, manuscrits, premsa local) • Invenio MARC XML: catalonica:ddduab (UAB general), catalonica:ddduabrecerca (UAB research articles) • Europeana API: catalonica:mnac (MNAC art collection), catalonica:arca (~229K Catalan historical magazines/newspapers), catalonica:cartoteca (historical maps via ICGC), catalonica:regira (~51K Girona patrimoni hemerogràfic), catalonica:dugidocs (~18K UdG repo: postals, articles, documents) • Hardcoded journal catalogue: catalonica:raco (returns matching RACO journals filtered by keywords. Each record is a journal with `url_resource` and `search_within_journal` — the LLM should drill into the chosen journal to find articles, since OJS exposes no public article-level cross-search API) SEARCH-GUIDE SUBPORTALS (no JSON API, returns URLs + topic hints — direct the user to search_url_native, do NOT fabricate records): catalonica:hcc, catalonica:reus, catalonica:iei, catalonica:trencadis, catalonica:corpusliterari, catalonica:arxiuparaula, catalonica:bipadi, catalonica:rde, catalonica:rd_tecnocampus, catalonica:drac, catalonica:maco, catalonica:dugife, catalonica:dugimedia, catalonica:rcub, catalonica:egranados, catalonica:p3d, catalonica:bilderatlas, catalonica:ddduabrecursosdocents, catalonica:ddduabv2 Pick the right subportal for the topic — each one is a thematic source: - catalonica:tdx → Tesis Doctorals en Xarxa — Catalan doctoral theses (best for: scholarly research by author, supervisor, university or topic). Try search='tema:biomedicina', 'pais:Catalunya' - catalonica:raco → Revistes Catalanes amb Accés Obert — 600+ open-access Catalan academic journals (best for: scholarly papers in Catalan/Spanish by discipline) - catalonica:upcommons → UPC engineering & architecture (theses, papers, final-year projects) - catalonica:ddduab → Dipòsit Digital UAB (research + heritage) - catalonica:mnac → Museu Nacional d'Art de Catalunya — paintings, sculpture, photography, decorative arts (best for: Catalan art, modernisme, noucentisme, romanesque, gothic). Try search='Casas', 'modernisme', 'frescos romànics' - catalonica:mdc → Memòria Digital de Catalunya — heritage aggregator (cartells, fotos, manuscrits, premsa local from CSUC universities). Try search='cartell guerra civil' - catalonica:bipadi → Biblioteca Patrimonial Digital UB — manuscripts, incunabula, rare books - catalonica:cartoteca → Cartoteca Digital ICGC — historical maps and atlases. Try search='mapa Barcelona 1850' - catalonica:arca → Arxiu de Revistes Catalanes Antigues — historical magazines/newspapers - catalonica:hcc → Hemeroteca Científica Catalana — historical scientific journals - catalonica:reus → Reus historical local press (1850-1940) - catalonica:iei → Institut d'Estudis Ilerdencs — Lleida heritage and press - catalonica:repositori_filmoteca → Filmoteca de Catalunya — cinema heritage, posters, programs - catalonica:corpusliterari → Corpus Literari Digital — Catalan literature critical editions - catalonica:dd → Dipòsit Digital UB; catalonica:o2uoc → UOC repo; catalonica:e-repositori → UPF repo; catalonica:udlobert → UdL repo; catalonica:uivic → UVic repo (all academic research) - catalonica:bcnroc → Barcelona City Council reports & studies - catalonica:trencadis → XBM local municipal heritage (small towns) - catalonica:rcub → UB Revistes Científiques; catalonica:rde → Dept. Educació Generalitat; catalonica:calaix → Dept. Cultura Generalitat; catalonica:drac → Dades i Recursos Cultura - catalonica:arxiuparaula → Ateneu Barcelonès oral archive; catalonica:egranados → Enric Granados archive - catalonica:dugidocs/dugife/dugimedia → UdG; catalonica:dddua/dddua-recerca/dddua-recursosdocents/dddua-v2 → UAB; catalonica:udlfonsespecials → UdL; catalonica:rd_tecnocampus → TecnoCampus; catalonica:maco → Catalan academic monographs; catalonica:regira → Girona heritage; catalonica:bilderatlas → image archive Strategy: for an unknown query, you may try several subportals or fall back to catalonica:mdc (broadest aggregator). Subportal-specific cercador URLs are exposed via get_dataset_info > extra.subportal_url. MUNICIPAL DATA (filter by NOM_ENS with query_dataset): - aoc:ge-ge-cost-efectiu-serveis-minhap → Cost dels serveis de +1,000 municipis (municipal service costs) - aoc:ge-p-pressupostos-i-plantilles → Pressupostos i plantilles municipals (budgets & staffing) - aoc:ge-ge-endeutament → Endeutament municipal (municipal debt) - aoc:ge-p-liquidacions-per-programes-detallat → Budget execution by program - aoc:ge-ge-termini-pagament-proveidors → Payment terms to suppliers AVAILABLE PORTALS: generalitat (Socrata, ~1091), aoc (CKAN, ~903), barcelona (CKAN, ~555), idescat (API, ~144), reus (CKAN, ~119), diba (REST+CIDO, ~91), girona (CKAN, ~53), fgc (ODS+GTFS-RT, ~50), catalonica (OAI-PMH, ~39 cultural-heritage sets ≈2.2M items), cora (CKAN Datastore, 9 academic), ine (statistics API, ~6), renfe (CKAN+GTFS-RT, ~6), ree (energy API, ~4), sepe (employment, ~2), cnmc (fuel prices, ~1) COMMON SEARCH KEYWORDS: embassament, sequera, aigua, qualitat aire, contaminació, transport, trànsit, pressupost, educació, salut, població, habitatge, turisme, energia, electricitat, preu llum, residus, comerç, seguretat, bombers, accidents, 112, emergència, trens, rodalies, renfe, meteorologia, temps, temperatura, pluja, atur, ocupació, gasolina, carburants, PIB, IPC MAIN CATEGORIES: Medi Ambient, Economia, Educació, Salut, Seguretat, Societat-benestar, Urbanisme-infraestructures, Transport, Territori, Població, Treball, Turisme, Ciència i Tecnologia QUICK REFERENCE — Common queries (use query_dataset directly): - Contracts of any municipality: generalitat:hb6v-jcbf, filter {"organisme_contractant": "Ajuntament de X"} - Municipal budgets/debt: aoc:ge-* datasets, filter {"NOM_ENS": "Ajuntament de X"} - Reservoir levels: generalitat:gn9e-3qhr (no filter needed) - Electricity price now: ree:preus-electricitat (no filter needed) - Fuel prices by town: cnmc:preus-carburants, filter {"municipi": "X"} - Train delays: renfe:trip-updates-gtfsrt or fgc:trip-updates-gtfs_realtime - Population: ine:poblacio-municipis (auto-filtered to Catalonia) IF THE USER ASKS WHAT THEY CAN DO or what data is available: Explain that this server provides 15 portals covering: reservoirs & drought, air quality, traffic accidents, 112 emergencies, firefighters, public contracts & procurement, municipal budgets of 1000+ towns, train delays (FGC + Rodalies real-time), electricity prices (hourly PVPC), fuel prices (1500 gas stations), population, employment, tourism, GDP, housing, plus CORA academic research data (1936 elections, Airbnb, archaeology, political attitudes, populism, youth precariousness, COVID norms, dependency care), plus Catalònica digital heritage (~2.2M cultural objects: MNAC, RACO journals, doctoral theses, BNC library, MDC, Filmoteca, historical newspapers, maps, manuscripts). Suggest they try asking a specific question about any Catalan topic. NOTES: - Embassaments: current state → gn9e-3qhr. Evolution, trends or any past date → vjx7-6kcp. Every other question: follow the normal flow (search_datasets, then query_dataset). - Socrata: filter by any field, case-insensitive. Ex: filters: {"estaci": "Embassament de Sau"} or {"municipi": "badalona"} - CKAN AOC municipal: filter by NOM_ENS (e.g., "Ajuntament de Tiana"). Field names often in Spanish. - Idescat: each dataset_id returns 1 specific indicator with value, unit, period, and time series. - FGC GTFS-RT: auto-decoded protobuf. vehicle-positions → GPS, alerts → Catalan text. - Renfe GTFS-RT: JSON real-time data for Rodalies de Catalunya. Auto-filtered to Barcelona commuter routes. Content in Spanish. - INE: national statistics auto-filtered to Catalunya/Barcelona/Girona/Lleida/Tarragona series. - REE: electricity data (national level). Generation, demand, balance, real-time prices. - CNMC fuel prices: use filters {"provincia": "Barcelona"} or {"municipi": "Sabadell"} to narrow. Default: all Catalunya. - Public contracts: for ANY municipality use generalitat:hb6v-jcbf with filter {"organisme_contractant": "Ajuntament de X"}. Add {"exercici": "2025"} to filter by year. For Barcelona, barcelona:relacio-contractistes has aggregated totals per company. - CORA datasets: CKAN-compatible datastore. Filter by any field (case-insensitive). Survey datasets use coded values (numeric or short text). Wave-based panels (polat) have field 'wave'. Use list_dataset_fields to see all columns. - Catalònica: each dataset_id `catalonica:<set>` is one digital-heritage collection (thousands to millions of records). Use `q` for free-text search on title/creator/subject/description (very effective — try keywords like 'Picasso', 'Barcelona 1936', 'manuscrit medieval'). Filter by `type` (Text, Image, MovingImage, Sound), `language` (cat, spa, eng, lat), or `date` (year). `url_resource` points to the institutional viewer; `url_catalonica` to the BNC aggregator page. - Radioteca: use `search_radioteca` to query radioteca.cat (~485K radio episodes, programs and people from 8 Catalan/Spanish broadcasters: Catalunya Ràdio, RAC1, Catalunya Música, iCat, Catalunya Informació, RTVE, Cadena SER, ara.cat). Searches title, description (contains episode summary with what was said), program and subheading. Filter by `publisher`, `year` (YYYY) or `type` (Episode/Program/Person). Only year-level date filtering is indexed; for a specific day combine year filter + keywords and inspect the URL path (`/YYYY/MM/DD/`) or `subheading`. ALWAYS cite radioteca.cat as source and include each hit's absolute `url` in your reply for traceability — never paraphrase episodes without linking. - Dataset names and field names are in Catalan or Spanish — use them as-is in queries. - Pagination: query_dataset returns max 100 rows per call. Use offset to get more (offset=0, 100, 200...). No duplicates when paginating. Don't assume 100 is all there is. - Sorting (Socrata): pass {"order": "field_name DESC"} in filters to sort results. Example: {"order": "import_adjudicacio DESC"} for top contracts by amount. Default order is stable (:id). - Use search_datasets only when you don't know which dataset you need.

Tools

8 advertised

search_datasets
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search datasets by free text. IMPORTANT: check server instructions first — many common queries have a direct dataset_id you can use with query_dataset without searching. Only use search_datasets when you don't know which dataset you need.

search_datasets input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "number",
      "default": 20,
      "description": "Maximum number of results to return. Min 1, max 100. Default 20."
    },
    "query": {
      "type": "string",
      "description": "Search text in Catalan or Spanish. Examples: 'qualitat aire', 'pressupostos municipals', 'transport públic', 'residus', 'educació', 'rodalies'."
    },
    "portal": {
      "enum": [
        "generalitat",
        "barcelona",
        "diba",
        "aoc",
        "reus",
        "girona",
        "fgc",
        "idescat",
        "renfe",
        "ine",
        "ree",
        "sepe",
        "cnmc",
        "cora",
        "catalonica"
      ],
      "type": "string",
      "description": "Filter results to a single portal."
    },
    "category": {
      "type": "string",
      "description": "Filter by thematic category. Examples: 'Medi Ambient', 'Educació', 'Salut', 'Economia', 'Transport', 'Seguretat'. Use list_categories to see all available categories."
    }
  }
}
search_datasets annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_dataset_info
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Get complete metadata for a dataset: fields with types and descriptions, API endpoint, license, available formats and last update. Call after search_datasets to get full details of a specific dataset.

get_dataset_info input schema
{
  "type": "object",
  "required": [
    "dataset_id"
  ],
  "properties": {
    "dataset_id": {
      "type": "string",
      "description": "Unique dataset identifier in 'portal:id' format. Obtained from search_datasets results. Examples: 'generalitat:gn9e-3qhr', 'barcelona:qualitat-de-laire', 'renfe:vehicle-positions-gtfsrt'."
    }
  }
}
get_dataset_info annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_dataset_fields
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List fields of a dataset with name, data type and description. Call before query_dataset to know which fields and filters are available.

list_dataset_fields input schema
{
  "type": "object",
  "required": [
    "dataset_id"
  ],
  "properties": {
    "dataset_id": {
      "type": "string",
      "description": "Unique dataset identifier in 'portal:id' format. Obtained from search_datasets results."
    }
  }
}
list_dataset_fields annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
query_dataset
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Query real data from a dataset. Check instructions for featured dataset_ids and NOTES section for common filter patterns (municipal budgets, contracts, weather, energy, fuel prices).

query_dataset input schema
{
  "type": "object",
  "required": [
    "dataset_id"
  ],
  "properties": {
    "limit": {
      "type": "number",
      "default": 20,
      "description": "Number of rows to return. Min 1, max 100. Default 20. Use offset for pagination."
    },
    "offset": {
      "type": "number",
      "default": 0,
      "description": "Number of rows to skip for pagination. Default 0. Combine with limit to navigate large results."
    },
    "search": {
      "type": "string",
      "description": "Free text search within dataset data. Works with Socrata ($q) and CKAN (q). For Diba and CIDO, use specific filters."
    },
    "filters": {
      "type": "object",
      "description": "Key-value filters where the key is the field name and the value is the filter value. Examples: {\"municipi\": \"Barcelona\"}, {\"any\": \"2024\"}, {\"NOM_ENS\": \"Ajuntament de Tiana\"}. Use list_dataset_fields to know valid field names.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "dataset_id": {
      "type": "string",
      "description": "Unique dataset identifier in 'portal:id' format. Obtained from search_datasets results."
    }
  }
}
query_dataset annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_portals
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List all 13 indexed open data portals with dataset counts. Catalan portals (Generalitat, Barcelona, Diba, AOC, Reus, Girona, FGC, Idescat, Renfe) + Spanish national sources with Catalonia focus (INE statistics, REE energy, SEPE employment, CNMC fuel prices). No parameters required.

list_portals input schema
{
  "type": "object",
  "required": [],
  "properties": {}
}
list_portals annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_categories
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List all dataset categories and themes with counts per portal. Great first step to discover what data types are available before searching with search_datasets. Returns total datasets, count per portal and category list with counts. No parameters required.

list_categories input schema
{
  "type": "object",
  "required": [],
  "properties": {}
}
list_categories annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
related_datasets
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Find related datasets from OTHER portals. Great for discovering complementary data: if you're looking at air quality from Generalitat, it may suggest traffic data from Barcelona or emissions from AOC. Relations are computed by thematic similarity across portals.

related_datasets input schema
{
  "type": "object",
  "required": [
    "dataset_id"
  ],
  "properties": {
    "dataset_id": {
      "type": "string",
      "description": "Dataset ID to find related datasets for. Obtained from search_datasets."
    }
  }
}
related_datasets annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_radioteca
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search radio shows, episodes and people indexed at radioteca.cat (Catalan radio archive, ~485K documents from Catalunya Ràdio, RAC1, Catalunya Música, iCat, Catalunya Informació, RTVE, Cadena SER, ara.cat). Searches across episode titles, descriptions (which include a detailed summary of what was said), program name and subheading. Returns episodes (~473K), programs (~3K) and people (~9K). IMPORTANT: always cite radioteca.cat as the source and include the absolute 'url' in your reply for traceability — never paraphrase without linking.

search_radioteca input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "type": {
      "enum": [
        "Episode",
        "Program",
        "Person"
      ],
      "type": "string",
      "description": "Filter by document type."
    },
    "year": {
      "type": "string",
      "description": "Filter by year (4 digits, e.g. '2025'). NOTE: only year-level filtering is indexed; for a specific day, use the broader year filter and look at the URL path (radioteca URLs include /YYYY/MM/DD/) or the 'subheading' field which often contains the date."
    },
    "limit": {
      "type": "number",
      "default": 10,
      "description": "Maximum results. Min 1, max 50. Default 10."
    },
    "query": {
      "type": "string",
      "description": "Free text in Catalan or Spanish. Searches title, description (contains episode summary), program and subheading. Examples: 'visita papa', 'eleccions municipals', 'crisi habitatge', 'Albert Serra cinema'."
    },
    "offset": {
      "type": "number",
      "default": 0,
      "description": "Pagination offset. Default 0."
    },
    "publisher": {
      "enum": [
        "Catalunya Ràdio",
        "RAC1",
        "Catalunya Música",
        "iCat",
        "Catalunya Informació",
        "RTVE",
        "Cadena SER",
        "ara.cat"
      ],
      "type": "string",
      "description": "Filter by broadcaster."
    }
  }
}
search_radioteca annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

21 advertised

estat_embassaments

Advertised by the server during the last successful anonymous check.

Analyze current status of Catalan reservoirs with evolution charts.

No arguments advertised.

trens_fgc_temps_real

Advertised by the server during the last successful anonymous check.

Check FGC trains real-time status: delays, alerts and positions.

No arguments advertised.

trens_rodalies_temps_real

Advertised by the server during the last successful anonymous check.

Check Rodalies de Catalunya (Renfe) trains real-time status: delays, alerts and GPS positions.

No arguments advertised.

qualitat_aire

Advertised by the server during the last successful anonymous check.

Analyze air quality at a Catalan station or municipality.

lloc
Municipality or station name (e.g., 'Barcelona', 'Sabadell', 'Terrassa')
accidents_transit

Advertised by the server during the last successful anonymous check.

Analyze traffic accident data in Catalonia or a specific municipality.

municipi
Municipality name (e.g., 'Barcelona', 'Hospitalet')
pressupostos_municipals

Advertised by the server during the last successful anonymous check.

Explore and compare municipal budgets of Catalan municipalities.

municipi
Municipality name
compara_municipis

Advertised by the server during the last successful anonymous check.

Compare two Catalan municipalities across all available open data.

municipi_a
First municipality (required)
municipi_b
Second municipality (required)
descobreix_dades

Advertised by the server during the last successful anonymous check.

Explore what open data is available about a topic in Catalonia.

tema
Topic to explore (e.g., 'educació', 'medi ambient', 'turisme', 'transport') (required)
analisi_bombers

Advertised by the server during the last successful anonymous check.

Analyze Catalan firefighter operations: emergency types, territorial distribution and trends.

comarca
Filter by comarca (e.g., 'Barcelonès', 'Vallès Occidental')
novetats

Advertised by the server during the last successful anonymous check.

Show the most recently updated datasets across Catalan open data portals.

portal
Filter by portal: generalitat, barcelona, diba, aoc, reus, girona, fgc, idescat, renfe
datasets_populars

Advertised by the server during the last successful anonymous check.

Show the most queried datasets by MCP users.

No arguments advertised.

explorar_portal

Advertised by the server during the last successful anonymous check.

Explore an open data portal: dataset count, categories, examples of each type.

portal
Portal to explore: generalitat, barcelona, diba, aoc, reus, girona, fgc, idescat, renfe (required)
dades_municipi

Advertised by the server during the last successful anonymous check.

Discover all available open data about a specific Catalan municipality.

municipi
Municipality name (e.g., 'Sabadell', 'Girona', 'Manresa') (required)
datasets_temps_real

Advertised by the server during the last successful anonymous check.

List datasets offering real-time or frequently updated data.

No arguments advertised.

resum_portals

Advertised by the server during the last successful anonymous check.

General summary of all portals: dataset counts, topics, formats.

No arguments advertised.

radioteca_cerca_tema

Advertised by the server during the last successful anonymous check.

Search radioteca.cat for radio episodes about a topic and summarize what was said, always with links to radioteca.cat.

tema
Topic to search in Catalan/Spanish radio archive (e.g., 'visita papa', 'eleccions municipals', 'crisi habitatge', 'Albert Serra cinema') (required)
any
Filter by year (YYYY), default: current year
emissora
Filter by broadcaster: 'Catalunya Ràdio', 'RAC1', 'Catalunya Música', 'iCat', 'Catalunya Informació', 'RTVE', 'Cadena SER', 'ara.cat'
radioteca_avui

Advertised by the server during the last successful anonymous check.

What did Catalan radio say today or yesterday about a topic — always cite radioteca.cat URLs for traceability.

tema
Topic to investigate (e.g., 'situació al Pròxim Orient', 'reforma laboral', 'cultura catalana') (required)
skill_consulta_dades_obertes

Advertised by the server during the last successful anonymous check.

Useu quan calgui respondre una pregunta amb dades obertes catalanes (15 portals — Generalitat, Barcelona, Diba, AOC, Reus, Girona, FGC, Idescat, Renfe, INE, REE, CNMC, CORA, Catalònica) amb les eines del servidor MCP opendata.cat (search_datasets, get_dataset_info, list_dataset_fields, query_dataset, related_datasets). Orienta com decidir el dataset, filtrar, paginar i citar bé.

No arguments advertised.

skill_contractacio_publica

Advertised by the server during the last successful anonymous check.

Useu quan calgui investigar contractació pública a Catalunya amb el servidor MCP opendata.cat — qui contracta una empresa, quant ha adjudicat un ens, els contractes d'un municipi o de la Generalitat, rànquings d'adjudicataris. Guia quin dataset triar, com filtrar i sumar imports, com creuar fonts sense duplicar i com citar cada xifra.

No arguments advertised.

skill_patrimoni_i_hemeroteca

Advertised by the server during the last successful anonymous check.

Useu quan calgui investigar patrimoni cultural digital i premsa/ràdio catalana amb el servidor MCP opendata.cat — Catalònica (39 subportals de la BNC: MNAC, RACO, tesis, mapes, manuscrits, hemeroteques) i radioteca.cat (~485K episodis). Guia com triar el subportal, com cercar-hi i la disciplina de cites (mai fabricar registres, sempre enllaçar la font).

No arguments advertised.

skill_radar_municipal

Advertised by the server during the last successful anonymous check.

Useu quan calgui fer un retrat complet d'un municipi català amb dades obertes (pressupost, deute, cost de serveis, contractes, població, equipaments) creuant portals amb el servidor MCP opendata.cat. Guia com filtrar per NOM_ENS, quins datasets AOC/Generalitat/estadístics usar, i com tancar amb què falta.

No arguments advertised.

Resources

4 advertised

consulta-dades-obertes — consulta-dades-obertes

Advertised by the server during the last successful anonymous check.

Useu quan calgui respondre una pregunta amb dades obertes catalanes (15 portals — Generalitat, Barcelona, Diba, AOC, Reus, Girona, FGC, Idescat, Renfe, INE, REE, CNMC, CORA, Catalònica) amb les eines del servidor MCP opendata.cat (search_datasets, get_dataset_info, list_dataset_fields, query_dataset, related_datasets). Orienta com decidir el dataset, filtrar, paginar i citar bé.

consulta-dades-obertes URI
skill://consulta-dades-obertes/SKILL.md

MIME type: text/markdown

contractacio-publica — contractacio-publica

Advertised by the server during the last successful anonymous check.

Useu quan calgui investigar contractació pública a Catalunya amb el servidor MCP opendata.cat — qui contracta una empresa, quant ha adjudicat un ens, els contractes d'un municipi o de la Generalitat, rànquings d'adjudicataris. Guia quin dataset triar, com filtrar i sumar imports, com creuar fonts sense duplicar i com citar cada xifra.

contractacio-publica URI
skill://contractacio-publica/SKILL.md

MIME type: text/markdown

patrimoni-i-hemeroteca — patrimoni-i-hemeroteca

Advertised by the server during the last successful anonymous check.

Useu quan calgui investigar patrimoni cultural digital i premsa/ràdio catalana amb el servidor MCP opendata.cat — Catalònica (39 subportals de la BNC: MNAC, RACO, tesis, mapes, manuscrits, hemeroteques) i radioteca.cat (~485K episodis). Guia com triar el subportal, com cercar-hi i la disciplina de cites (mai fabricar registres, sempre enllaçar la font).

patrimoni-i-hemeroteca URI
skill://patrimoni-i-hemeroteca/SKILL.md

MIME type: text/markdown

radar-municipal — radar-municipal

Advertised by the server during the last successful anonymous check.

Useu quan calgui fer un retrat complet d'un municipi català amb dades obertes (pressupost, deute, cost de serveis, contractes, població, equipaments) creuant portals amb el servidor MCP opendata.cat. Guia com filtrar per NOM_ENS, quins datasets AOC/Generalitat/estadístics usar, i com tancar amb què falta.

radar-municipal URI
skill://radar-municipal/SKILL.md

MIME type: text/markdown

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (58 of 58 checks answered)

  1. 2026-11-07: 1 of 1 checks answered
  2. 2026-11-09: 1 of 1 checks answered
  3. 2026-11-10: 2 of 2 checks answered
  4. 2026-11-11: 1 of 1 checks answered
  5. 2026-11-12: 1 of 1 checks answered
  6. 2026-11-14: 1 of 1 checks answered
  7. 2026-11-15: 2 of 2 checks answered
  8. 2026-11-16: 4 of 4 checks answered
  9. 2026-11-17: 5 of 5 checks answered
  10. 2026-11-18: 5 of 5 checks answered
  11. 2026-11-19: 4 of 4 checks answered
  12. 2026-11-20: 3 of 3 checks answered
  13. 2026-11-21: 4 of 4 checks answered
  14. 2026-11-22: 4 of 4 checks answered
  15. 2026-11-23: 3 of 3 checks answered
  16. 2026-11-24: 4 of 4 checks answered
  17. 2026-11-25: 4 of 4 checks answered
  18. 2026-11-26: 4 of 4 checks answered
  19. 2026-11-27: 4 of 4 checks answered
  20. 2026-11-28: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
1711 ms
95th percentile latency
2030 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 2007 ms · 8 tool(s), 4 resource(s), 21 prompt(s); warnings: Advertises resources/templates/list but does not implement it
  • · probe · passed · 2033 ms · 8 tool(s), 4 resource(s), 21 prompt(s); warnings: Advertises resources/templates/list but does not implement it
  • · probe · passed · 1092 ms · metadata changed · 8 tool(s), 4 resource(s), 21 prompt(s); warnings: Advertises resources/templates/list but does not implement it

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http opendata-mcp https://opendata.cat/api/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add opendata-mcp --url https://opendata.cat/api/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable opendata-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "opendata-mcp": {
      "url": "https://opendata.cat/api/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "opendata-mcp": {
      "type": "streamableHttp",
      "url": "https://opendata.cat/api/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start opendata-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "opendata-mcp": {
      "type": "http",
      "url": "https://opendata.cat/api/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http opendata-mcp https://opendata.cat/api/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://opendata.cat/api/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "opendata-mcp": {
      "serverUrl": "https://opendata.cat/api/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Opendata.cat MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Frequently asked questions

Can I use this server to check real-time train positions?
Yes. The server provides tools to query real-time train positions from FGC and Renfe Rodalies. This allows agents to retrieve current location data for these specific transit networks.
Does connecting to the server require an account?
No sign-in is required to connect to the server or list its tools. However, individual tools may still need a vendor account, credentials, or permissions. You must check the documented prerequisites for each specific task.
What data can I retrieve regarding energy costs?
The server allows agents to retrieve electricity prices (PVPC) and fuel costs. These tools enable queries for current and historical energy pricing data from the specified public sources.
Are there limitations on tool access without credentials?
The live check verifies connection and tool discovery only. It does not establish whether every tool works without an account, credentials, payment, or permissions. Prerequisites vary by tool.