跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 OpenPLZ Germany,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
通过 MCP 查找德国邮政编码、地点、街道和地区。AnythingMCP 中的免费 OpenPLZ 适配器 — 无需 API 密钥,BKG 官方数据。
试试这样问
OpenPLZ Germany 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
使用 AI 代理查找德国邮政编码
OpenPLZ 是德国行政层级的免费参考 API — 联邦州(Bundesländer)、地区(Kreise)、市镇(Gemeinden)、地点(Orte)、邮政编码(PLZ)和街道。数据来自官方的联邦制图与测量局(BKG),非常适合地址验证、表单自动补全和 AI 工作流中的区域分析。
使用内置适配器快速设置
OpenPLZ 随 AnythingMCP 一起提供。该端点是免费的且无需身份验证。
步骤 1:部署 AnythingMCP
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 2:导入适配器
打开 http://localhost:3000/connectors/store,点击 OpenPLZ Germany 上的 Import。无需凭据。
步骤 3:连接到你的 AI 代理
{
"mcpServers": {
"openplz": {
"url": "http://localhost:4000/mcp"
}
}
}
可用工具
| 工具 | 描述 |
|---|---|
openplz_lookup_postalcode | 所有 5 位数 PLZ 的地点 |
openplz_search_localities | 按名称搜索地点,可选联邦州过滤 |
openplz_search_streets | 在 PLZ 或地点内的街道自动补全 |
openplz_list_federal_states | 16 个联邦州及其区域键 |
openplz_list_districts | 某个联邦州的所有 Kreis / kreisfreie Städte |
AI 代理用例
- "哪个城市的邮政编码是 79098?"
- "列出弗赖堡以 'Kaiser-Joseph' 开头的所有街道"
- "验证这个送货地址:Bahnhofstraße 12, 80335 München"
- "给我展示巴登-符腾堡的地区"
注意事项
OpenPLZ 有速率限制(约 10 req/s 的软限制)。对于批量处理,可以自托管 OpenPLZ API 服务器 — 导入后可以覆盖适配器的 baseUrl。
下一步
- HERE 地理编码 MCP 指南 — 全球正向和反向地理编码
- 德铁 MCP 指南 — 火车时刻表和行程
这份指南对你有帮助吗?