Swedish Law MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_legislationA | Search Swedish statutes and regulations by keyword. FTS5 with BM25 ranking. Do NOT use for case law — use search_case_law instead. |
| get_provisionA | Retrieve a specific provision from a Swedish statute. Do NOT use for keyword search — use search_legislation instead. |
| search_case_lawA | Search Swedish court decisions (rattsfall). FTS5 with BM25 ranking. Coverage depends on dataset tier — call 'about' to check actual case law count. Courts: HD, HFD, AD, RH, MÖD, MIG. Source: lagen.nu (CC-BY Domstolsverket). Do NOT use for statutes — use search_legislation instead. |
| get_preparatory_worksA | Get preparatory works (forarbeten) for a Swedish statute. Returns linked propositions, SOUs, and Ds documents. Coverage depends on dataset tier — call 'about' to check. |
| validate_citationA | Validate a Swedish legal citation against the database. Zero-hallucination enforcer. Do NOT use for formatting — use format_citation instead. |
| build_legal_stanceA | Build comprehensive citations for a legal question. Searches statutes, case law, and preparatory works simultaneously. Case law and preparatory works coverage depends on dataset tier — call 'about' to check. Do NOT use for a single known statute — use get_provision + get_preparatory_works instead. |
| format_citationA | Format a Swedish legal citation (full, short, or pinpoint). Do NOT use to verify existence — use validate_citation instead. |
| check_currencyA | Check if a Swedish statute or provision is in force (current or historical). Use before citing to verify statute hasn't been repealed. |
| get_eu_basisA | Get EU legal basis for a Swedish statute. For provision-level, use get_provision_eu_basis. For reverse lookup (EU → Swedish), use get_swedish_implementations. |
| get_swedish_implementationsA | Find Swedish statutes implementing a specific EU directive or regulation. For reverse (Swedish → EU), use get_eu_basis. |
| search_eu_implementationsA | Search EU directives/regulations with Swedish implementation info. Use get_swedish_implementations for specific EU document details. |
| get_provision_eu_basisA | Get EU legal basis for a specific provision. For statute-level EU references, use get_eu_basis instead. |
| validate_eu_complianceA | Validate EU compliance status for a Swedish statute or provision. Phase 1: checks reference validity, not substantive compliance. |
| get_provision_historyB | Returns the full version timeline for a specific provision of a Swedish statute. Shows all historical versions with validity dates. Premium feature — requires Ansvar Intelligence Portal. |
| diff_provisionA | Shows what changed in a Swedish statute provision between two dates. Returns a unified diff and change summary. Premium feature — requires Ansvar Intelligence Portal. |
| get_recent_changesA | Lists all Swedish statute provisions that changed since a given date. Useful for regulatory change monitoring. Premium feature — requires Ansvar Intelligence Portal. |
| list_sourcesA | List all data sources used by this MCP server with provenance metadata. Returns jurisdiction, source authorities, URLs, retrieval methods, update frequencies, licenses, coverage scope, and known limitations. Use this to understand where the data comes from and how current it is. For server statistics, use about instead. |
| check_data_freshnessA | Returns the corpus build timestamp and per-source last_verified dates with staleness_days against a 90-day threshold. Use this to verify whether the data backing this MCP is current before relying on it for compliance work. For full source provenance, use list_sources; for server statistics, use about. |
| aboutA | Server metadata, dataset statistics, freshness, and provenance. Call this to verify data coverage, currency, and content basis before relying on results. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Case Law Statistics | Metadata about case law data freshness and coverage |
TDQS
Scored across 19 tools
Every tool has a clear, distinct purpose with explicit cross-references and warnings to prevent misuse. For example, `search_legislation` and `search_case_law` are separated, and `get_provision` is not used for keyword search.
18 of 19 tools follow verb_noun pattern (e.g., `get_provision`, `search_legislation`, `validate_citation`). The sole exception is `about`, which is a common server metadata endpoint.
19 tools comprehensively cover Swedish legal research including statutes, case law, preparatory works, EU implementation, citations, validation, and history. Each tool earns its place without redundancy.
Core workflows are well-covered: search, retrieve provisions, validate, format, get history/diffs. Minor gap: no dedicated tool to retrieve full statute text or detailed case law document, but search and provision tools likely suffice for most use cases.