Production-grade Swedish legal research MCP server with comprehensive statute coverage and EU law cross-references
Swedish Law MCP provides 15 well-structured read-only tools for legal research with consistent naming (verb_noun pattern: search_*, get_*, list_*), clear descriptions (average ~80 chars, all present), and documented JSON schemas for inputs. Tool composition is sound, each tool has a single responsibility (e.g., search_statutes vs get_provision vs search_case_law are distinct). However, output schemas are not explicitly documented in the registry or source extracts provided, and error handling guidance is not visible. All tools are READ_ONLY, eliminating destructive operation risks. Parameter descriptions are present and reasonably detailed, though some could be more specific about format expectations and constraints. No security concerns detected (no credential parameters, all tools are query-only). The server follows modern naming conventions and tool composition patterns well, placing it solidly in the B+ range.
Find EU directive and regulation references in Swedish law
Get full text of a specific court decision
Get metadata about an EU directive or regulation
Get full text of a preparatory works document
Get full text of a specific provision from a statute
Get the text of a provision as it was at a specific date
Get information about the MCP server (version, database fingerprint, build date)
Get amendment history of a statute
Output schemas are not explicitly documented in visible source code. The registry shows input schemas clearly, but return types/structures for each tool are not visible in the provided extracts. LLMs cannot plan downstream tool calls or extract fields without knowing what fields each tool returns.
Error handling and recovery guidance is not visible in the source code extracts. Tools should return actionable error messages (e.g., 'SFS number not found. Try search_statutes() with a keyword.') rather than opaque failures. No evidence of error classification (retryable vs user-fixable vs fatal).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Get metadata about a statute (status, amendments, entry into force)
List all statutes in the database
Search Swedish case law from lagen.nu database
Search Swedish legislative preparatory works (förarbeten)
Full-text search across all legal provisions
Search Swedish statutes by SFS number, title, or keyword
Validate and parse a Swedish legal citation
Parameter constraints are described in natural language but not formally specified. For example, 'offset' and 'limit' in list_statutes lack minimum/maximum bounds, allowing LLMs to pass invalid values (e.g., limit=-1 or offset=999999999). Enums like document_type in search_preparatory_works should list valid values explicitly.
Pagination support is visible in list_statutes but not in search tools (search_statutes, search_case_law, search_preparatory_works, search_provisions). Large result sets risk context window exhaustion. Search tools should declare a results cap and offer next_cursor or offset/limit for continuation.
Parameter description for 'sfs' and 'provision_ref' includes examples ('2018:218', '1:3', '1:3 a') which LLMs may reuse literally in subsequent calls. Replace with formal format declarations (e.g., regex pattern in schema, or explicit description: 'YYYY:NNN format').