Hungarian Postcode Validator
Validates Hungarian postcodes and addresses using official Magyar Posta and KSH data, enabling postcode lookup, address validation, and county listings via MCP tools.
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
| Tool | Purpose | Price |
|---|---|---|
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)
{
"postcode": 1102,
"found": true,
"matches": [
{
"postcode": 1102,
"settlement": "Budapest",
"settlement_part": "X. kerület",
"county": "Budapest"
}
],
"budapest_district": "X."
}
validate_address(1102, "Szeged")
{
"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
| Event | USD 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/IrszHnkcompilation
Coverage: 3,484 postcode-settlement entries spanning 2,962 unique postcodes (1011–9985), all 19 Hungarian counties + Budapest. Refreshed quarterly.
Connecting from Claude Desktop
{
"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: unbearabledev@gmail.com or the GitHub org UnbearableDev.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。