eu.ansvar/danish-law-mcp
Query Danish laws and regulations, EU cross-references, case law, and preparatory works
★ 1Apache-2.0cloud
Install
Config snippet generator goes here (5 client tabs)
README
# Danish Law MCP Server
**The Retsinformation alternative for the AI age.**
[](https://www.npmjs.com/package/@ansvar/danish-law-mcp)
[](https://registry.modelcontextprotocol.io)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/Ansvar-Systems/Denmark-law-mcp)
[](https://github.com/Ansvar-Systems/Denmark-law-mcp/actions/workflows/ci.yml)
[](https://github.com/Ansvar-Systems/Denmark-law-mcp/actions/workflows/check-updates.yml)
[](docs/EU_INTEGRATION_GUIDE.md)
[](docs/EU_INTEGRATION_GUIDE.md)
Query **62,764 Danish laws** -- from Databeskyttelsesloven and Straffeloven to Selskabsloven, Forvaltningsloven, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing Danish legal research, this is your verified reference database.
Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden
---
## Why This Exists
Danish legal research means navigating retsinformation.dk, cross-referencing between lovbekendtgørelser (consolidated laws), forslag (bills), betænkninger (committee reports), and EUR-Lex. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking Databeskyttelsesloven obligations or GDPR alignment
- A **legal tech developer** building tools on Danish law
- A **researcher** tracing legislative history from lovforslag to enacted statute
...you shouldn't need dozens of browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes Danish law **searchable, cross-referenceable, and AI-readable**.
---
## Quick Start
### Use Remotely (No Install Needed)
> Connect directly to the hosted version -- zero dependencies, nothing to install.
**Endpoint:** `https://danish-law-mcp.fly.dev/mcp`
> **Note:** This server is hosted on Fly.io rather than Vercel because the database (1.6 GB) exceeds Vercel's 50 MB deployment limit. The endpoint is otherwise identical in behaviour to other Ansvar Law MCP servers.
| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add danish-law --transport http https://danish-law-mcp.fly.dev/mcp` |
| **Claude Desktop** | Add to config (see below) |
| **GitHub Copilot** | Add to VS Code settings (see below) |
**Claude Desktop** -- add to `claude_desktop_config.json`:
```json
{
"mcpServers": {
"danish-law": {
"type": "url",
"url": "https://danish-law-mcp.fly.dev/mcp"
}
}
}
```
**GitHub Copilot** -- add to VS Code `settings.json`:
```json
{
"github.copilot.chat.mcp.servers": {
"danish-law": {
"type": "http",
"url": "https://danish-law-mcp.fly.dev/mcp"
}
}
}
```
### Use Locally (npm)
```bash
npx @ansvar/danish-law-mcp
```
**Claude Desktop** -- add to `claude_desktop_config.json`:
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
```json
{
"mcpServers": {
"danish-law": {
"command": "npx",
"args": ["-y", "@ansvar/danish-law-mcp"]
}
}
}
```
**Cursor / VS Code:**
```json
{
"mcp.servers": {
"danish-law": {
"command": "npx",
"args": ["-y", "@ansvar/danish-law-mcp"]
}
}
}
```
## Example Queries
Once connected, just ask naturally -- in Danish or English:
- *"Hvad siger Databeskyttelsesloven § 5 om behandling af personoplysninger?"*
- *"Er Straffelovens § 263 om hacking stadig i kraft?"*
- *"Find bestemmelser om offentlighedsprincippet"*
- *"Hvad siger konkurrenceretten om misbrug af dominerende stilling?"*
- *"Valider citatet 'Straffelovens § 263'"*
- *"Opbyg en juridisk argumentation om GDPR-forpligtelser for virksomheder"*
- *"Which Danish laws implement the GDPR?"*
- *"What does Forvaltningsloven say about administrative procedures?"*
---
## What's Included
| Category | Count | Details |
|----------|-------|---------|
| **Laws** | 62,764 laws | Complete corpus from retsinformation.dk |
| **Provisions** | 620,940 sections | Full-text searchable with FTS5 |
| **Premium: Case Law** | 3,918 rulings | Højesteret, Landsretter decisions |
| **Premium: Preparatory Works** | 4,412 documents | Lovforslag, betænkninger |
| **Database Size** | 1.6 GB | Optimized SQLite, h