german-legal-mcp

v4.3.2
@metaneutrons/german-legal-mcp Checked 4 days ago Published 10 days ago

MCP server and typed components for German, Austrian and EU legal research

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

arxiv_get

Retrieve an arXiv paper by ID (e.g., "2501.02725"). Default: metadata + abstract. With `section` or `save_path`: fetches HTML full text (available for papers from ~2024+). Older papers without HTML return metadata + abstract + PDF link.

ParameterTypeDescription
id *stringarXiv ID (e.g., "2501.02725", "2501.02725v5")
save_pathstringAbsolute file path for the full text. Relative paths are not supported. Triggers full text fetch.
sectionstringSection heading or "lines:100-200". Triggers full text fetch.

dip_get

Retrieve full text of a Bundestagsdrucksache by Dokumentnummer (e.g., "19/27426" for BT-Drs. 19/27426). Returns the extracted text including Gesetzesbegründung. Use `section` for partial content. `save_path` is for export only — when the user wants the document as a file to keep or process elsewhere.

ParameterTypeDescription
dokumentnummer *stringDokumentnummer (e.g., "19/27426", "20/1234")
save_pathstringAbsolute file path for the full document. Relative paths are not supported.
sectionstringSection to extract: heading text (e.g., "Zu § 5 UrhDaG-E", "Begründung", "Zu Artikel 1") or "lines:100-200"

dip_search_vorgang

Search legislative processes (Vorgänge) in DIP. Returns Gesetzgebungsvorgänge with status and linked Drucksachen-Nummern. Useful for tracking a law through the legislative process or finding all related documents. Matches title as a literal substring — NOT a keyword AND/OR search (see dip_search); prefer a single distinctive word over a natural-language phrase.

ParameterTypeDescription
limit *integerMax results (default: 10)
query *stringA single distinctive word, or an exact phrase copied verbatim from the title — this is a literal substring match, not AND/OR keyword matching.
date_endstringEnd date (YYYY-MM-DD)
date_startstringStart date (YYYY-MM-DD)
vorgangstypstringType filter: "Gesetzgebung", "Schriftliche Frage", "EU-Vorlage", etc.
wahlperiodeintegerLegislative period (e.g., 20, 21)

dip_search_plenarprotokoll

Search Plenarprotokolle (parliamentary debate transcripts) with full text search. Returns protocols where the search term appears in the debate text.

ParameterTypeDescription
limit *integerMax results (default: 10)
query *stringFull text search query (e.g., "Urheberrecht", "UrhDaG")
date_endstringEnd date (YYYY-MM-DD)
date_startstringStart date (YYYY-MM-DD)
herausgeberstringBT = Bundestag, BR = Bundesrat
wahlperiodeintegerLegislative period (e.g., 20, 21)

eul_get_document

Retrieve EU legislation by CELEX number (e.g., "32016R0679" for GDPR, "32024R1689" for the AI Act) from the EU Publications Office (Cellar). A CELEX beginning with the sector digit (3…) returns the act as published in the Official Journal, without later amendments. For the consolidated text use the leading 0 instead: "02024R1689" returns the latest consolidated version in force, "02024R1689-20240712" a specific one; consolidated texts are documentation, not the binding text. Returns full text in Markdown. Use `section` for partial content: "Art. 5", "Artikel 5-10", "Anhang III", "Kapitel III…

ParameterTypeDescription
celex *stringCELEX number (e.g., "32016R0679", "32001L0029", "12016E267"; consolidated: "02016R0679" or "02016R0679-20160504")
language *stringLanguage code (default: DE)
save_pathstringAbsolute file path for the full document. Relative paths are not supported.
sectionstringExtract section: "Art. 5", "Artikel 5-10", "Anhang III" (also "Annex 3"), "Kapitel III" (with all its sections), "Kapitel III Abschnitt 2", or "lines:100-200"

icu_get_document

Retrieve a CJEU decision or opinion from InfoCuria by published case number, CELEX number or Logic Doc ID. Returns full text in Markdown with Randnummern as [Rn. 5]{.rn}. A published case number (e.g., "C-476/17", "T-108/25") is converted to its CELEX form internally, so all three forms work. A CELEX number (e.g., "62017CJ0476") or the "Logic Doc ID" from an icu_search result (e.g., "id_320668") resolve with one request fewer. Use `section` for partial content: "Rn 5-12", heading text, or "lines:100-200". Use `save_path` when you want the document written to a file for later use outside this c…

ParameterTypeDescription
case_id *stringPublished case number (e.g., "C-476/17"), CELEX number (e.g., "62017CJ0476") or "Logic Doc ID" from an icu_search result (e.g., "id_320668").
language *stringLanguage code (default: DE)
save_pathstringAbsolute file path for the full document. Relative paths are not supported.
sectionstringExtract section: "Rn 5-12", heading text, or "lines:100-200"

legis_get

Retrieve a specific law/norm from German federal or state legislation. BUND: id is "law/section" — law is the lowercase abbreviation (e.g. "bgb", "gg", "stgb"), section is just the number. An optional "§", "Art.", "Paragraph", or "Para." prefix on the section is stripped automatically, so "bgb/823", "bgb/§ 823", and "bgb/§823" are equivalent; use whichever prefix matches the document type (§ for codes, Art. for the Grundgesetz). Not every law is hosted under its plain abbreviation on gesetze-im-internet.de — some reissued laws use a different URL slug. If this returns "not found", a su…

ParameterTypeDescription
id *stringDocument ID. BUND: "law/section" (e.g., "bgb/823", "gg/Art. 1"). Länder: ID from legis_search.
state *stringJurisdiction (e.g., "BUND", "BW", "NW")
save_pathstringAbsolute file path for the full document. Relative paths are not supported.

legis_toc

Get table of contents for a law — compact list of section numbers and headings. Much lighter than legis_get for navigating large laws. BUND: id is just the law abbreviation (e.g., "bgb", "stgb"). Länder: id from legis_search results.

ParameterTypeDescription
id *stringLaw identifier. BUND: law abbreviation (e.g., "bgb"). Länder: ID from legis_search.
state *stringJurisdiction (e.g., "BUND", "BW", "NW")
depthintegerMax depth level (0=top structure only, 1=sections, 2=subsections, 3=norms)
fromstringStart at section (e.g., "§ 823", "Art 1"). Inclusive.
tostringEnd at section (e.g., "§ 853"). Inclusive.

legis_states

List all 17 available German jurisdictions (BUND + 16 Bundesländer) with their backends.

rii_get_decision

Retrieve full text of a court decision by doc ID. Returns decision in Markdown format with metadata (court, date, file number, ECLI). Use source "BY" for IDs from gesetze-bayern.de (format: Y-300-Z-...).

ParameterTypeDescription
doc_id *stringDocument ID from search results (e.g., "jb-KORE704442026" for BUND, "Y-300-Z-GRURRS-B-2021-N-55699" for BY)
part *stringK = Kurztext (summary), L = Langtext (full text, default). Only for source "BUND".
source *stringDecision source: BUND, BY, NW, or a jPortal state code.
save_pathstringAbsolute file path for the full document. Relative paths are not supported. Returns metadata only.
sectionstringSection heading or "lines:100-200". Only for source "BY".

ris_get

Retrieve a RIS document as Markdown. Pass the `content_url` returned by ris_search (preferred), or an `id` (Dokumentnummer) together with its `applikation`. Use `section` to pull only part of a document (token-preserving), or `save_path` to write the full document to disk and return metadata only.

ParameterTypeDescription
applikationstringRIS applikation from a search result (e.g. "Justiz", "BrKons"). Required with `id`.
content_urlstringThe document HTML URL from a ris_search result.
idstringDokumentnummer from a search result (requires `applikation`).
save_pathstringAbsolute file path for the requested section, or the full document when section is omitted. Relative paths are not supported.
sectionstringReturn only part of the document: a Randnummer ("Rn 5"), an Rn range ("Rn 5-9"), a line range ("lines:1-40"), or a heading ("Spruch", "Begründung").

ris_get_norm

Retrieve a single paragraph (§) of an Austrian consolidated law as Markdown — e.g. law="ABGB" paragraph="1295". application="bundesrecht" (federal) or "landesrecht" (state law; set `bundesland`). The surgical, token-preserving way to read ONE § instead of a whole statute.

ParameterTypeDescription
application *stringFederal ("bundesrecht") or state ("landesrecht") law.
law *stringLaw title or abbreviation (RIS "Titel"), e.g. "ABGB", "UrhG", "Bauordnung".
paragraph *stringParagraph number, e.g. "1295" or "1295a".
bundeslandstringRequired for application="landesrecht": which Bundesland.
save_pathstringAbsolute file path for the norm. Relative paths are not supported.

ris_toc

Get the table of contents (Inhaltsverzeichnis) of an Austrian consolidated law — its §§ with headings — so you can then read one with ris_get_norm. Use the full title if an abbreviation fails (e.g. "Urheberrechtsgesetz" rather than "UrhG"). application="bundesrecht" (federal) or "landesrecht" (+ `bundesland`).

ParameterTypeDescription
application *stringFederal ("bundesrecht") or state ("landesrecht") law.
law *stringLaw title or abbreviation, e.g. "ABGB", "StGB", "Urheberrechtsgesetz".
bundeslandstringRequired for application="landesrecht": which Bundesland.
save_pathstringAbsolute file path for the TOC. Relative paths are not supported.