Swedish municipality statistics from Kolada API. 6000+ KPIs for all 290 municipalities.
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
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.
Lägg till i konfigurationsfilen:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"kolada": {
"command": "npx",
"args": ["-y", "kolada-mcp-server"]
}
}
}
claude mcp add kolada -- npx -y kolada-mcp-server
Verifiera med:
claude mcp list
Lägg till i ~/.codex/config.toml:
[mcp_servers.kolada]
command = "npx"
args = ["-y", "kolada-mcp-server"]
Lägg till i ~/.gemini/settings.json:
{
"mcpServers": {
"kolada": {
"command": "npx",
"args": ["-y", "kolada-mcp-server"]
}
}
}
Lägg till i mcp.json i projektroten:
{
"mcpServers": {
"kolada": {
"command": "npx",
"args": ["-y", "kolada-mcp-server"]
}
}
}
De flesta MCP-klienter stödjer stdio-transport. Konfigurera med:
{
"mcpServers": {
"kolada": {
"command": "npx",
"args": ["-y", "kolada-mcp-server"]
}
}
}
git clone https://github.com/isakskogstad/kolada-mcp.git
cd kolada-mcp
npm install
npm run build
node dist/index.js
| Verktyg | Beskrivning |
|---|---|
search_kpis | Fritextsökning bland 5 000+ nyckeltal |
get_kpi | Hämta metadata för ett nyckeltal via ID |
get_kpis | Hämta flera nyckeltal samtidigt (max 25) |
get_kpi_groups | Lista tematiska grupper |
get_kpi_group | Hämta alla nyckeltal i en grupp |
list_operating_areas | Lista 264 verksamhetsområden |
get_kpis_by_operating_area | Filtrera nyckeltal per verksamhetsområde |
| Verktyg | Beskrivning |
|---|---|
search_municipalities | Sök bland 290 kommuner och 21 regioner |
get_municipality | Hämta detaljer via kommun-ID (t.ex. "0180") |
get_municipality_groups | Lista kommungrupper |
get_municipality_group | Hämta kommuner i en grupp |
| Verktyg | Beskrivning |
|---|---|
search_organizational_units | Sök skolor, äldreboenden m.m. |
get_organizational_unit | Hämta enhetsdetaljer |
get_ou_types | Lista enhetstyper |
| Verktyg | Beskrivning |
|---|---|
get_kpi_data | Hämta värden med könsfiltrering (T/M/K) |
get_municipality_kpis | Lista KPI:er för en kommun |
compare_municipalities | Jämför 2–10 kommuner |
get_kpi_trend | Tidsserieanalys |
| Verktyg | Beskrivning |
|---|---|
analyze_kpi_across_municipalities | Statistik + rankning |
filter_municipalities_by_kpi | Filtrera efter tröskelvärde |
compare_kpis | Korrelation mellan nyckeltal |
| Område | Antal KPI:er |
|---|---|
| Kommunen, övergripande | 553 |
| Grundskola åk 0-9 | 470 |
| Gymnasieskola åk 1-3 | 215 |
| Hälso- och sjukvård | 204 |
| Befolkning | 199 |
| Region/Landsting | 151 |
| Förskoleverksamhet | 135 |
| Vuxenutbildning | 126 |
Totalt 264 verksamhetsområden.
| Kod | Typ |
|---|---|
| V11 | Förskola |
| V15 | Grundskola |
| V16 | Gymnasieskola |
| V17 | Anpassad skola |
| V18 | Vuxenutbildning |
| V21 | Äldreboende |
| V31 | Fritidshem |
Kolada MCP Server använder flera lager av automatisk säkerhetsskanning för att säkerställa kodens integritet och upptäcka sårbarheter:
Se SECURITY.md för:
English: For security policies and vulnerability reporting, see SECURITY.md.
MIT – se LICENSE
Skapat av Isak Skogstad.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y kolada-mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-isakskogstad-kolada-mcp": {
"command": "npx",
"args": [
"-y",
"kolada-mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencekolada-mcp-servernpmKolada MCP Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.