domstol-mcp

inooLabs/domstol-mcp

3.3

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.

Tools
6
Resources
0
Prompts
0

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

ToolDescription
hamta_domstolarList all Swedish courts that publish decisions
hamta_publiceringarGet published court decisions with optional filtering
hamta_publicering_via_idGet a specific publication by ID with full text content
hamta_publiceringsgrupp_via_idGet all publications in a group by correlation number
sok_publiceringarAdvanced search with filters (dates, legal areas, keywords, etc.)
hamta_sokforfiningarGet 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.