home / mcp / swedish law mcp server
Queries 717 Swedish statutes and EU cross-references directly from Claude and MCP clients for legal research.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-swedish-law-mcp": {
"command": "npx",
"args": [
"-y",
"@ansvar/swedish-law-mcp"
],
"env": {
"YOUR_API_KEY": "YOUR_API_KEY"
}
}
}
}You can query Swedish statutes and EU cross-references directly from Claude, Cursor, or any MCP-compatible client using the Swedish Law MCP Server. It makes extensive Swedish law searchable, cross-referenceable, and AI-readable, enabling precise provisions, up-to-date status checks, and linked preparatory works for efficient legal research and compliance tooling.
Connect your MCP client to the Swedish Law MCP Server to search 717 statutes, retrieve exact provisions, and explore EU cross-references. Use natural-language queries to locate specific provisions, check if a statute is still in force, access preparatory works, and retrieve related EU directives and regulations. Use the furnished tools to validate citations, aggregate legal materials, and format citations for Swedish legal conventions.
Prerequisites you need before installation: Node.js (npm) for server setup and running command-line MCP clients. Ensure you have internet access to pull dependencies.
{
"mcpServers": {
"swedish-law": {
"command": "npx",
"args": ["-y", "@ansvar/swedish-law-mcp"]
}
}
}{
"mcp.servers": {
"swedish-law": {
"command": "npx",
"args": ["-y", "@ansvar/swedish-law-mcp"]
}
}
}For access to the complete production database, run these commands to fetch and build the server locally.
git clone https://github.com/Ansvar-Systems/swedish-law-mcp
cd swedish-law-mcp
npm install
npm run buildThen configure your Claude Desktop to point to the built distribution.
{
"mcpServers": {
"swedish-law": {
"command": "node",
"args": ["/absolute/path/to/swedish-law-mcp/dist/index.js"]
}
}
}FTS5 search on 31,198 provisions with BM25 ranking to find relevant statutes quickly.
Retrieve a specific provision using its SFS number plus chapter and section for exact text.
Search case law with filters for court and date to locate relevant rulings.
Fetch linked propositions and SOUs for statutes to explore legislative history.
Check whether a citation is valid against the database content to prevent errors.
Aggregate citations from statutes, case law, and preparatory works for a cohesive view.
Format legal citations according to Swedish conventions (full/short/pinpoint).
Determine whether a statute is in force, amended, or repealed.
Retrieve EU directives and regulations referenced by Swedish statutes.
Find Swedish acts that implement specific EU acts.
Search EU documents with counts of Swedish implementations.
Obtain EU law references for a given provision.
Check implementation status of EU acts (status may be future or require more MCP integration).