hu-eli-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hu-eli-mcpget metadata for Act V of 2013 (Hungarian Civil Code)"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hu-eli-mcp
An MCP server for Hungary's official national legislation database, the Nemzeti
Jogszabalytar (NJT, njt.jog.gov.hu), maintained by MKIFK. It gives an AI agent a piece of
Hungarian legislation resolved by its native ELI (European Legislation Identifier), with a
verifiable citation: the ELI itself, a human-readable citation, and a link to the official
source.
Part of the eu-legal-mcp line by MateMatic — one connector per EU member state, the same citation contract everywhere.
On ELI. Unlike the Netherlands and Sweden (earlier connectors in this line, neither of which publishes native ELI), Hungary has a genuine, documented national ELI implementation since 2023 (
njt.jog.gov.hu/eli/urisemak).eli_uriis therefore the real/eli/URI the tool resolved — never a substitute identifier. SeeDISCOVERY.md.
Tools
Tool | What it does |
| Metadata for a Hungarian Act (torveny) by ELI, e.g. year |
| Metadata for any other legislation (decrees etc.) by ELI — type, year, issuer (case-sensitive) and serial. |
| The full document HTML content for either an Act or other legislation. |
| Valid NJT document-type codes (e.g. |
| Valid NJT issuer codes (e.g. |
Every response carries the citation contract:
eli_uri— the native ELI URI resolved, e.g.https://njt.jog.gov.hu/eli/TV/2013/5.human_readable_citation— built from the parsed title + subtitle, e.g. "2013. évi V. törvény (a Polgári Törvénykönyvről)".source_url— the browsablenjt.jog.gov.hu/jogszabaly/...document page.
No free-text search
NJT has no REST/JSON API and its search/browse UI is a JavaScript SPA requiring a session
(not usable headlessly). Documents must be addressed by a known ELI — use
hu_list_doc_types / hu_list_issuers to discover valid codes, then hu_get_act /
hu_get_legislation. An unresolvable ELI (wrong year/serial/issuer, or wrong issuer-code
case) surfaces as not_found — NJT itself redirects it to a search-assist page rather than
a 404.
Related MCP server: Hungarian Legislation MCP Server
Install
pip install -e ".[dev]"Register it with your MCP client (see .mcp.json.example):
{
"mcpServers": {
"hu-eli-mcp": {
"command": "hu-eli-mcp",
"env": {
"HU_ELI_BASE_URL": "https://njt.jog.gov.hu",
"HU_ELI_CACHE_DIR": "~/.matematic/cache/hu-eli",
"HU_ELI_AUDIT_DIR": "~/.matematic/audit"
}
}
}
}Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the hu-eli-mcp.exe launcher that pip writes at install time. The python.exe and
py.exe from the python.org installer are signed by the Python Software
Foundation, so running the module through the interpreter works:
python -m pip install hu-eli-mcp
python -m hu_eli_mcppip.exe is blocked for the same reason, so install with python -m pip, not
pip install. If python is not on PATH, use the Windows launcher: py -3 -m hu_eli_mcp.
{ "mcpServers": { "hu-eli-mcp": { "command": "python", "args": ["-m", "hu_eli_mcp"] } } }Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Design
Public data only. Read-only against the keyless, official
njt.jog.gov.hu; nothing is sent beyond the ELI path being resolved. Honorsrobots.txt(never calls/search/*).Audit log. Every call appends one JSON line to
~/.matematic/audit/hu-eli-mcp.jsonl(AI Act art. 12 record-keeping).Vendor-neutral. No LLM provider, no telemetry; own backoff + on-disk cache.
No fabrication. The ELI, title and citation are parsed from the resolved document page. If NJT's markup changes, the connector fails loudly rather than returning stale or invented data.
See CONSTITUTION.md (the 4 principles) and DISCOVERY.md (how the source was mapped,
including the njt.hu → njt.jog.gov.hu domain discovery and the issuer-code casing gotcha).
Tests
pytest tests/test_instructions_drift.py # offline
pytest tests/test_smoke.py # live NJTLicence
Apache-2.0. The Hungarian legislation served is official public data of Hungary; this connector adds no rights over it.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables searching and quoting EU legislation with verifiable EUR-Lex citations, including GDPR, NIS2, DORA, and the EU AI Act.Last updated25MIT
- Alicense-qualityDmaintenanceQuery 4,326 Hungarian laws (Ptk., Mt., Btk., etc.) from MCP-compatible clients. Includes full-text search, citation validation, and EU law mapping.Last updated837Apache 2.0
- Flicense-qualityDmaintenanceProvides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.Last updated13
- Alicense-qualityFmaintenanceEnables querying and searching Romanian legislation, including statutes, provisions, and EU law integration, directly from AI clients.Last updated555Apache 2.0
Related MCP Connectors
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
EU law, article-level: GDPR, NIS2, DORA, EU AI Act + more, with EUR-Lex citations. Keyless.
Task-oriented MCP for Indonesian law: search, resolve citations, read laws, and MK decisions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/hu-eli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server