io.github.xaviviro/opendata-cat
Connect LLMs with 2,500+ open data datasets from Catalonia (Socrata, CKAN, REST).
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.
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.
List fields of a dataset with name, data type and description. Call before query_dataset to know which fields and filters are available.
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).
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 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.
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.
| Timestamp | Status | Latency | Conformance |
|---|---|---|---|
| May 30, 2026 | success | 608.1ms | Pass |
| May 29, 2026 | success | 608.8ms | Pass |
| May 29, 2026 | success | 504.1ms | Pass |
| May 27, 2026 | success | 490.6ms | Pass |
| May 27, 2026 | success | 526.7ms | Pass |
| May 27, 2026 | success | 499.3ms | Pass |
| May 26, 2026 | success | 559.2ms | Pass |
| May 25, 2026 | success | 542ms | Pass |
| May 22, 2026 | success | 450ms | Pass |
| May 22, 2026 | success | 484.4ms | Pass |