Hu MCP Server

MCP server for Hungarian legislation (Nemzeti Jogszabalytar): native ELI and verifiable citations.

Local serverstdioPython

What is the Hu MCP server?

If you already use Hu, the hu mcp server is the piece that lets your assistant work with it directly. MCP server for Hungarian legislation (Nemzeti Jogszabalytar): native ELI and verifiable citations.

What the server does

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.

Installation

The server ships on PyPI as hu-eli-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • 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
  • source_url — the browsable njt.jog.gov.hu/jogszabaly/... document page

Credentials and setup notes

Configuration is passed through the environment: HU_ELI_BASE_URL, HU_ELI_CACHE_DIR, HU_ELI_AUDIT_DIR. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Hu's toolset — eli_uri, human_readable_citation, source_url — is a fair guide to whether it matches your workflow. It is maintained by matematicsolutions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Hu's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
eli_urithe native ELI URI resolved, e.g. https://njt.jog.gov.hu/eli/TV/2013/5.
human_readable_citationbuilt from the parsed title + subtitle, e.g.
source_urlthe browsable njt.jog.gov.hu/jogszabaly/... document page.

How to install the Hu MCP server

{
  "mcpServers": {
    "hu-eli": {
      "command": "uvx",
      "args": ["hu-eli-mcp"],
      "env": {
        "HU_ELI_BASE_URL": "your-value",
        "HU_ELI_CACHE_DIR": "your-value",
        "HU_ELI_AUDIT_DIR": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
HU_ELI_BASE_URLEndpoint or connection string the server talks to.Yes
HU_ELI_CACHE_DIRFilesystem location the server is allowed to use.Optional
HU_ELI_AUDIT_DIRFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Hu to eli uri.
  • Use Hu to human readable citation.
  • Use Hu to source url.

Frequently asked questions

It connects Hu to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (eli_uri, human_readable_citation, source_url) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Hu directly.