About Kolada MCP
Kolada MCP is an MCP server published by aerugo in the Developer Tools category: an MCP server for Kolada.
The repository has 16 stars and 2 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/aerugo/kolada-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (9)
analyze_kpi_across_municipalitiesComparative analysis with rankings
Parameters not published.
compare_kpisCompare two KPIs (difference or correlation)
Parameters not published.
fetch_kolada_dataFetch raw KPI data for municipalities
Parameters not published.
filter_municipalities_by_kpiFilter by KPI threshold
Parameters not published.
get_kpi_metadataGet detailed metadata for a specific KPI
Parameters not published.
get_kpis_by_operating_areaGet KPIs within a specific category
Parameters not published.
list_municipalitiesList municipalities/regions
Parameters not published.
list_operating_areasList all KPI categories with counts
Parameters not published.
search_kpisSemantic search for KPIs using natural language
Parameters not published.
Ask AI
Ask AI about Kolada MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
Kolada MCP Server
A clean, standalone MCP (Model Context Protocol) server for Sweden's Kolada municipal statistics API.
Overview
This server provides AI applications with access to Sweden's comprehensive municipal and regional statistics database. It enables natural language queries against thousands of Key Performance Indicators (KPIs) covering various aspects of Swedish public sector data.
Features
- 9 MCP Tools for comprehensive data access
- Semantic Search using Swedish BERT embeddings
- No External Dependencies - fully standalone (no Mima or Redis)
- Containerized with Docker support
- Modern Python 3.11+ with type hints and async/await
Available Tools
| Tool | Description |
|---|---|
list_operating_areas |
List all KPI categories with counts |
get_kpis_by_operating_area |
Get KPIs within a specific category |
search_kpis |
Semantic search for KPIs using natural language |
get_kpi_metadata |
Get detailed metadata for a specific KPI |
fetch_kolada_data |
Fetch raw KPI data for municipalities |
analyze_kpi_across_municipalities |
Comparative analysis with rankings |
compare_kpis |
Compare two KPIs (difference or correlation) |
list_municipalities |
List municipalities/regions |
filter_municipalities_by_kpi |
Filter by KPI threshold |
Installation
Using pip
pip install -e .
Using Docker
docker-compose up -d kolada-mcp
Usage
Stdio Mode (Default)
kolada-mcp
# or
python -m kolada_mcp
HTTP Mode
MCP_TRANSPORT=http PORT=8001 kolada-mcp
Claude Desktop Integration
Add to your Claude Desktop configuration:
{
"mcpServers": {
"kolada": {
"command": "kolada-mcp"
}
}
}
Configuration
Environment variables:
| Variable | Default | Description |
|---|---|---|
MCP_TRANSPORT |
stdio |
Transport mode (stdio or http) |
PORT |
8001 |
HTTP server port |
LOG_LEVEL |
INFO |
Logging level |
Development
Setup
# Create virtual environment
python -m venv .venv
source .venv/bin/activate
# Install with dev dependencies
pip install -e ".[dev]"
Running Tests
pytest
Code Quality
# Linting
ruff check src tests
# Type checking
mypy src
Architecture
src/kolada_mcp/
├── __init__.py # Package init
├── __main__.py # Entry point
├── config.py # Settings (Pydantic)
├── server.py # FastMCP server
├── models/
│ └── types.py # Data models
├── services/
│ ├── kolada_client.py # API client
│ ├── embeddings.py # Semantic search
│ └── data_processing.py
└── tools/
├── metadata.py # KPI metadata tools
├── data.py # Data fetching tools
├── municipality.py # Municipality tools
└── comparison.py # Comparison tools
License
Apache-2.0
README fetched from the repository yesterday. The original is authoritative.