Swedish Law MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| 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 |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ansvar-Systems/swedish-law-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server