Get the FREE Ultimate OpenClaw Setup Guide →

geo

MCP server from NodeGIS/geo-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio nodegis-geo-mcp-server npx -y @zealgeo/mcp-geo-server

How to use

This MCP server (@zealgeo/mcp-geo-server) provides geographic processing capabilities, including coordinate system conversions and spatial calculations. It exposes tools for converting between BD09, GCJ02, WGS84, and Web Mercator coordinates, as well as calculating distances along polylines and areas of polygons. The available MCP tools are mcp_geo_convert for coordinate transformations, mcp_geo_calculate_distance for polyline distance calculations, and mcp_geo_calculate_area for polygon area calculations. These tools accept inputs in common geographic coordinate systems (WGS84, GCJ02, BD09) and return results in the requested coordinate system or units. You can interact with the server by invoking the appropriate tool with the required parameters, as described in the tool documentation within the repository or accompanying README.

How to install

Prerequisites:

  • Node.js and npm installed on your system.

Installation steps:

  1. Install the MCP server package via npx as shown in the repository:
# Run the MCP server using npx (no installation required)
npx -y @zealgeo/mcp-geo-server
  1. If you prefer to install locally (optional), install the package from npm and start the server via your usual MCP runtime workflow. For example:
npm install @zealgeo/mcp-geo-server
# Then start the MCP server according to your MCP runtime (e.g., using node wrappers or your existing MCP runner)
  1. Ensure your environment is prepared to access Web resources if the server relies on external APIs or data files. The server will expose its MCP endpoints once started.

Notes:

  • The readme indicates the server is typically run via npx with the package name, which is a common pattern for MCP servers in this ecosystem.
  • If you are behind a proxy, configure npm/Node.js proxy settings accordingly before installation.

Additional notes

Tips and considerations:

  • Supported coordinate systems: BD09, GCJ02, WGS84, and Web Mercator. Web Mercator is typically used for distance and area calculations due to its planar projection properties.
  • Distance calculations use Web Mercator-based planar calculations; for very large distances or global-scale analyses, consider spherical methods if available in your workflow.
  • Polygon area calculations do not require manual polygon closure; the server will handle closing the polygon if needed.
  • When transforming coordinates across systems, be aware of potential precision differences due to the inherent transform algorithms.
  • If you encounter issues with coordinate transforms across regions outside China, note that certain transforms may return input coordinates unchanged depending on regional validity in the underlying algorithms.

Related MCP Servers

Sponsor this space

Reach thousands of developers