
GeoCalculator
Performs geospatial calculations including coordinate system conversions between Chinese mapping systems (BD09, GCJ02) and international standards (WGS84, Web Mercator), plus distance and area calculations.
Provides geospatial calculation capabilities for coordinate conversion and spatial analysis, enabling GIS applications and geometry processing without complex algorithm implementation.
What it does
- Convert coordinates between BD09, GCJ02, WGS84, and Web Mercator systems
- Calculate polyline distances with multiple unit options
- Calculate polygon areas in square meters, kilometers, or hectares
- Process coordinates from Chinese mapping platforms
- Perform Web Mercator projections for spatial calculations
Best for
About GeoCalculator
GeoCalculator is a community-built MCP server published by nodegis that provides AI assistants with tools and capabilities via the Model Context Protocol. GeoCalculator helps you convert lat long or coordinates easily and accurately for GIS and spatial analysis, saving time It is categorized under analytics data. This server exposes 3 tools that AI clients can invoke during conversations and coding sessions.
How to install
You can install GeoCalculator in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
GeoCalculator is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Tools (3)
在不同坐标系统之间转换坐标。支持BD09(百度)、GCJ02(火星)、WGS84(GPS)和Web Mercator投影坐标系统之间的互相转换。
计算折线的距离。支持多种坐标系统输入,内部会先转换为WGS84坐标,再通过Web Mercator投影进行平面距离计算。适用于中小尺度的距离计算。
计算多边形面积。支持多种坐标系统输入,内部会先转换为WGS84坐标,再通过Web Mercator投影进行平面面积计算。多边形无需手动闭合。适用于中小尺度的面积计算。
@zealgeo/mcp-geo-server
这是一个基于 Model Context Protocol (MCP) 的地理处理工具服务器,提供坐标系统转换、距离计算、面积计算等空间分析功能。
安装
"geo-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y"
"@zealgeo/mcp-geo-server"
]
}
功能
支持以下坐标系统之间的转换:
- BD09(百度坐标系)
- GCJ02(火星坐标系)
- WGS84(GPS坐标系)
- Web Mercator(网络墨卡托投影)
支持的转换方法:
- BD09 与 GCJ02 互转
- WGS84 与 GCJ02 互转
- BD09 与 WGS84 互转
- Web Mercator 与经纬度互转
支持的空间计算:
- 计算折线距离(支持米、千米单位)
- 计算多边形面积(支持平方米、平方公里、公顷单位)
- 支持多种坐标系统输入(WGS84、GCJ02、BD09)
MCP Tools
mcp_geo_convert
坐标系统转换工具。支持 BD09、GCJ02、WGS84 和 Web Mercator 之间的互相转换。
参数:
method: 转换方法BD09toGCJ02: 百度坐标系转火星坐标系GCJ02toBD09: 火星坐标系转百度坐标系WGS84toGCJ02: WGS84转火星坐标系GCJ02toWGS84: 火星坐标系转WGS84BD09toWGS84: 百度坐标系转WGS84WGS84toBD09: WGS84转百度坐标系WebMercatortoLngLat: Web墨卡托转经纬度LngLattoWebMercator: 经纬度转Web墨卡托
longitude: 经度值latitude: 纬度值
mcp_geo_calculate_distance
计算折线距离。基于 Web Mercator 投影进行平面距离计算。
参数:
coordinates: 折线坐标点数组[[lon1,lat1], [lon2,lat2],...]unit: 长度单位(meters米[默认]、kilometers千米)coordType: 输入坐标类型(WGS84[默认]、GCJ02、BD09)
mcp_geo_calculate_area
计算多边形面积。基于 Web Mercator 投影进行平面面积计算。
参数:
coordinates: 多边形坐标点数组[[lon1,lat1], [lon2,lat2],...]unit: 面积单位(square_meters平方米[默认]、square_kilometers平方公里、hectares公顷)coordType: 输入坐标类型(WGS84[默认]、GCJ02、BD09)
坐标系说明
BD09(百度坐标系)
百度地图使用的坐标系统,在GCJ02基础上再次加密。
GCJ02(火星坐标系)
中国国测局制定的地理信息系统坐标系统,是对WGS84进行加密后的坐标系。
WGS84
GPS原始坐标系统,目前广泛使用的GPS全球卫星定位系统使用的坐标系统。
Web Mercator
网页地图使用的投影坐标系统,将球面坐标转换为平面坐标。用于距离和面积计算时可以获得更准确的结果。
注意事项
- 坐标转换精度与原始数据质量有关
- 中国大陆以外的坐标,WGS84与GCJ02坐标系转换将直接返回原始坐标
- Web Mercator坐标通常以米为单位
- 距离和面积计算使用Web Mercator投影后的平面计算方法,适用于中小尺度的计算
- 对于跨越大洲的超长距离或超大面积,建议使用球面计算方法
- 多边形面积计算不需要手动闭合,程序会自动处理闭合
Alternatives
Related Skills
Browse all skillsTransform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Advanced content and topic research skill that analyzes trends across Google Analytics, Google Trends, Substack, Medium, Reddit, LinkedIn, X, blogs, podcasts, and YouTube to generate data-driven article outlines based on user intent analysis
Expert data scientist for advanced analytics, machine learning, and statistical modeling. Handles complex data analysis, predictive modeling, and business intelligence. Use PROACTIVELY for data analysis tasks, ML modeling, statistical analysis, and data-driven insights.
Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.
Comprehensive backend development guide for Langfuse's Next.js 14/tRPC/Express/TypeScript monorepo. Use when creating tRPC routers, public API endpoints, BullMQ queue processors, services, or working with tRPC procedures, Next.js API routes, Prisma database access, ClickHouse analytics queries, Redis queues, OpenTelemetry instrumentation, Zod v4 validation, env.mjs configuration, tenant isolation patterns, or async patterns. Covers layered architecture (tRPC procedures → services, queue processors → services), dual database system (PostgreSQL + ClickHouse), projectId filtering for multi-tenant isolation, traceException error handling, observability patterns, and testing strategies (Jest for web, vitest for worker).