home / mcp / swedish law mcp server
Queries Swedish statutes and EU cross-references directly from Claude and compatible MCP clients.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-finnish-law-mcp": {
"url": "https://swedish-law-mcp.vercel.app/mcp"
}
}
}You can query 717 Swedish statutes directly from Claude or compatible MCP clients, with full provision text, cross-references to EU law, and up-to-date legal data. This MCP server makes Swedish law searchable, AI-friendly, and easy to integrate into your legal tech or research workflows.
Connect to the Swedish law MCP server via an MCP client of your choice. You have two primary options: use the remote hosted endpoint or run the server locally. Once connected, you can search for specific statutes, retrieve exact provisions, check if a statute is in force, and explore EU cross-references and preparatory works. Use natural language queries like “What does Dataskyddslagen say about consent?” or “Which Swedish laws implement the GDPR?” to get precise provisions with context.
Prerequisites you need before starting include having Node.js and npm installed on your machine. You will also need internet access to download the MCP package or reach the remote endpoint.
# Run the MCP server locally using the recommended shortcut
npx @ansvar/swedish-law-mcp
# Alternatively, start the server in development mode if you prefer a local build workflow
npm run devConfigure how you connect from clients that support the MCP protocol. You can use the remote endpoint directly from Claude, Claude Code, Claude Desktop, or GitHub Copilot services. For local development, you can start a local MCP server using npm or npx, and then point your clients to the local instance if needed.
Perform a fast BM25-ranked full-text search over 31,198 provisions using FTS5 to locate statutes, sections, and related text.
Retrieve a specific provision by its SFS number, chapter, and section to show exact text with context.
Search case law with full-text search and filters by court and date to locate relevant decisions.
Fetch linked propositions and SOUs for a chosen statute to trace legislative history.
Validate a citation against the database to check accuracy and consistency.
Aggregate citations from statutes, case law, and preparatory works to form a legal position.
Format legal citations according to Swedish conventions, including full, short, and pinpoint formats.
Verify whether a statute is in force, amended, or repealed and obtain current status.
Retrieve EU directives and regulations applicable to a Swedish statute.
Identify Swedish laws that implement a given EU act.
Search EU implementation documents and count Swedish implementations.
Obtain EU law references for a specific provision.
Check whether EU implementations are current and compliant with the directive or regulation.