PluginBench
MCP Server
Maintained
MIT

Kolada MCP Server MCP Server

io.github.isakskogstad/kolada-mcp

Access 5,000+ Swedish municipal and regional KPIs for all 290 municipalities via AI.

What is the Kolada MCP Server MCP server?

The Kolada MCP Server connects LLMs and AI chatbots to Kolada, Sweden's comprehensive open data source for municipal and regional statistics. It exposes 5,000+ Key Performance Indicators (KPIs) across 264 operating areas (education, healthcare, environment, economy, democracy, etc.) for all 290 Swedish municipalities and 21 regions. Developed by Isak Skogstad, independent of Kolada/SKR.

This server enables AI agents to query and analyze Swedish municipal statistics directly. You can search KPIs, retrieve municipality data, compare regions, analyze trends, and filter municipalities by performance thresholds. Ideal for policy analysis, municipal benchmarking, research, and data-driven decision-making in Swedish governance and public administration.

How to install Kolada MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "kolada-mcp": {
      "command": "node",
      "args": [
        "-y",
        "kolada-mcp-server"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • search_kpis — Full-text search across 5,000+ KPIs
  • get_kpi — Retrieve metadata for a KPI by ID
  • get_kpis — Fetch multiple KPIs simultaneously (max 25)
  • get_kpi_groups — List thematic KPI groups
  • get_kpi_group — Retrieve all KPIs in a group
  • list_operating_areas — List 264 operating areas (verksamhetsområden)
  • get_kpis_by_operating_area — Filter KPIs by operating area
  • search_municipalities — Search 290 municipalities and 21 regions
  • get_municipality — Retrieve municipality details by ID
  • get_municipality_groups — List municipality groups
  • get_municipality_group — Retrieve municipalities in a group
  • search_organizational_units — Search schools, care homes, and other units
  • get_organizational_unit — Retrieve organizational unit details
  • get_ou_types — List organizational unit types
  • get_kpi_data — Retrieve KPI values with gender filtering (Total/Male/Female)
  • get_municipality_kpis — List KPIs for a municipality
  • compare_municipalities — Compare 2–10 municipalities
  • get_kpi_trend — Time-series analysis of KPI trends
  • analyze_kpi_across_municipalities — Statistics and ranking across municipalities
  • filter_municipalities_by_kpi — Filter municipalities by KPI threshold

Use cases

  • Compare education performance (graduation rates, student-teacher ratios) across Swedish municipalities
  • Analyze healthcare KPIs (wait times, patient satisfaction) by region to identify best practices
  • Track demographic trends and population changes in specific municipalities over time
  • Benchmark municipal spending and efficiency metrics against peer groups
  • Identify municipalities meeting or exceeding specific performance thresholds for policy research

Kolada MCP Server MCP server FAQ

What is the Kolada MCP Server?

It's an MCP server that connects AI agents to Kolada, Sweden's open data platform for municipal and regional statistics. It provides access to 5,000+ KPIs across 264 operating areas for all 290 Swedish municipalities and 21 regions.

Is it free to use?

Yes. Kolada's API is free and requires no agreement. You must attribute data as 'Source: Kolada' if used in a service, and cannot misrepresent it as an official partnership with RKA/Kolada.

How do I install it in Claude Desktop?

Add the following to your Claude Desktop config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json): {"mcpServers": {"kolada": {"command": "npx", "args": ["-y", "kolada-mcp-server"]}}}

Do I need authentication or API keys?

No. The server connects directly to Kolada's public API with no authentication required. All data is open and freely accessible.

What data can I query?

You can search and retrieve KPIs, municipality details, organizational units (schools, care homes), compare regions, analyze trends, and filter municipalities by performance metrics. Gender-filtered data (total, male, female) is available for most KPIs.

Is this an official Kolada product?

No. It was developed by Isak Skogstad independently and is not affiliated with Kolada or SKR (Swedish Association of Local Authorities and Regions).

README (reference)

Source of truth, from the repository.

<img width="640" height="320" alt="Kolada Banner" src="https://github.com/user-attachments/assets/514f2796-ea48-4e6e-a9c1-20121a7cfeb4" />

Kolada MCP Server

npm version MCP Registry License: MIT

MCP-server för svensk kommun- och regionstatistik från Kolada API.

Kolada MCP-server kan LLMs ansluta till via lokal installation – och genom den få direkt tillgång till data och statistik för 5 000+ nyckeltal (KPI:er) inom 264 områden (ex. skola, vård, miljö, ekonomi, demokrati o.s.v.) för Sveriges alla kommuner och regioner. Utvecklad av Isak Skogstad, fristående från Kolada/RKA.

English: Kolada MCP Server connects LLMs and AI chatbots to 5,000+ Key Performance Indicators (KPIs) across 264 operating areas for all 290 Swedish municipalities and 21 regions. Kolada is Sweden's most comprehensive open data source for municipal and regional statistics. Developed by Isak Skogstad, not associated with Kolada/SKR.

https://github.com/user-attachments/assets/6791bb81-79dc-4af3-8028-44c3929d57d0

Installation

Med npx (snabbast):

npx kolada-mcp-server

Med global installation:

npm install -g kolada-mcp-server
kolada-mcp-server

Paketet publiceras på npm: kolada-mcp-server.

Klientkonfiguration

Claude Desktop

Lägg till i konfigurationsfilen:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "kolada": {
      "command": "npx",
      "args": ["-y", "kolada-mcp-server"]
    }
  }
}

Claude Code (CLI)

claude mcp add kolada -- npx -y kolada-mcp-server

Verifiera med:

claude mcp list

OpenAI Codex CLI

Lägg till i ~/.codex/config.toml:

[mcp_servers.kolada]
command = "npx"
args = ["-y", "kolada-mcp-server"]

Gemini CLI

Lägg till i ~/.gemini/settings.json:

{
  "mcpServers": {
    "kolada": {
      "command": "npx",
      "args": ["-y", "kolada-mcp-server"]
    }
  }
}

Firebase Studio / Android Studio

Lägg till i mcp.json i projektroten:

{
  "mcpServers": {
    "kolada": {
      "command": "npx",
      "args": ["-y", "kolada-mcp-server"]
    }
  }
}

Andra MCP-klienter

De flesta MCP-klienter stödjer stdio-transport. Konfigurera med:

{
  "mcpServers": {
    "kolada": {
      "command": "npx",
      "args": ["-y", "kolada-mcp-server"]
    }
  }
}

Installation från källkod

git clone https://github.com/isakskogstad/kolada-mcp.git
cd kolada-mcp
npm install
npm run build
node dist/index.js

Verktyg

Nyckeltal (KPI)

VerktygBeskrivning
search_kpisFritextsökning bland 5 000+ nyckeltal
get_kpiHämta metadata för ett nyckeltal via ID
get_kpisHämta flera nyckeltal samtidigt (max 25)
get_kpi_groupsLista tematiska grupper
get_kpi_groupHämta alla nyckeltal i en grupp
list_operating_areasLista 264 verksamhetsområden
get_kpis_by_operating_areaFiltrera nyckeltal per verksamhetsområde

Kommuner och regioner

VerktygBeskrivning
search_municipalitiesSök bland 290 kommuner och 21 regioner
get_municipalityHämta detaljer via kommun-ID (t.ex. "0180")
get_municipality_groupsLista kommungrupper
get_municipality_groupHämta kommuner i en grupp

Organisationsenheter

VerktygBeskrivning
search_organizational_unitsSök skolor, äldreboenden m.m.
get_organizational_unitHämta enhetsdetaljer
get_ou_typesLista enhetstyper

Data

VerktygBeskrivning
get_kpi_dataHämta värden med könsfiltrering (T/M/K)
get_municipality_kpisLista KPI:er för en kommun
compare_municipalitiesJämför 2–10 kommuner
get_kpi_trendTidsserieanalys

Analys

VerktygBeskrivning
analyze_kpi_across_municipalitiesStatistik + rankning
filter_municipalities_by_kpiFiltrera efter tröskelvärde
compare_kpisKorrelation mellan nyckeltal

Verksamhetsområden (urval)

OmrådeAntal KPI:er
Kommunen, övergripande553
Grundskola åk 0-9470
Gymnasieskola åk 1-3215
Hälso- och sjukvård204
Befolkning199
Region/Landsting151
Förskoleverksamhet135
Vuxenutbildning126

Totalt 264 verksamhetsområden.

Enhetstyper

KodTyp
V11Förskola
V15Grundskola
V16Gymnasieskola
V17Anpassad skola
V18Vuxenutbildning
V21Äldreboende
V31Fritidshem

Huvudfunktioner

  • Könsfiltrering – T (totalt), M (män), K (kvinnor)
  • Intelligent cachning – 24-timmarscache för kataloger
  • Hastighetsbegränsning – Respekterar Koladas API-gränser
  • Svensk dokumentation – Optimerat för svenska AI-assistenter

Säkerhet / Security

Kolada MCP Server använder flera lager av automatisk säkerhetsskanning för att säkerställa kodens integritet och upptäcka sårbarheter:

🛡️ Automatiska Säkerhetsverktyg

  • CodeQL: Kontinuerlig kodanalys för säkerhetsbrister
  • GitGuardian: Skannar efter exponerade API-nycklar och hemligheter
  • TruffleHog: Kompletterande secret scanning i commit-historik
  • Bearer SAST: Static Application Security Testing för applikationssårbarheter
  • Dependabot: Automatiska säkerhetsuppdateringar för dependencies
  • npm audit: Daglig granskning av sårbara paket

📋 Säkerhetspolicy

Se SECURITY.md för:

  • Hur man rapporterar säkerhetsproblem
  • Detaljer om säkerhetsskanningsprocessen
  • Riktlinjer för säker användning
  • Kontaktinformation

🔒 Bästa Praxis

  • Inga hårdkodade hemligheter i källkoden
  • Alla känsliga värden hanteras via miljövariabler
  • Rate limiting och timeout-konfigurationer
  • Regelbundna automatiska säkerhetsuppdateringar

English: For security policies and vulnerability reporting, see SECURITY.md.

Licens

MIT – se LICENSE

Skapat av Isak Skogstad.

<details> <summary><strong>Kolada användarvillkor</strong></summary>
  • Utnyttjande av data från Koladas API är avgiftsfritt och kräver inget avtal.
  • Om du använder data från Kolada i en tjänst, ska källan anges ('Källa: Kolada').
  • Gör du egna bearbetningar på vår data, får inte Kolada anges som källa.
  • Det är tillåtet att använda vår data för kommersiella ändamål.
  • API:et får inte användas för att sprida skadlig kod.
  • Du får inte presentera den tjänst du utvecklat som ett 'officiellt samarbete' eller 'partnerskap' med RKA/Kolada.
  • Tjänsten tillhandahålls i befintligt skick.
  • Publicering av data i Kolada sker löpande under året i enlighet med respektive statistikkällas publiceringstidpunkt.
  • Revideringar av data i Kolada kan ske och aviseras inte särskilt.
  • Enskilda nyckeltal kan tas bort ur Kolada t.ex. pga. att underlag för nyckeltalen förändras, vilket inte aviseras.
</details>

Related MCP servers

OEOECD MCP Server logo

OECD MCP Server

Maintained

OECD economic and statistical data via SDMX API. Access 5,000+ datasets across 17 categories.

7
TypeScript
MIT
View repository →

MCP server for Statistics Sweden (SCB) - 1200+ tables with population, economy, environment data

7
TypeScript
View repository →

Easy and stylish presentation slide generator.

0
HTML
AGPL-3.0
View repository →

Official MCP server for Scorezilla — add a leaderboard to your game from your AI coding assistant.

1
TypeScript
MIT
View repository →

Get weather, air quality, and timezone data for any city using Open-Meteo API—no API key required.

58
Python
Apache-2.0
View repository →

AI-powered PostgreSQL performance tuning with slow query analysis, index recommendations, and hypothetical testing.

26
Python
Apache-2.0
View repository →