openplz-mcp
Click on "Deploy 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., "@openplz-mcp Which city does German postal code 10115 belong to?"
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.
openplz-mcp 🧭
mcp-name: io.github.mohammad-abbasi-sh/openplz-mcp
Unofficial read-only MCP server for German postal data via the OpenPLZ API (by the openpotato project): localities, streets, municipalities, districts, government regions and the 16 federal states (Bundesländer) — with the official administrative keys. No key, no login.
Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with the OpenPLZ API / openpotato project.
For AI agents
Add to your MCP client config (stdio):
{
"mcpServers": {
"openplz": {
"command": "uvx",
"args": ["openplz-mcp==0.1.0"]
}
}
}Or run locally: python -m openplz_mcp.server (needs mcp<2, httpx).
Related MCP server: Busca de CEP
Tools
Tool | Description |
| Which locality (or localities) a German postal code belongs to |
| Search localities (Orte) by name, optionally within one postal code |
| Search streets by name, postal code and/or locality |
| Free-form street search across street name, postal code and city |
| All 16 federal states (Bundesländer) with key + capital |
| Walk one step down the administrative tree (state → district → municipality …) |
| Reachability check (ok / blocked / error) — one polite request |
Example output (openplz_lookup_postal_code / 10115):
{"postal_code": "10115", "count": 1,
"localities": [{"postal_code": "10115", "name": "Berlin",
"municipality": {"key": "11000000", "name": "Berlin, Stadt", "type": "Kreisfreie Stadt"},
"federal_state": {"key": "11", "name": "Berlin"}}]}Notes:
A German postal code is exactly 5 digits (e.g. 10115 = Berlin-Mitte, 80331 = München).
Official administrative keys: federal states
"01"–"16"(Berlin"11", Bayern"09"), districts 5 digits ("11000"= Berlin), municipalities 8 digits ("09162000"= München). Use them withopenplz_admin_children— e.g.federal_state "11" → districtsreturns the single Berlin district;district "11000" → localitieslists Berlin's localities.Street-name search matches the stored, abbreviated form (e.g.
"Ackerstr."). For free-form queries (e.g."10115 Berlin"or"München Marienplatz") useopenplz_full_text_search.A postal code can cover several localities, and a locality can have several postal codes —
openplz_lookup_postal_codereturns all of them.Data covers Germany only (
/de/endpoints); the OpenPLZ API also serves Austria (/at/) and Switzerland (/ch/), which this server does not expose.
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Available Tools
7 toolsopenplz_admin_childrenA
Walk one step down the German administrative tree. parent_type: federal_state | government_region | district. parent_key: official key, e.g. "11" (Berlin), "09" (Bayern), "11000" (Berlin district), "091" (Oberbayern region). child_type: districts | government_regions | localities | municipalities | municipal_associations — only the combinations the API offers (e.g. federal_state -> districts, district -> localities). limit: 1..50 (default 20).
Inputs: child_type (required), parent_key (required), parent_type (required), limit. Returns: result
openplz_full_text_searchA
Free-form street search across street name, postal code and city, e.g. "10115 Berlin" or "München Marienplatz". Returns matching streets with postal code, locality, borough/suburb, municipality and federal state. limit: 1..50 (default 20).
Inputs: search_term (required), limit. Returns: result
openplz_healthA
Check whether the OpenPLZ API is reachable right now.
Returns status ok (HTTP 200), blocked (HTTP 403/429 — bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.
Inputs: no named parameters. Returns: result
openplz_list_federal_statesA
All 16 German federal states (Bundesländer) with their official key ("01".."16") and seat of government (capital).
Inputs: no named parameters. Returns: result
openplz_lookup_postal_codeA
Which locality (or localities) a German postal code belongs to. postal_code: exactly 5 digits, e.g. 10115 (Berlin-Mitte).
Inputs: postal_code (required). Returns: result
openplz_search_localityA
Search German localities (Orte) by name, optionally restricted to one postal code. name: e.g. München (matches München, Münchenbernsdorf ...). Returns each locality's postal code, municipality, district and federal state. limit: 1..50 (default 20).
Inputs: name (required), limit, postal_code. Returns: result
openplz_search_streetA
Search German streets by name, postal code and/or locality — at least one filter is required. name matches the stored, abbreviated form (e.g. "Ackerstr."); for free-form queries use openplz_full_text_search. Returns street, postal code, locality, borough/suburb, municipality and federal state. limit: 1..50.
Inputs: name, limit, locality, postal_code. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource or action: postal-code lookup, locality search, street search, full-text search, federal-state listing, admin-tree walking, and health check. The only meaningful overlap is openplz_search_street vs openplz_full_text_search, but the descriptions clarify that one uses structured filters against abbreviated stored names while the other is free-form, so confusion is limited.
All tools share a consistent openplz_ prefix and snake_case, mostly following a verb_noun pattern (lookup_postal_code, search_locality, list_federal_states). Minor deviations are openplz_full_text_search (lacks explicit verb-noun ordering) and openplz_health / openplz_admin_children, which are noun-style but still clear.
Seven tools is well-scoped for a German postal/locality API: one lookup, three search variants, two reference/hierarchy tools, and a health probe. Each earns its place without redundancy.
The surface covers the core domain well: reverse postal-code lookup, locality/street/free-text search, federal states, and one-step admin hierarchy traversal. Minor gaps exist (e.g. no direct municipality detail lookup or multi-level tree walk), but agents can work around these by chaining admin_children.
Maintenance
Related MCP Connectors
Read-only German street search and context across 593,062 historical records.
Free, keyless postal/ZIP code lookup: place name(s), state/region, and coordinates.
German federal and Land statutes plus court decisions for agents. Keyless, read-only.
Geocoding, static maps and privacy-safe area maps from OpenStreetMap data. Hard caps, no overage.
Related MCP Servers
- AlicenseAqualityDmaintenanceGlobal postal code lookups, validation, and city search for 240+ countries with timezone, admin region, and elevation metadata. Sub-10ms responses at $0.000028/query with 1,000 free queries on signup.41MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to look up Brazilian postal codes and standardized Correios addresses from a given address through natural language, with read-only access and no credentials required.MIT

LegalOne Entreprisesofficial
AlicenseNot gradedqualityCmaintenanceEnables users to search and retrieve French company identities, establishments, officers and BODACC notices, normalize and geocode addresses, and get legal-notice requirements, regulated rates, next steps, and prepare drafts through a keyless read-only MCP server.MIT- AlicenseAqualityBmaintenanceProvides read-only access to German weather data, including ICON-model forecasts, current conditions, official severe-weather warnings, pollen counts, and place geocoding without an API key or login.6MIT