Skip to main content
Glama
Hungary Legal Research MCP Server

Hungary Legal Research MCP Server

by jurisatlas

Hungary Legal Research MCP Server (hu-legal-mcp)

Magyar | English Documentation


Jogi MCP Szerver Magyarország számára (hu-legal-mcp) — Magyar

A tárolóról

Összeköti az Ön által használt AI alkalmazást (Claude, Cursor, Windsurf, VS Code, Antigravity) a Nemzeti Jogszabálytárral (njt.hu) és a Bírósági Határozatok Gyűjteményével (eakta.birosag.hu — járásbíróságok, törvényszékek, ítélőtáblák, Kúria és Alkotmánybíróság).

Installation (AI Client Selection)

  1. Download: Click <> Code -> Download ZIP and extract the folder.

  2. Run Setup: Double-click Click_Here_To_Install_Windows.bat (Windows) or Click_Here_To_Install_Mac.command (macOS).

  3. Select AI Applications: Check the AI clients you use (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline, Antigravity), click Install, and restart your chosen AI application.

Read-Only Operation: This tool does not read or modify any personal files on your computer.

Judicial Hierarchy

Tier

Courts

Tier 1 (First Instance)

113 Járásbíróságok (District Courts across Hungary)

Tier 2 (Regional / Appellate)

20 Törvényszékek (Regional Courts) & 5 Ítélőtáblák (Regional Courts of Appeal: Budapest, Debrecen, Győr, Pécs, Szeged)

Tier 3 (Supreme / Constitutional)

Kúria (Supreme Court of Hungary) & Alkotmánybíróság (Constitutional Court)

  • Službeni glasnik / Legislation: Nemzeti Jogszabálytár (njt.hu) (https://njt.hu)

  • Sudska praksa / Case Law Portal: Bírósági Határozatok Gyűjteménye BHGY (eakta.birosag.hu — Járásbíróságok, Törvényszékek, Ítélőtáblák & Kúria) (https://eakta.birosag.hu/anonimizalt-hatarozatok)


Related MCP server: hr-legal-mcp

English Documentation

Model Context Protocol (MCP) server providing direct, read-only access to Hungary (HU) legislation, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and statutory citation verification across major AI clients (Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Continue.dev, and Antigravity).


Interactive Desktop Setup (Select Your AI Assistant)

This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:

  1. Download: Click <> Code at the top right of this repository, select Download ZIP, and extract the folder to your computer.

  2. Run the Setup Utility:

    • Windows: Double-click Click_Here_To_Install_Windows.bat

    • macOS: Double-click Click_Here_To_Install_Mac.command

  3. Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Continue.dev, or Antigravity), click Install to Selected AI Clients, and restart your selected AI application.

System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.


Multi-Tier Judicial Hierarchy & Official Sources

This server indexes and queries decisions across the full judicial hierarchy of Hungary, allowing practitioners to filter research by procedural stage:

Judicial Tier

Covered Courts & Tribunals

Tier 1 — First Instance

113 Járásbíróságok (District Courts across Hungary)

Tier 2 — Regional / Cantonal / Appellate

20 Törvényszékek (Regional Courts) & 5 Ítélőtáblák (Regional Courts of Appeal: Budapest, Debrecen, Győr, Pécs, Szeged)

Tier 3 — Supreme & Constitutional

Kúria (Supreme Court of Hungary) & Alkotmánybíróság (Constitutional Court)

  • National Legislation Registry: Nemzeti Jogszabálytár (njt.hu) (https://njt.hu)

  • Multi-Tier Case Law Database: Bírósági Határozatok Gyűjteménye BHGY (eakta.birosag.hu — Járásbíróságok, Törvényszékek, Ítélőtáblák & Kúria) (https://eakta.birosag.hu/anonimizalt-hatarozatok)

  • Supported Citation Format Example: ECLI:HU:KURI:2024:100 or 2013. évi V. törvény

Indexed Court & Regional Sub-Portals

Sub-Portal Identifier (sub_court)

Official Endpoint / Registry

bhgy_all_tiers

https://eakta.birosag.hu/anonimizalt-hatarozatok


Available MCP Tools

Tool

Description

search_legislation

Searches enacted statutes, codes, decrees, and official gazette publications in Hungary.

search_case_law

Searches national jurisprudence and European/ECLI-linked judgments for Hungary.

search_tiered_court_decisions

Filters case law specifically by judicial instance (first_instance, appellate_regional, supreme_constitutional) or regional/cantonal court key (sub_court).

list_court_hierarchy

Returns the complete 3-tier court structure and registered sub-portal endpoints for Hungary.

get_legal_document_markdown

Retrieves full statutory or judicial texts and converts them into clean Markdown.

verify_citation

Validates statutory and case law citations against official registries.


{
  "mcpServers": {
    "hu-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/jurisatlas/hu-legal-mcp",
        "hu-legal-mcp"
      ]
    }
  }
}

Available Tools

6 tools
list_court_hierarchyList Court HierarchyA

Return the complete step-by-step multi-tier judicial hierarchy for Hungary (HU): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription

No output parameters

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the behavioral burden. It clearly describes the returned hierarchy content, but it does not explicitly state that the operation is read-only, has no side effects, or requires no special permissions. For a zero-parameter listing tool this is adequate but not fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence that immediately states the return value and then enumerates the tiers. Every clause contributes useful scope information without unnecessary wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity, zero parameters, and existing output schema, the description is largely complete: it identifies the jurisdiction, the hierarchy tiers, and the sub-portals. It could be stronger by adding a brief usage or read-only behavioral note, but no critical information is missing for invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so there are no parameter semantics to document. The baseline for a parameterless tool is 4, and the description does not need to compensate for missing schema details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: "Return the complete step-by-step multi-tier judicial hierarchy for Hungary (HU)." It enumerates the three tiers and sub-portals, making clear this is a hierarchy lookup rather than a search or document-retrieval tool like the sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not state when to use this tool versus alternatives, nor does it mention exclusions or prerequisites. Usage is only implied by the purpose statement, with no explicit routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_case_lawSearch Case LawC

Search Hungary (HU) court decisions and binding precedents via Bírósági Határozatok Gyűjteménye (birosag.hu / eakta.birosag.hu) & Kúria (Supported courts: Kúria (Supreme Court of Hungary), Alkotmánybíróság (Constitutional Court), Ítélőtáblák).

NameRequiredDescriptionDefault
courtNoOptional court filter (Kúria (Supreme Court of Hungary), Alkotmánybíróság (Constitutional Court), Ítélőtáblák).
limitNoMaximum number of judgments to return.
queryYesLegal issue, keywords, party name, or ECLI/case number.

Output Schema

NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden. It discloses the source databases and court coverage, but says nothing about authentication, rate limits, result ranking, or what 'binding precedents' means operationally. For a search tool with zero annotation coverage, this leaves significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence, but it is tangled: the parenthetical court list appears twice (once as 'Supported courts' and again as the source list), and the ampersand construction makes the sentence hard to parse. Front-loading the verb and resource is good, but the duplication costs it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and the input schema is fully documented, so the description needn't explain return values. However, it omits the differentiation from the closely named sibling search_tiered_court_decisions, which is the main thing an agent needs to choose correctly among five legal-research tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and all three parameters are documented in the schema, so the baseline of 3 applies. The description restates the court list already present in the court parameter's description and adds no new meaning about query syntax or limit behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — searching Hungarian (HU) court decisions and binding precedents — and names the underlying sources (birosag.hu, eakta.birosag.hu). It clearly covers case law rather than legislation, though it never explicitly contrasts itself with the sibling search_tiered_court_decisions, which sounds like it searches a very similar corpus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no statement of when to prefer this over search_tiered_court_decisions, search_legislation, or verify_citation, and no prerequisites or exclusions. The only usage-adjacent content is the list of supported courts, which is already in the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_legislationSearch LegislationC

Search Hungary (HU) national legislation (statutes, acts, codes, regulations) via Nemzeti Jogszabálytár (njt.hu) and European/International legal registries.

NameRequiredDescriptionDefault
yearNoOptional enactment year filter.
limitNoMaximum number of results to return.
queryYesKeywords or statute title/number to search in Hungary legislation.

Output Schema

NameRequiredDescription

No output parameters

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden and mostly does not meet it: nothing about authentication, rate limits, pagination, or how HU national results interleave with the 'European/International legal registries' mentioned at the end. The only behavioral signal is the source list, which is thin for a search tool with no safety annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the resource and jurisdiction lead. The trailing clause about European/International registries is compressed to the point of mild ambiguity about whether those are separate corpora or included results.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and all three parameters are documented in the schema. What remains unaddressed is the scope relationship between Hungarian national law and the European/International registries, plus the absence of any behavioral notes in lieu of annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so query, year, and limit are all documented in the schema itself. The description adds no additional meaning about search syntax, how year filtering interacts with statute numbers, or how limit affects ranking, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Search) and resource (Hungary national legislation) with an enumerated scope (statutes, acts, codes, regulations) and names the source registries. The word 'legislation' implicitly separates it from the case-law siblings, but the description never explicitly draws that line.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no sibling is named as an alternative. An agent must infer from the sibling names (search_case_law, search_tiered_court_decisions) that this tool is for statutes rather than judicial decisions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_tiered_court_decisionsSearch Tiered Court DecisionsA

Search court decisions in Hungary (HU) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.

NameRequiredDescriptionDefault
tierNoJudicial stage: 'first_instance', 'appellate_regional' (Cantonal/Regional/Circuit/Appellate), 'supreme_constitutional', or 'all'.appellate_regional
limitNoMaximum number of decisions to return.
queryYesLegal issue, statute article, case number, or keywords.
sub_courtNoOptional specific court/canton/region key (e.g. 'kanton_sarajevo', 'kanton_tuzla', 'kanton_mostar', 'okruzni_banja_luka', etc.).

Output Schema

NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full disclosure burden. It does reveal the scoping model (HU-only, tier-filtered, or narrowed by sub-portal key), but says nothing about result shape, citation formats, pagination, or failure behavior when a sub_court key is invalid; 'Search' implies read-only, which is the main safety signal available.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with the jurisdiction and search scope front-loaded, then the tier breakdown. The tier parentheticals partly restate schema enum text, a small redundancy, but nothing is padded or off-topic.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the description covers jurisdiction, the three-tier filter model, and the cross-reference to list_court_hierarchy. It is nearly complete for a search tool, missing only how tier interacts with sub_court and the meaning of tier='all'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning by mapping each tier label to concrete court types (Cantonal/Regional/County/Circuit) and by explaining that sub_court takes a key obtained from list_court_hierarchy — provenance the schema does not state. It does not clarify the precedence between tier and sub_court when both are set, which is the main remaining ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Search court decisions') and pins the jurisdiction to Hungary (HU), then enumerates the three judicial tiers. It does not explicitly distinguish this tool from the sibling search_case_law, so an agent must infer which search surface handles Hungarian tiered decisions versus general case law.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the tier enumeration and by the pointer that sub_court keys come 'from list_court_hierarchy', which hints at a discovery workflow. However, there is no explicit when-to-use/when-not guidance and no statement of how this differs from search_case_law or search_legislation, leaving the agent to infer routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

verify_citationVerify CitationA

No-Hallucination Citation Verifier for Hungary (HU). Validates format and live existence of legal citations (e.g., 'ECLI:HU:KURI:2024:100 or 2013. évi V. törvény') against official Hungary and ECLI/ELI registries to prevent AI-hallucinated citations.

NameRequiredDescriptionDefault
citationYesCase citation, ECLI, or statute reference to verify (e.g., 'ECLI:HU:KURI:2024:100 or 2013. évi V. törvény').

Output Schema

NameRequiredDescription

No output parameters

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does disclose meaningful behavior: verification hits live external registries, not just a local syntax check, which tells the agent to expect network dependency and possible lookup failure. It stops short of describing failure modes, latency, or rate limits, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence states scope and purpose with no padding. The 'No-Hallucination Citation Verifier for Hungary (HU)' framing is slightly promotional and the citation examples are repeated verbatim from the schema, which is minor waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with an output schema, the description supplies the essential missing context: jurisdiction (Hungary only) and the external sources checked. Only the behavior on an unresolvable or malformed citation is unspecified, and the output schema likely covers that result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single 'citation' parameter is fully documented, so the baseline is 3. The description's examples of acceptable input forms (ECLI vs. Hungarian statute style) are useful but duplicate the example already in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair ('Validates format and live existence') and a specific resource ('legal citations'), scoped to Hungary and ECLI/ELI registries. This clearly distinguishes it from siblings such as search_case_law and search_legislation, which retrieve rather than verify.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The stated goal, 'prevent AI-hallucinated citations,' implies the use case (check a citation before relying on it), but there is no explicit when-to-use rule, no exclusion, and no pointer to a sibling for the search side of the workflow. Usage is inferable rather than instructed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv1.1.0
    • First observedget_legal_document_markdown
    • First observedlist_court_hierarchy
    • First observedsearch_case_law
    • First observedsearch_legislation
    • First observedsearch_tiered_court_decisions
    • First observedverify_citation

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

Most tools target clearly different resources/actions: legislation search, case-law search, full-text retrieval, court hierarchy listing, and citation verification. The one weak boundary is search_case_law vs search_tiered_court_decisions, which both search Hungarian court decisions; the tier/sub-portal filtering distinguishes them, but an agent could plausibly pick either first. Descriptions help resolve this, so it is a minor rather than serious ambiguity.

Naming Consistency5/5

All six names follow a consistent snake_case verb_noun pattern (search_*, get_*, list_*, verify_*). The verbs accurately signal the operation type and vocabulary is uniform across the set.

Tool Count5/5

Six tools is well within a comfortable range for a legal research server, and each covers a distinct step in the research workflow (search primary law, search case law, tiered search, fetch text, map courts, verify citations). No tool feels redundant or superfluous.

Completeness4/5

The surface covers the core research lifecycle: finding legislation, finding case law (with tier filtering), retrieving full text, understanding court structure, and verifying citations against hallucinations. Minor gaps exist, such as no consolidated/versioned statute lookup, no cross-reference or citator tool showing what cites a given case, and no browsing by topic or date range, but agents can work around these via the search tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables read-only search and retrieval of Czech legislation and multi-tier court decisions, filtering by judicial instance, and verification of statutory and case-law citations against official registries.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables read-only search and retrieval of Croatian legislation, multi-tier court decisions, and statutory or case-law citation verification through official legal registries.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables read-only search of Romanian legislation and multi-tier court decisions (first instance, appellate, supreme/constitutional), retrieval of full texts as Markdown, and verification of statutory and case law citations against official registries.
    MIT