kvasir — Open Legal Grounding
Server Details
kvasir.legal provides a verification layer for legal AI: it resolves citations to the official wording and checks drafts against current and enacted future versions of German, EU, Austrian and Swiss law, via app, REST API and MCP.
- Status
- Healthy
- Uptime
- 8.7% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- kvasir-legal/kvasir-mcp
- GitHub Stars
- 0
- Server Listing
- kvasir-legal
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 14 tools
Every tool targets a distinct resource or action, and potentially overlapping pairs are explicitly disambiguated in the descriptions (check_draft vs verify_citations, resolve_citation vs search_legal, get_legal_object vs get_legal_objects, list_collections vs get_collection). An agent can pick the right tool without guessing.
The set follows a consistent snake_case verb_noun convention (add_note, get_legal_object, list_notes, remove_from_collection, verify_citations). The only deviation is legal_uri_grammar, which is a noun phrase rather than a verb, but it reads naturally as a reference/grammar tool.
14 tools is well within the sweet spot and each earns its place: retrieval (single/batch/relations), resolution, verification, draft checking, collections, notes, and URI grammar all map to distinct workflows. Nothing feels padded or missing at this scope.
The surface covers the legal-grounding lifecycle thoroughly: search, resolve, verify, inspect content, page through case law, check drafts, and manage collections/notes. Minor gaps exist on the notes side — there is add_note and list_notes but no update_note or delete_note — and collection creation is implicit via create_if_missing rather than a dedicated tool.
Publisher details
- Operator
- Not provided
- Operator website
- https://kvasir.legal
- Vendor relationship
- Not provided
- Documentation
- https://kvasir.legal/developers
- Privacy policy
- https://kvasir.legal/datenschutz
- Trust center
- https://kvasir.legal/trust
- Restrictions
- Requires a free kvasir.legal account (sign-up at kvasir.legal/signup, no payment details). The free Single plan has a monthly usage limit; firms can get a Team contract. Full-draft checking (check_draft) and access to workspace folders need the user's consent during OAuth sign-in. No admin approval, no regional restriction. · Publisher source
Available Tools
14 toolsadd_noteAIdempotentInspect
Attach a private note to a passage of a provision — it appears in the user's kvasir app, highlighted at that passage. Only do this when the user asks for it. uri: canonical norm URI ("norm:bund:BGB:242", "norm:eu:GDPR:art_6") — resolve citations first (resolve_citation). quote: the exact passage the note refers to, VERBATIM from the provision's current text (get_legal_object). It is checked; a quote that is not in the text is rejected. body: the note itself. share_with_team: true makes the note visible to the user's whole team (law firm account) with the author shown; default false = private. Only for accounts in a team, and only when the user asks for it.
Inputs: uri (required), body (required), quote (required), share_with_team.
add_to_collectionAIdempotentInspect
Add legal objects to one of the user's collections — by canonical URI ("norm:eu:DSGVO:art_37", "gesetz:bund:BDSG", "dec:eu:62019CJ0311"). Resolve citations to URIs first (resolve_citation). The collection is matched by name or id and created if missing (create_if_missing). Only do this when the user asks for it; the change shows up in the kvasir app immediately.
Inputs: uris (required), collection (required), create_if_missing.
check_draftARead-onlyIdempotentInspect
Run the full grounding gate over a DRAFTED text (answer, memo, brief) before it is presented: extracts every legal citation, verifies existence against the corpus, checks verbatim quotes („…“ / "…") against the canonical source wording, and flags repealed acts/norms and pending legislative changes to cited acts.
Prefer this over verify_citations when you have a full text; use
verify_citations for a bare list of citation strings.
quellen: optional jurisdiction filter (comma-separated: bund, by, nrw, sn,
bb, hb, at, ch, eu). SET IT when the draft is written for a known
jurisdiction — a Bavarian exam citing "Art. 141 BV" means the Bavarian
constitution, not the Swiss one. Without it the jurisdiction priority
decides and you get an ambiguous_jurisdiction warning instead.
Returns {summary: {verdict: pass|warn|fail, …}, citations, quotes, findings}.
Fix every `error` finding before presenting (quote_not_in_source,
repealed_law/repealed_norm); report `warn` findings honestly (unresolved =
not verifiable against this corpus, NOT proof of invention; quote_unattributed =
a quotation had no citation in the same sentence, so it was NOT CHECKED at all —
a `pass` verdict says nothing about it; quote_deviation =
wording differs — compare source_excerpt; German quotations from EU acts are
checked against the German EUR-Lex wording automatically, so a quote_unverified
on an EU act means neither language matched; ambiguous_jurisdiction = the
abbreviation fits two jurisdictions and the checked one may not be the meant
one — name both rather than picking silently); mention `pending_change` when
currency matters. EU caveat: corpus text is the English version — a German
quote may be correct in the German OJ version (finding: quote_unverified).Inputs: text (required), quellen.
get_collectionARead-onlyIdempotentInspect
Read one of the user's collections by name or id → its items as canonical URIs + titles. include="content" also returns the legal objects themselves (text, citation, provenance — as get_legal_object) for up to 50 items, so the collection can serve directly as working context. Items without a URI (e.g. essays) are listed but cannot be resolved.
Inputs: collection (required), include.
get_legal_objectARead-onlyIdempotentInspect
Resolve a canonical legal-object URI to a verifiable, citable object (German — federal, Bavaria, NRW, Saxony, Brandenburg, Bremen —, Austrian, Swiss & EU law: norms, statutes, court decisions, concepts).
uri: canonical URI — e.g. "norm:bund:BGB:242", "gesetz:bund:BGB",
"dec:eu:62019CJ0311", "dec:bund:<source_id>". norm-URIs are tolerant
(242 resolves the same as the raw slug __242). When unsure how to form a
URI, call legal_uri_grammar() first.
include: comma-separated — "content" (default), "units" (addressable
sub-units with exact text + citation + deeplink: norm = paragraph/
number/letter/sentence/half-sentence, decision = Randnummer), "versions" (a norm's timeline: earlier
wordings as normversion: URIs with valid_until + the amending law where known,
plus `timeline` = current in-force date, ENACTED amendments not yet in force
and PENDING bills targeting this provision), "relations" (citation graph — on EU and German federal
gesetz objects incl. legislative materials: the founding COM proposal,
pending amendment proposals and pending Bundestag bills), "authority",
"children" (on a gesetz: URI — the statute's FULL table of contents
as [{uri, label, section_path}]; use it to answer "which sections
does the BDSG have?"), "commentary" (anchored, author-attributed
legal commentary/annotations on the object — each entry names its
author and anchor level, entries are NEVER merged), "notes" (the
user's OWN private notes on this provision, or on all provisions
of a gesetz: — needs the workspace grant; not part of "all"), or "all".
Norm objects carry their position in the statute as
content.section_path ("where does § 90a sit in the BGB?").
commentary_scope: with include=commentary — "self" (default: only this
anchor) or "inherit" (additionally the enclosing levels: section
preliminary remarks and the statute introduction, each labelled
with inherited=true + its anchor_level).
as_of: "YYYY-MM-DD" — the wording of a norm as it stood on that date, where a
recorded earlier version exists (result field `as_of` says which version
was returned, or why the current one was). History is sparse: German
national law only since kvasir started recording; EU from consolidations.
lang: "de" returns the GERMAN wording of an EU provision (live from EUR-Lex;
all language versions are equally authentic). The EU corpus is indexed
in ENGLISH — set lang="de" before comparing German quotations against
an EU act, or every language difference reads as a citation error.
`content.language` reports the wording actually returned.
Returns: {uri, canonical_uri, kind, exists, identity, provenance,
content?, relations?, authority?, commentary?}. PROVENANCE (source + version)
is always present — cite from the object, do not paraphrase. exists=false means
the URI did not match anything (likely malformed) — not a server error.
Long content fields are capped for context safety (content.truncated=true then).
Inputs: uri (required), lang, as_of, include, +1 more.
get_legal_objectsARead-onlyIdempotentInspect
Batch-resolve up to 100 canonical legal-object URIs in one call — e.g. to ground several citations from a draft at once. Returns {"objects": [...]} in input order. See get_legal_object for URI/include/commentary_scope semantics.
Inputs: uris (required), include, commentary_scope.
get_legal_relationsARead-onlyIdempotentInspect
Walk the citation graph from one object, PAGED — the tool for "which court decisions cite § 823 BGB?" and other questions about a provision's case law.
get_legal_object(include=relations) answers a different question: it gives a
handful of examples per edge type plus the true total. When that total is in
the thousands (§ 823 BGB: 3460) and you need the actual list, use this.
uri: canonical URI, e.g. "norm:bund:BGB:823", "norm:eu:GDPR:art_6",
"dec:bund:...". Resolve a citation string first with resolve_citation.
direction: "in" = what cites this (default — the usual question for a norm),
"out" = what this cites (useful on a decision).
edge_type: filter, e.g. "zitiert_norm" (decision → norm), "zitiert"
(decision → decision), "verankert_an". Omit to get every type; the
response always lists `edge_types` with counts so you can narrow down.
limit: up to 200 per call. offset: page through with `has_more`.
Ordering is by authority (PageRank) — leading decisions first — with a stable
tie-break, so paging never repeats or skips an entry. Counts are exact: use
`total` when the user asks how much case law exists on a provision, and say
plainly how many of them you actually looked at.Inputs: uri (required), limit, offset, direction, +1 more.
legal_uri_grammarARead-onlyIdempotentInspect
The canonical URI scheme for German, Austrian, Swiss and EU legal objects. Call this FIRST so you can construct valid URIs to pass to get_legal_object / get_legal_objects.
Inputs: no named parameters.
list_collectionsARead-onlyIdempotentInspect
List the user's own collections (folders) in kvasir — and folders other people shared with them — with item counts. Use the name or id with get_collection to read one, e.g. as context for a question or a draft.
Inputs: no named parameters.
list_notesARead-onlyIdempotentInspect
Search the user's notes in kvasir — their own, plus notes colleagues in the same team (law firm account) shared with the team (each note says whether it is a team note and who wrote it: team, mine, author). Annotations attached to marked passages of provisions. Each note comes with the provision's canonical URI, the statute, the marked quote and the note text, newest first. query: matches note text, quoted passage and statute name (optional). law: restrict to one statute — "BGB", "gesetz:bund:BGB" (optional). Use it when the user refers to "my notes" or asks what they noted on a statute; read the provision itself with get_legal_object.
Inputs: law, limit, query.
remove_from_collectionADestructiveIdempotentInspect
Take items out of one of the user's collections (by canonical URI). The saved item itself stays in the user's library — only its place in this collection is removed. Only do this when the user asks for it.
Inputs: uris (required), collection (required).
resolve_citationARead-onlyIdempotentInspect
Turn a free-text citation into the canonical, verifiable object — the PREFERRED entry point when you have a citation string rather than a URI. ONE citation per call: for many at once use verify_citations (existence check) or get_legal_objects (full content). For an open legal question without a concrete reference, use search_legal instead.
cite: e.g. "§ 242 Abs. 1 BGB", "Art. 6 Abs. 1 lit. f DSGVO", "§ 1295 ABGB"
(Austria), "Art. 41 OR" (Switzerland), "C-311/18", "BGH VIII ZR 45/16".
include: same semantics as get_legal_object.
quellen: optional jurisdiction filter, same values as search_legal. SET IT
whenever the jurisdiction is known and the abbreviation is ambiguous:
"§ 15 StGB" exists in Germany AND Austria, "BV" is both the Swiss
constitution and the Bavarian one, "GO" is Bavarian and NRW municipal
law — without the filter the jurisdiction priority decides (German
federal first) and you get an `ambiguous` block instead of a choice. It
restricts rather than ranks — no hit means "not found in that
jurisdiction", which is the honest answer for an Austrian citation.
lang: "de" returns the GERMAN wording of an EU provision (fetched live from
EUR-Lex; all language versions are equally authentic). The corpus is
indexed in English — SET lang="de" whenever you compare quoted German
wording against an EU act, otherwise every difference looks like a
citation error when it is only a language difference. National law
(bund/by/at/ch …) is German anyway. `content.language` says which
wording you got.
Returns {cite, parsed, uri, exists, object, ambiguous?, unit?, range?, toc_path?} —
`ambiguous` appears when the SAME abbreviation is used in more than one
jurisdiction and the cited number exists in each ("Art. 141 BV" is Swiss
referendum law AND the Bavarian right to roam). It lists every candidate;
the resolution itself is the first by jurisdiction priority. DO NOT present
that reading as the answer — say which jurisdictions are in play, or re-call
with `quellen` once you know which one the author meant. `unit` is
the pinpoint sub-unit (exact text + ready-made citation + deeplink) when the citation
names Absatz/Nummer/litera/Satz/Halbsatz (e.g. "§ 573 Abs. 2 Satz 1 BGB" or
"§ 573 Abs. 2 Nr. 3 Halbs. 2 BGB" resolves to the
exact sentence); `toc_path` is the norm's position in its statute
(Buch/Abschnitt/Titel — answers "where does this § sit?"). When unresolved,
returns did-you-mean `suggestions` you can retry with. Never invent a citation
the resolver cannot confirm.
RANGES ("§ 433 f. BGB", "§ 433 ff. BGB") come back as `range`, and the two
markers differ in how much they license you to say:
f. `to` is exact — the citation covers precisely two provisions.
ff. open-ended. The end is NOT in the citation; `suggested_to` is the end
of the innermost section around the first provision — an inference.
Present it as "roughly §§ X–Y" or name only the first provision. Never
state `suggested_to` as the citation's end.
BELOW the provision ("§ 305 Abs. 1 ff. BGB", "§ 573 Abs. 2 Nr. 1 ff. BGB")
the marker applies to the deepest level named, and the answer is `unit_range`
— where even "ff." is EXACT (`to`, never `suggested_to`), because the
provision itself bounds the list: § 305 has three paragraphs, so "Abs. 1 ff."
means 1 through 3. `paths` enumerates every unit covered.
SEVERAL PROVISIONS IN ONE STRING ("§§ 433, 434 BGB", "§§ 433-435 BGB",
"§ 573 Abs. 1, 2 BGB", "§ 823 Abs. 1 i.V.m. § 1004 BGB") are all resolved:
the first is the main object, the rest come back under `also_cited`, each
with its own `exists`. `exists` at the top level answers for the WHOLE
citation — one invented number in the list makes it false. Report the
specific provision named in the hint, not the citation as a whole.
VARIANTS ("§ 263 Abs. 1 Var. 2 StGB", "Alt. 1", "Fall 2") resolve down to the
PARAGRAPH and come back with `variant.addressable: false`. Tatvarianten are a
doctrinal way of counting the alternatives inside a provision's wording — the
statute does not number them, so there is no anchor to check against. Quote
the wording and identify the variant from it; do not claim kvasir confirmed it.
VERSIONS: "§ 433 BGB a.F." / "i.d.F. vom 1.1.2020" ask for an EARLIER text
than the one in force, and `version.confirmed: false` says we cannot supply
it. kvasir serves consolidated current law; superseded texts exist only from
its own first index run and are dated by DETECTION, not by legal effect, so
"which version was in force on date X" is not answerable here. The citation
is not wrong — the corpus simply cannot evidence it. NEVER present the served
text as the earlier wording; say the current text is shown instead, and that
the historical one is outside coverage. `superseded` lists any archived
predecessors (retrievable as `normversion:<id>`).
`valid: false` on either range means nothing follows the cited point at all — e.g.
"§ 2385 ff. BGB" (the BGB ends there) or "Abs. 4 ff." of a four-paragraph
provision — so the "ff." has no referent. That is a POSITIVE FINDING about
the citation, not a coverage gap: say the citation is wrong, and note that
the provision itself exists (`norm_exists`).Inputs: cite (required), lang, include, quellen.
search_legalARead-onlyIdempotentInspect
Search German (federal, Bavaria, NRW, Saxony, Brandenburg, Bremen), Austrian, Swiss & EU law by free text → ranked canonical-URI hits, to then fetch with get_legal_object. Returns {"results":[{uri,kind,title,snippet,score}], "limit","offset","has_more"}.
query: natural-language or keyword query (German or English).
kinds: optional comma-separated filter — "norm" (statutes/regulations),
"decision" (case law), "material" (legislative materials, linked to
the acts and provisions they found, amend or concretise — hits carry
`typ`: 'com-vorschlag' = EU Commission proposal; 'guideline' =
interpretive Commission guidance, NOT binding law; 'vorhaben' =
German federal bill from the Bundestag's DIP, with procedural stage
and draft text; 'verfuegung' = BaFin administrative act. Use for
"what is planned / why was this enacted / how is this interpreted"
questions). Default: norm,decision.
quellen: optional comma-separated jurisdiction filter — "bund" (German
federal), "by" (Bavaria), "nrw" (North Rhine-Westphalia),
"sn" (Saxony), "bb" (Brandenburg), "hb" (Bremen), "eu",
"at" (Austria — federal law and the state law of all nine
Länder; Land objects carry `region`, e.g. at-wien), "ch" (Switzerland).
Default: all. Filter
server-side when the user's question is jurisdiction-specific,
so every result slot is spent on the right jurisdiction.
limit: max hits (1–50, default 20).
offset: skip N hits for pagination (0–200, default 0).
Workflow: search_legal(query) to FIND relevant law, then get_legal_object(uri)
on the best hits for the full citable text + provenance. If you already hold a
concrete reference (§/Art./case number), use resolve_citation instead — search
is for finding, not resolving. Query German sources in German (Austrian/Swiss
too); English works well for EU law.
COVERAGE: `coverage_notes` appears when the request reaches past the corpus
(case law asked for Switzerland/Saxony/Brandenburg/Bremen, or a case
citation from a court or year that is not covered). Tell the user in one
short sentence that this is outside kvasir's coverage — not that it does
not exist. Full list: https://kvasir.legal/sources#coverage
Inputs: query (required), kinds, limit, offset, +1 more.
verify_citationsARead-onlyIdempotentInspect
Check up to 200 citation strings against the corpus in one call — run this over every legal citation in a drafted answer BEFORE presenting it, and offer it proactively when the user shares a draft, memo or brief that contains citations.
quellen: optional jurisdiction filter (comma-separated: bund, by, nrw, sn,
bb, hb, at, ch, eu). SET IT when the jurisdiction is known — "BV" is
both the Swiss and the Bavarian constitution, "StGB" is German and
Austrian. Without it the jurisdiction priority decides and the entry
carries an `ambiguous` block instead of a choice.
Returns per citation: status (verified | unresolved | unparsed), canonical URI,
source and pinpoint unit, plus did-you-mean suggestions — and a summary with
verified/unverified counts. Treat anything not `verified` as unsafe to cite,
but report `unresolved` as "not verifiable against this corpus" (often a typo —
retry the suggestions — or a coverage gap such as AT/CH case law), never as
proof the citation is invented.Inputs: citations (required), quellen.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
Search German and EU law from official sources with your AI assistant. PRIMAMCP provides citable legal texts via MCP, with daily updates and hosting in Germany.
Current law as data for AI: search, read and verify statutes and citations. CIS countries first.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying 6,870 German federal statutes, case law, and legislative preparatory works directly from AI assistants and MCP-compatible clients.119 npm4Apache 2.0
- AlicenseNot gradedqualityFmaintenanceEnables querying over 6,800 German federal statutes, case law, and legislative preparatory works with verbatim source text. Integrates EU law cross-references and provides citation validation and legal stance building.119 npm23Apache 2.0
- AlicenseNot gradedqualityBmaintenanceCite-grade German legal-text infrastructure for LLM agents, providing access to federal, Länder, and EU laws with cryptographic provenance.23 PyPI2Apache 2.0
- AlicenseAqualityBmaintenanceEnables users to search enacted German statutes and case law across first-instance, appellate, and supreme/constitutional courts, retrieve full documents as Markdown, and verify statutory and case citations against official registries.6MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.