OLH
All work
Case study · Legal AI · 2023 →

Lovguiden

Danish law in one place, with an AI you can check.

Lovguiden brings Danish legislation, case law, parliamentary work and EU law together in one searchable service, with an AI assistant that cites its sources. Designed, built and operated by Oscar Lauge Hoffmann, it had more than a million pageviews last year.

Role
Founder and engineer
Years
2023 →
Live at
lovguiden.dk
Visit lovguiden.dk
1.08M
pageviews · 12 months
581k
visitors · 12 months
400+
companies & organisations
3M+
cross-references
2,000+
public sources
40+
official legal sources
01Lovguiden AI

Built for people who can't afford a wrong answer.

Lovguiden is used by lawyers, accountants and public servants, whose work has consequences when it is wrong. The assistant is designed around that. It answers from Lovguiden's own database of Danish law and case law, and every reference is checked against that database before the user sees it.

If it can't be sourced, it isn't said.

An answer, step by step
  1. Question

    A construction company asks what § 72 of the Working Environment Act requires, and whether changes are coming.

  2. Source

    The provision is retrieved in full, word for word.

  3. Context

    Related rulings, hearings and bills are found.

  4. Answer

    The rule is explained, and a pending bill that amends it is flagged with its current status. Every reference links to its source.

The assistant on lovguiden.dk.
How accuracy is enforced
01

Grounded in the source

The assistant writes from documents retrieved from Lovguiden's database, not from what a language model happens to remember. When the sources don't cover a question, it says so.

02

Every reference verified

Before anything is shown, each cited section, ruling and link is looked up. A reference that can't be found is removed. It never appears as a link.

03

Sources in the right order

Legislation is read before preparatory works, and case law is weighed by court: the Supreme Court first, then the high courts, the district courts and the tribunals.

04

Always the law as it stands

Laws, rulings and bills are updated every day, so answers reflect current law, including amendments that have been passed but have not yet taken effect.

Legal commentary that keeps itself current

Lovguiden publishes commentary on Danish legislation, section by section, covering the wording, the legislative intent, the amendments and the case law. When the law or the case law changes, the commentary is revised. Each piece states how many decisions it rests on and the highest court among them. If a piece can't be fully sourced, it is withheld rather than published.

The Danish Penal Code with commentary alongside each section.

Deep Research

For larger questions, a research agent works through an entire legal area and produces a first draft, with a source behind every statement. It already writes the practice overviews published on Lovguiden.

Consequence analysisCommittee reportMinisterial briefingEU implementation review
03Legislation

Every law, consolidated and current.

Each law reads as a single document. Every section shows the acts that amended it, the preparatory remarks, the bills that will change it and the rulings that apply it, and can be compared with any earlier version.

  • Full amendment history
  • Side-by-side comparison with earlier versions
  • Notice of changes before they take effect
A law with its table of contents and pending amendments.
04Folketinget

Parliament, made readable.

Bills, votes, debates and members, drawn from parliament's own data. You can see which parties vote together, how each party voted on each bill and which sections of the law a bill would change.

  • Voting agreement between every pair of parties
  • Votes broken down by party
  • A profile of every member of parliament
How often each pair of parties votes the same way.
05Politics tracker

What every politician is doing, in one feed.

Each member and party is followed across parliament, the national and local press, ministries and six social platforms. The feed is updated daily.

  • Parliament, media, ministries and social platforms
  • Weekly activity at a glance
  • Also available through the API
The Prime Minister's activity, week by week.
06Practice overviews

Case law, organised by subject.

Overviews of case law for each legal area, tribunal and industry, setting out the principles the decisions establish. Every decision is one click away, and the overviews are updated as new decisions are published.

  • 46 legal areas
  • Industry views with regulatory timelines and deadlines
  • Each overview shows the decisions it rests on
Practice overviews across every legal area.
07Public finances

Where public money goes.

The Finance Act line by line, supplementary appropriations with amounts and recipients, and the annual reports of state-owned companies, with the news stories they relate to.

  • The Finance Act, year by year
  • Appropriations with amounts and recipients
  • State-owned companies' accounts
The Finance Act: how each 1,000 kroner is spent.
08The public sector

More than 2,000 public bodies in one feed.

News and publications from ministries, agencies, boards, municipalities, regions and international bodies, sorted by subject and summarised.

  • Filter by body, type and subject
  • A short summary of every item
Publications from across the public sector.
09Rulings

Every ruling, summarised.

Decisions from the courts and the appeals boards, each with a structured summary of the outcome, the amounts and the legal basis, so you can judge its relevance at a glance. The laws it applies and similar cases are linked alongside.

  • Structured summary on every decision
  • Links to the laws and commentary it applies
  • The original document, one click away
A decision from the Board of Equal Treatment.
10Monitoring

Told when something changes.

Describe your area of work and Lovguiden sets up monitoring for it: the relevant legal areas, sources, and even individual members of parliament. Reports arrive by email several times a day.

  • Set up from a short description
  • Reports by email and as PDF
  • A deadline calendar that syncs to your own
A committee report, one of the sources monitoring covers.
11MCP & API

Danish law inside other AI tools.

Lovguiden also serves other software. Its MCP server makes Danish law available inside Claude, ChatGPT, Cursor and other AI tools, and a REST API serves companies that build their own products on the data.

  • MCP server with 35 tools
  • REST API with full documentation
  • Billed per call
Documentation for the MCP server.
Contact

The same approach, for other businesses.

A short description of the work to be automated is enough to start the conversation.

oh@opkurser.dk
Next case study
Økonomi & Personale
opkurser.dk