Back to MCP directory
publicPublicdnsLocal runtime

mcp-dutch-postal-codes

一个基于MCP协议的荷兰邮政编码查询服务,可通过邮政编码或WGS84坐标获取荷兰地址信息。

article

README

🚀 MCP荷兰邮政编码服务

MCP 服务器用于通过荷兰邮政编码查询地址信息,也能根据WGS84坐标查找荷兰地址信息。

🚀 快速开始

MCP荷兰邮政编码服务可帮助你便捷地查询荷兰地址信息。下面为你详细介绍使用该服务的相关内容。

✨ 主要特性

  • 支持通过荷兰邮政编码查询地址信息。
  • 支持根据WGS84坐标查找荷兰地址信息。

📦 安装指南

环境要求

安装方式

通用MCP主机配置示例(ClaudeDesktop、Cursor)

{
  "mcpServers": {
    "dutch-postal-codes": {
      "command": "go",
      "args": ["run", "github.com/dstotijn/mcp-dutch-postal-codes@main"]
    }
  }
}

手动安装程序(前提是已安装Go)

go install github.com/dstotijn/mcp-dutch-postal-codes@main

💻 使用示例

基础用法

查看帮助信息:

$ mcp-dutch-postal-codes --help

mcp-dutch-postal-codes的使用方法:
  -http string
        HTTP监听地址。用于JSON-RPC over HTTP(默认值 ":8080")
  -sse
        启用SSE连接
  -stdio
        启用stdio连接(默认值 true)

高级用法

若你想手动使用HTTP或SSE,可按如下方式运行:

mcp-dutch-postal-codes --stdio=false --sse

运行后会显示SSE连接的URL:

2025/03/12 15:20:01 MCP服务器已启动,正在使用的传输方式为:[sse]
2025/03/12 15:20:01 SSE传输端点:http://localhost:8080

📄 许可证

本项目采用 Apache-2.0 许可证


©️ 2025 David Stotijn

🔗 致谢

本项目使用了 Bert Hubert 先生的测试实例 bagserv 网络服务(文章)。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client