retsinformation-api-mcp
v1.0.1
Published
MCP server for the Danish Retsinformation API — access Danish laws, bills, parliamentary cases, actors, and more
Maintainers
Readme
retsinformation-api-mcp
MCP server for the Danish Retsinformation API — gives Claude (and other LLMs) direct access to Danish laws, bills, parliamentary cases, actors, and more.
Quick start
Add to your Claude Code config (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"retsinformation": {
"command": "npx",
"args": ["-y", "retsinformation-api-mcp"]
}
}
}Or run directly:
npx retsinformation-api-mcpTools (47 total)
Laws (Love) — 17 tools
| Tool | Description |
|------|-------------|
| search_laws | Search/list laws with filtering by year, ministry, type |
| get_law | Get a specific law by year and number |
| get_law_cases | Get parliamentary cases related to a law |
| get_law_legislative_history | Full legislative history with process steps |
| get_law_actors | Get actors involved with a law |
| get_law_amendments | Get all amendments to a law |
| get_law_versions | Get version history |
| get_law_latest_version | Get latest version with all amendments applied |
| get_law_version | Get a specific version by number |
| get_law_at_date | Get law as it looked on a given date |
| diff_law_versions | Compare two versions |
| get_law_paragraph | Get a specific paragraph from a law |
| get_law_paragraph_stk | Get a subsection (stk.) of a paragraph |
| get_law_markdown | Export law as Markdown |
| get_law_latest_markdown | Export latest version as Markdown |
| get_law_at_date_markdown | Export historical version as Markdown |
| get_law_version_markdown | Export specific version as Markdown |
Bills (Lovforslag) — 11 tools
| Tool | Description |
|------|-------------|
| search_bills | Search/list legislative bills |
| get_bill | Get a specific bill by number |
| get_bill_steps | Get legislative process steps |
| get_bill_actors | Get actors involved |
| get_bill_documents | Get related documents |
| get_bill_enacted_law | Get the enacted law from a bill |
| get_bill_keywords | Get topic keywords |
| get_bill_text | Get bill text content |
| get_bill_step_actors | Get actors in a specific step |
| get_bill_step_documents | Get documents for a step |
| get_bill_document_files | Get downloadable files |
Parliamentary Cases (Folketingssager) — 9 tools
| Tool | Description |
|------|-------------|
| search_cases | Search all 13 case types |
| get_case | Get a case by FT ID |
| get_case_steps | Get process steps |
| get_case_actors | Get actors involved |
| get_case_documents | Get case documents |
| get_case_keywords | Get topic keywords |
| get_case_text | Get case text |
| get_case_step_actors | Get step actors |
| get_case_step_documents | Get step documents |
Keywords (Emneord) — 3 tools
| Tool | Description |
|------|-------------|
| search_keywords | Search topic keywords |
| get_keyword | Get a keyword by FT ID |
| get_keyword_cases | Get cases with a keyword |
Actors (Aktorer) — 4 tools
| Tool | Description |
|------|-------------|
| search_actors | Search politicians, committees, ministries |
| get_actor | Get an actor by FT ID |
| get_actor_relationships | Get actor relationships |
| get_actor_memberships | Get party/committee memberships |
Periods (Perioder) — 3 tools
| Tool | Description |
|------|-------------|
| search_periods | List parliamentary periods |
| get_current_period | Get current period |
| get_period | Get period by FT ID |
Rate limiting
The Retsinformation API allows 20 requests/hour and 50 requests/day per IP. This server includes a 30-minute in-memory cache to minimize API calls.
Development
npm install
npm run build
npm startLicense
MIT
