MCP.so
登录

MCP Geo

@webcoderz

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

webcoderz

关于 MCP Geo

Geocoding MCP server with GeoPY!

MCP Geo 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "MCP-Geo": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

MCP Geo 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP-Geo?

MCP-Geo is a geocoding MCP server built with GeoPy. It provides tools that allow Large Language Models (LLMs) to geocode addresses, reverse geocode coordinates, calculate distances, and perform batch lookups in a rate-limited, error-handled way. It is aimed at developers integrating location capabilities into AI workflows via Claude Desktop or other MCP clients.

How to use MCP-Geo?

Clone the repository, install dependencies with uv sync, then install the server using fastmcp install geo.py --name "MCP Geo" for Claude Desktop. For other environments, add the JSON configuration (with command: "uv", args: ["--directory", "MCP-Geo", "run", "geo.py"]) to your MCP settings file, optionally setting environment variables like GEOCODER_PROVIDER, NOMINATIM_URL, or API keys for alternative providers.

Key features of MCP-Geo

  • Geocode a single address to latitude, longitude, and formatted address.
  • Reverse geocode a latitude/longitude pair to the nearest address.
  • Geocode with additional details like bounding boxes (provider-dependent).
  • Batch geocode multiple addresses with rate limiting.
  • Batch reverse geocode multiple coordinate pairs.
  • Calculate distance between two addresses or coordinate pairs in miles/kilometers.

Use cases of MCP-Geo

  • Convert a user‑provided place name into map coordinates for display or analysis.
  • Find the street address corresponding to a GPS coordinate from a photo or sensor.
  • Enrich location data by geocoding a list of addresses in one request.
  • Calculate the distance between two addresses (e.g., for logistics or travel planning).

常见问题

1

What are the system requirements?

Python 3.6 or higher is required.

2

What dependencies are needed?

The server requires `fastmcp` (for the MCP framework) and `geoPy` (for geocoding). All dependencies are listed in `requirements.txt` and can be installed via `uv sync`.

3

How do I install MCP-Geo for Claude Desktop?

Run `fastmcp install geo.py --name "MCP Geo"` after cloning the repository and installing dependencies.

4

How can I switch the geocoding provider?

Set the `GEOCODER_PROVIDER` environment variable to `"nominatim"`, `"arcgis"`, or `"bing"`. Additional variables (e.g., `ARC_USERNAME`, `ARC_PASSWORD`, `BING_API_KEY`, `NOMINATIM_URL`, `SCHEME`) can be configured in the MCP settings file or shell environment.

5

What safety features does MCP-Geo include?

Rate limiting (default 1‑second delay per geocoding call) prevents hitting service quotas, and error handling catches geopy exceptions, returning `None` instead of crashing.

评论

其他 分类下的更多 MCP 服务器