inooLabs/domstol-mcp
If you are the rightful owner of domstol-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 Domstolen MCP Server provides access to the Swedish Courts' published court decisions API, enabling users to query court decisions and legal precedents.
Domstolen MCP Server
An MCP (Model Context Protocol) server that provides access to the Swedish Courts (Sveriges Domstolar) published court decisions API.
What it does
This server exposes tools for querying Swedish court decisions and legal precedents, including:
- List of Swedish courts (domstolar)
- Published court decisions (publiceringar)
- Case law search with advanced filters
- Legal area and keyword facets
- Grouped publications by correlation number
Running locally
pip install -r requirements.txt
python server.py
The server runs on port 8005 using streamable HTTP transport.
Docker
docker build -t domstolen-mcp .
docker run -p 8005:8005 domstolen-mcp
Or with docker-compose:
docker-compose up
Available tools
| Tool | Description |
|---|---|
hamta_domstolar | List all Swedish courts that publish decisions |
hamta_publiceringar | Get published court decisions with optional filtering |
hamta_publicering_via_id | Get a specific publication by ID with full text content |
hamta_publiceringsgrupp_via_id | Get all publications in a group by correlation number |
sok_publiceringar | Advanced search with filters (dates, legal areas, keywords, etc.) |
hamta_sokforfiningar | Get search refinement facets with counts |
Data source
All data comes from the public Swedish Courts API at https://rattspraxis.etjanst.domstol.se/api/v1. No authentication required.