Skip to content

You are viewing the classic layout. Switch to the new layout

Context layer

Developers & AI tools

overview.legal is built to be read by machines as well as people: 10,800+ documents of EU data protection law — legislation, case law, 3,700+ enforcement decisions with fine metadata, guidance and news — cross-linked by topic and citation, and exposed as context bundles, a REST API and an MCP server. What the corpus holds and how current it is: /coverage (also as /api/coverage.json). Free to use; get an API key for higher limits.

Context bundles (markdown)

One curated, cited markdown file per topic or per law — drop it into your LLM's context, RAG store or project knowledge:

  • GET /topics/{slug}/context.md — topic bundle: editorial overview + key law text + case law + enforcement + guidance. Example: /topics/consent/context.md (?lang=nl for Dutch)
  • GET /laws/{law}/context.md — full text of a law, cited per provision. Example: /laws/gdpr/context.md — law slugs: gdpr, avg, ai-act, dsa, nis2, uavg, …
  • GET /laws/{law}/{article}/context.md — focused per-article bundle: the provision text, related recitals, citing case law, enforcement stats + top fines, guidance and related topics. Example: /laws/gdpr/art-6/context.md
  • GET /llms.txt — site summary for AI assistants

MCP server

Connect Claude, or any MCP-capable tool, directly to the corpus. Streamable HTTP, stateless, no auth required (optional Authorization: Bearer olk_… for higher limits):

{
  "mcpServers": {
    "overview-legal": {
      "type": "http",
      "url": "https://overview.legal/api/mcp"
    }
  }
}

Tools exposed:

  • search_legal — hybrid search across all content types, results carry the matched passage + topic slugs; mode scopes by jurisdiction (eu default, nl, all), court narrows case law to cjeu or national
  • build_overview — CJEU-first, authority-ranked overview of a topic or question (leads with CJEU/EU courts + EDPB, then national case law), with verbatim quotes for the leading judgments
  • get_document — one document with topics + citation counts; long judgments/decisions are split into ¶/§ sections — pass query to get the matching passages (quotable verbatim) instead of a top-of-document slice
  • get_article — verbatim text of one law article by law + article number (no id guessing)
  • verify_quote — anti-hallucination check: confirm a citation (e.g. a C-…/… reference or ECLI) exists, or that a passage appears verbatim
  • get_citations — citation graph (law articles ↔ cases ↔ decisions)
  • list_topics — find topic slugs by name (EN/NL) to feed get_topic_context
  • get_topic_context — the full topic context bundle as markdown
  • law_links — how two laws refer to each other, read off the statute text: every provision of one law that cites or names the other (AI Act Art. 26(9) → GDPR Art. 35), with the verbatim sentence and links to both provisions
  • enforcement_stats — GDPR fine statistics by article, country, authority, year; with an article, a per-country breakdown (decisions, fines known in euros, median, highest). Fines in another currency count as decisions, never as amounts

Ready-made workflows (MCP prompts): pick one in your AI tool, fill in the fields, and the model follows a method that quotes only what the tools return. Any of them answers in Dutch with language: nl.

  • research_topic (topic) — A cited memo on one data-protection topic: the statutory definition, the leading CJEU and EDPB sources, national case law and enforcement, in that order.
  • explain_provision (law, article) — One article explained from its verbatim text, with the case law and guidance that interpret it.
  • check_ruling (ruling) — Whether a judgment or decision is in the corpus, who cites it here, and whether a later decision departs from it.
  • benchmark_fines (article) — Comparable enforcement decisions for an article (optionally a country or year): totals, the range of fines and the decisions behind them.
  • assess_processing (activity) — For a described processing activity: the applicable provisions, the guidance and the enforcement that bear on it, as a cited checklist. Not a compliance verdict.

REST API

EndpointWhat it does
GET /api/hybrid-search?q=…Hybrid full-text + semantic search. Params: types, topics, language, mode (eu|nl jurisdiction scope), limit, offset
GET /api/similar?id=…Semantically similar documents (pgvector)
GET /api/citations/{id}Citation graph for a document
POST /api/askRAG answer with citations. Single-shot {"q": "…"}, or grounded/conversational {"messages": […], "source_ids": [1,2], "language": "nl"} — source_ids are preferred sources, hybrid search tops up (quota: 5/day anonymous, 25 with account, 100 with API key)
GET /api/statsLive corpus counts
GET /api/coverage.jsonWhat each collection holds, its source, document counts and date span, freshness measured from the last successful import, known gaps. available: false means the counts could not be read, not that they are zero
GET /api/practicePublished practice documents (DPIAs, DTIAs, IAMAs, forms, models) that concern a system or a legal entity: ?system=Microsoft/Microsoft 365 Copilot (vendor/product, a product alone, or a catalogue key such as sys:microsoft/microsoft teams), ?name=Microsoft, ?lei=, ?kvk=, up to five of each. LEI and KvK match exactly, a system by its key, a name only on an exact match (a sister company is not the same entity); every result says how it matched and gives text_url, the document's text as Markdown (the PDF stays with its publisher). Without parameters: the catalogue of systems, entities and own processings (a government's DPIA on its own app or law) held. A practice document is the work of whoever wrote it, not a regulator's verdict. Used by Transit
GET /api/enforcement/partiesDecisions whose fined party carries a name: ?name=Vodafone (up to five, e.g. trade name, legal name and parent). A name match after dropping legal forms, whole words only: matched.kind is exact or contains, and a contains hit can be a related company, so the party comes back as the source wrote it. Covers decisions whose source names the party. Used by Transit for vendor research
GET /api/enforcement-compare.csvFines for one GDPR article per country or authority as CSV: ?article=32&by=country|authority (optional year, industry), every decision with &rows=decisions, or chosen ones with ?ids=1&ids=2
curl "https://overview.legal/api/hybrid-search?q=consent+cookies&types=case-law,enforcement&limit=5" \
  -H "Authorization: Bearer olk_YOUR_KEY"
curl -X POST https://overview.legal/api/ask \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer olk_YOUR_KEY" \
  -d '{"q": "When is consent freely given under the GDPR?"}'

API keys & limits

  • Anonymous: 60 requests/min per IP on search/citations, 120/min on similar.
  • With a free API key: 300 requests/min per key, usage visible in your account.
  • Keys are free while the platform grows. Heavy or commercial integrations: mention it via the contact below so we can plan capacity (a paid tier with SLAs will follow demand).
Sign in to create a free API key

Fair use

  • Content is aggregated from official sources (EUR-Lex, curia.europa.eu, rechtspraak.nl, EDPB, national DPAs) and organized by overview.legal; it is legal information, not legal advice.
  • Attribute answers and datasets to overview.legal with a link to the canonical URL.
  • No bulk scraping of HTML pages — the bundles and API exist so you don't have to.