MCP.so
登录

@zealgeo/mcp-geo-server

@MCP-Mirror

关于 @zealgeo/mcp-geo-server

Mirror of

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

MCP-Mirror

配置

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

{
  "mcpServers": {
    "geo-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@zealgeo/mcp-geo-server"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is @zealgeo/mcp-geo-server?

@zealgeo/mcp-geo-server is an MCP-based geographic processing tool server that provides coordinate system conversion (BD09, GCJ02, WGS84, Web Mercator), polyline distance calculation, and polygon area calculation. It is intended for developers working with Chinese map coordinate systems and spatial analysis.

How to use @zealgeo/mcp-geo-server?

Install and configure via npx using stdio transport, as shown in the README's JSON configuration. Then invoke MCP tools: mcp_geo_convert for coordinate conversion, mcp_geo_calculate_distance for polyline distance, and mcp_geo_calculate_area for polygon area, each with specified parameters.

Key features of @zealgeo/mcp-geo-server

  • Convert between BD09, GCJ02, WGS84, and Web Mercator coordinate systems.
  • Calculate polyline distance in meters or kilometers.
  • Calculate polygon area in square meters, square kilometers, or hectares.
  • Accept input coordinates in WGS84, GCJ02, or BD09 for distance/area.
  • All calculations use Web Mercator projection for planar computation.

Use cases of @zealgeo/mcp-geo-server

  • Converting GPS coordinates (WGS84) to Chinese map coordinates (GCJ02 or BD09).
  • Measuring the length of a route described by a sequence of coordinates.
  • Estimating the area of a plot or region defined by polygon vertices.
  • Switching between geographical coordinates and Web Mercator projected coordinates.

FAQ from @zealgeo/mcp-geo-server

What coordinate systems are supported?

BD09 (Baidu), GCJ02 (Mars), WGS84 (GPS), and Web Mercator. All conversions between these systems are available.

How are distance and area calculations performed?

They use planar calculation on the Web Mercator projection, suitable for small-to-medium-scale analysis. For very long distances or large areas, spherical methods are recommended.

What happens with coordinates outside mainland China?

For coordinates outside mainland China, conversion between WGS84 and GCJ02 returns the original coordinates unchanged.

Do I need to close a polygon for area calculation?

No, the polygon does not need to be manually closed; the server handles it automatically.

What transport does the server use?

The server uses stdio transport, configured via "type": "stdio" with npx as the command.

评论

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