openplz-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Unofficial read-only MCP server for German postal data — the OpenPLZ API (openplzapi.org, by the openpotato project): localities, streets, municipalities, districts, government regions and the 16 federal states (Bundesländer), with the official administrative keys (federal states "01".."16", e.g. Berlin "11", Bayern "09"; districts 5 digits, e.g. "11000" Berlin; municipalities 8 digits, e.g. "09162000" München). A German postal code is exactly 5 digits (e.g. 10115 = Berlin-Mitte). Street-name search matches the stored, abbreviated form (e.g. "Ackerstr."); for free-form queries use openplz_full_text_search. Built by Mohammad Abbasi (mohammad-abbasi-sh) — https://almanibama.ir · https://mabbasi.ir — Germany MCP factory.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| openplz_lookup_postal_codeA | Which locality (or localities) a German postal code belongs to. postal_code: exactly 5 digits, e.g. 10115 (Berlin-Mitte). |
| 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). |
| 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. |
| 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). |
| openplz_list_federal_statesA | All 16 German federal states (Bundesländer) with their official key ("01".."16") and seat of government (capital). |
| openplz_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). |
| 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.