inooLabs/socialstyrelsen-mcp
If you are the rightful owner of socialstyrelsen-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Socialstyrelsen MCP Server provides access to the Swedish National Board of Health and Welfare's statistical database API, offering tools for querying various Swedish health statistics.
Socialstyrelsen MCP Server
An MCP (Model Context Protocol) server that provides access to the Swedish National Board of Health and Welfare (Socialstyrelsen) statistical database API.
What it does
This server exposes tools for querying Swedish health statistics, including:
- Causes of death (dödsorsaker)
- Pharmaceuticals (läkemedel)
- Diagnoses in inpatient/outpatient care
- Dental health (tandhälsa)
- Surgeries, births, breastfeeding data, and more
Running locally
pip install -r requirements.txt
python server.py
The server runs on port 8004 using streamable HTTP transport.
Docker
docker build -t socialstyrelsen-mcp .
docker run -p 8004:8004 socialstyrelsen-mcp
Or with docker-compose:
docker-compose up
Available tools
| Tool | Description |
|---|---|
socialstyrelsen_get_subjects | List all available data subjects |
socialstyrelsen_list_distribution_values | Explore dimensions and their values for a subject |
socialstyrelsen_list_distribution_values_by_id | Get specific values by ID |
socialstyrelsen_list_distribution_values_by_text | Search values by text |
socialstyrelsen_list_results | Query statistical results with filters |
Data source
All data comes from the public Socialstyrelsen API at https://sdb.socialstyrelsen.se/api/v1. No authentication required.