Hungarian Postcode Validator

io.github.UnbearableDevPublished by GitHub account UnbearableDevv1.0.1Updated Nov 2, 2026

Hungarian postcode lookup + validation - 3,484 codes, sub-10ms lookups, bulk address endpoint.

VerifiedStreamable HTTPWeb executableLocation & LifestyleData & Analytics

Overview

AI-generated overview

Remote MCP server that lets an assistant look up, validate and list Hungarian postcodes, cities, counties and Budapest districts.

What you can do
  • Look up the settlement, county and Budapest district for a four-digit Hungarian postcode
  • Find all postcodes serving a given city, with diacritic-insensitive matching
  • Validate a postcode and city pair and get a corrected suggestion on mismatch
  • Map Budapest district numbers (1-23 or I-XXIII) to their postcode ranges
  • List every postcode in a named Hungarian county
When to use it
Useful when an assistant has to check or clean Hungarian addresses before storing them, resolve a postcode to its settlement or county, or enumerate postcodes for a city, county or Budapest district. It covers postcode-level data only, not street-level addresses.
Requirements
A remote streamable HTTP endpoint; no local package. An Apify API token sent in the Authorization header as a bearer token is required. Network access to the hosted endpoint.
Before you install
Requires an Apify API token in the Authorization header, which grants access to your Apify account. Calls are billed per event through Apify pay-per-event pricing (about $0.001 per lookup, $0.005 for the county bulk listing), so usage costs money. Lookups send the queried postcodes and city names to the hosted service.

Installation

In SourceWeft

  1. Open Hungarian Postcode Validator in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.UnbearableDev%2Fhu-postcode-validator/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "hungarian-postcode-validator": {
      "type": "http",
      "url": "https://unbearable-dev--hu-postcode-validator.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Hungarian Postcode & Address Validator

MCP server that validates Hungarian postcodes and addresses. Powered by the official Magyar Posta catalog and KSH (Hungarian Central Statistics Office) settlement data. Pennies per call.

Built by Unbearable Labs. Pay-per-event pricing — only billed when a tool is actually called.


Available on

  • Apify Actor Store — primary, metered usage (PPE)
  • MCPize — pending submission
  • MCP.so — pending submission
  • PulseMCP — pending submission
  • Smithery — pending submission
  • Glama — pending submission

Newsletter: Unbearable TechTips Weekly · All Actors: github.com/UnbearableDev

What it does

Point any MCP-capable client (Claude Desktop, Cursor, n8n, Make, Zapier, custom agents) at this server and get fast, structured answers to Hungarian address questions:

  • Validate a (postcode, city) pair before storing it in your DB
  • Look up the settlement and county for any HU postcode
  • Find all postcodes that serve a given city (handy for Budapest: 23 districts, 100+ postcodes)
  • List every postcode in a Hungarian county
  • Map Budapest district numbers (1–23 or I–XXIII) to their postcode ranges

Tools

ToolPurposePrice
lookup_postcode(postcode)Settlement + county + (if BP) district for a 4-digit HU postcode$0.001
lookup_city(city)All postcodes for a city (diacritic-insensitive — gyor matches Győr)$0.001
validate_address(postcode, city)yes/no + corrected suggestion if mismatch$0.001
budapest_district_lookup(district)Budapest I-XXIII (or 1-23) → list of postcodes in that district$0.001
list_postcodes_in_county(county_name)Bulk listing — every postcode in a county$0.005

Example responses

lookup_postcode(1102)

json
{  "postcode": 1102,  "found": true,  "matches": [    {      "postcode": 1102,      "settlement": "Budapest",      "settlement_part": "X. kerület",      "county": "Budapest"    }  ],  "budapest_district": "X."}

validate_address(1102, "Szeged")

json
{  "valid": false,  "reason": "city_mismatch",  "postcode": 1102,  "city": "Szeged",  "expected_settlements": ["Budapest"]}

budapest_district_lookup(14) (or "XIV") returns all postcodes in District XIV.

Pricing

EventUSD per call
lookup-call (most tools)$0.001
bulk-call (list_postcodes_in_county)$0.005

Effectively a free utility for occasional use; meaningful at high call volumes.

Data sources

  • Magyar Posta official postal catalog (Iranyitoszam-Internet_uj.xlsx) — postcode → settlement mapping
  • KSH (Hungarian Central Statistical Office) settlement registry — county / district / KSH code per settlement, via the open tamas-ferenci/IrszHnk compilation

Coverage: 3,484 postcode-settlement entries spanning 2,962 unique postcodes (1011–9985), all 19 Hungarian counties + Budapest. Refreshed quarterly.

Connecting from Claude Desktop

json
{  "mcpServers": {    "hu-postcode": {      "transport": "streamable-http",      "url": "https://YOUR-ACTOR-URL.apify.actor/mcp"    }  }}

What's NOT covered

  • Street-level address validation (no clean public data source post-2022 KEKKH restrictions)
  • Fuzzy / Levenshtein city-name matching (v1.1)
  • Non-Hungarian addresses (consider another MCP for those)

Source / contact

Issues and ideas: [email protected] or the GitHub org UnbearableDev.

Source: README.md at commit f4fc9ec

Tools

0
This server asks for a credential such as an API key, so SourceWeft could not read its tools without one and has not indexed them.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.