GIS数据转换MCP
GIS 数据转换 MCP 是一个 MCP(模型上下文协议)服务器,它允许 LLM 访问地理数据转换工具。
该服务器使用各种 GIS 库,允许 LLM 在不同的地理数据格式、坐标系统和空间参考之间进行转换。
特征
- 反向地理编码- 将坐标转换为位置信息
- WKT/GeoJSON 转换- 在已知文本和 GeoJSON 格式之间转换
- CSV/GeoJSON 转换- 将带有坐标的表格数据转换为 GeoJSON,反之亦然
- TopoJSON/GeoJSON 转换- 在 GeoJSON 和 TopoJSON(保留拓扑的格式)之间转换
- KML/GeoJSON 转换- 将 KML 文件转换为 GeoJSON 格式
演示
反向地理编码
https://github.com/user-attachments/assets/e21b10c3-bb67-4322-9742-efa8c7d8b332
TopoJSON 到 GeoJSON
https://github.com/user-attachments/assets/a5d56051-8aed-48bb-8de1-820df8d34fe3
安装
要将此服务器与 Claude Desktop 一起使用,您需要在 MCP 设置中对其进行配置:
**对于 macOS:**编辑'~/Library/Application Support/Claude/claude_desktop_config.json'
文件
**对于 Windows:**编辑%APPDATA%\Claude\settings\claude_mcp_settings.json
文件
**对于 Linux:**编辑~/.config/Claude/settings/claude_mcp_settings.json
文件,将/path/to/axe-mcp-server/build/index.js
替换为已编译服务器文件的实际路径。
可用工具
wkt_到_geojson
将已知文本 (WKT) 转换为 GeoJSON 格式。
geojson_to_wkt
将 GeoJSON 转换为 Well-Known Text (WKT) 格式。
csv_到_geojson
将包含地理数据的 CSV 转换为 GeoJSON。
参数:
csv
(必需):要转换的 CSV 字符串latfield
(必填):纬度字段名称lonfield
(必填):经度字段名称delimiter
(可选):CSV 分隔符(默认为逗号)
geojson_to_csv
将 GeoJSON 转换为 CSV 格式。
geojson_to_topojson
将 GeoJSON 转换为 TopoJSON 格式(具有共享边界,更加紧凑)。
参数:
geojson
(必需):要转换的 GeoJSON 对象objectName
(可选):要创建的 TopoJSON 对象的名称(默认值:“data”)quantization
(可选):简化的量化参数(默认值:1e4,0 为禁用)
topojson_to_geojson
将 TopoJSON 转换为 GeoJSON 格式。
参数:
geojson
(必需):要转换的 GeoJSON 对象objectName
(可选):要创建的 TopoJSON 对象的名称(默认值:“data”)
kml_到_geojson
将 KML 转换为 GeoJSON 格式。
geojson_to_kml
将 GeoJSON 转换为 KML 格式。
坐标到位置
使用反向地理编码将纬度/经度坐标转换为位置名称。
依赖项
- @modelcontextprotocol/sdk
- 知名
- csv2geojson
- topojson-客户端
- topojson服务器
- @tmcw/togeojson
- XMLDOM
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that enables LLMs to perform blockchain operations on the Base network through natural language commands, including wallet management, balance checking, and transaction execution.Last updated -441TypeScriptMIT License
- -securityAlicense-qualityMCP server that enables LLMs to interact with Tripadvisor API, supporting location data, reviews, and photos through standardized MCP interfacesLast updated -PythonMIT License
- -securityAlicense-qualityAn MCP server that enables LLMs to autonomously reverse engineer applications through Cutter, allowing them to decompile binaries, analyze code, and rename methods programmatically.Last updated -6PythonApache 2.0
- -securityFlicense-qualityA Python-based MCP server that provides coordinate conversion between latitude/longitude and UTM/TWD97, along with various civil engineering calculation tools for LLM and AI application integration.Last updated -1Python