home / mcp / kolada mcp server
Provides AI applications with access to Sweden’s municipal KPI data via MCP tools for semantic search, metadata, and cross-municipality analysis.
Configuration
View docs{
"mcpServers": {
"aerugo-kolada-mcp": {
"command": "kolada-mcp",
"args": [],
"env": {
"PORT": "8001",
"LOG_LEVEL": "INFO",
"MCP_TRANSPORT": "stdio"
}
}
}
}Kolada MCP Server is a clean, standalone MCP server that enables AI applications to query Sweden’s municipal and regional KPI data. It provides semantic KPI access, supports multiple tools, and runs without external dependencies, making it practical for AI-assisted analytics and natural language queries over public sector data.
You interact with the Kolada MCP Server through an MCP client. Run the server in one of its supported modes, then connect your client to issue KPI queries, compare KPIs, fetch data, or perform analyses across municipalities.
Default behavior starts the server in stdio mode, which runs as a local process you invoke directly. You can also start the server in HTTP mode to expose a TCP endpoint on a port you specify. Use the tools in your client to list KPI areas, search KPIs semantically, retrieve KPI metadata, fetch raw data, compare KPIs, and perform cross-municipality analyses.
For Claude Desktop or other suite integrations, point your client at the Kolada MCP endpoint using the appropriate command or transport, then execute queries through your integration layer. The server ships with a set of tools that cover area listing, KPI retrieval, metadata access, data fetching, comparative analyses, and municipality filtering.
Prerequisites you need on your system: Python 3.11 or newer, and a compatible shell environment.
Option A: Install via pip from the local project directory.
pip install -e .Option B: Run the server locally using Python directly in stdio mode.
kolada-mcp
# or
python -m kolada_mcpOption C: Run the server in HTTP mode on a specific port.
MCP_TRANSPORT=http PORT=8001 kolada-mcpOption D: Start via Docker using the provided container configuration.
docker-compose up -d kolada-mcpEnvironment variables control how the MCP server runs. The following variables are supported for transport, port, and log verbosity.
MCP_TRANSPORT=stdio PORT=8001 LOG_LEVEL=INFOThe server exposes a set of 9 MCP tools to access and analyze the KPI data.
If the server fails to start, verify that your Python environment is 3.11+ and that you have network access if using a remote transport. Check that the port is not already in use when starting in HTTP mode.
List all KPI categories with counts.
Get KPIs within a specific category.
Semantic search for KPIs using natural language.
Get detailed metadata for a specific KPI.
Fetch raw KPI data for municipalities.
Comparative analysis with rankings across municipalities.
Compare two KPIs for difference or correlation.
List municipalities and regions.
Filter municipalities by KPI threshold.