MCP Server PROJ
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server PROJ transform coordinates (116.3, 39.9) from EPSG:4326 to EPSG:3857"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server PROJ
A Model Context Protocol (MCP) server for coordinate system transformations and map projections.
Features
Multiple coordinate system format support:
EPSG codes
WKT (Well-Known Text)
Proj string format
Batch coordinate transformation
Simple and intuitive API
Dual-mode operation: server or library
Related MCP server: GeoSpatial MCP Server
Installation
pip install mcp-server-projUsage
Server Mode
mcp-server-projLibrary Mode
from mcp_server_proj import CoordinateTransformer
# Create transformer instance
transformer = CoordinateTransformer()
# Set source and target coordinate systems
transformer.set_source_crs("EPSG:4326") # WGS84
transformer.set_target_crs("EPSG:3857") # Web Mercator
# Initialize transformer
transformer.initialize_transformer()
# Transform coordinates
x, y = transformer.transform_point(116.3, 39.9)
print(f"Transformed coordinates: ({x}, {y})")API Documentation
CoordinateTransformer
The main coordinate transformation class provides the following methods:
set_source_crs(crs: str): Set source coordinate systemset_target_crs(crs: str): Set target coordinate systeminitialize_transformer(): Initialize the transformertransform_point(x: float, y: float) -> tuple[float, float]: Transform a single point
Server
The MCP protocol server provides two tools:
transform-coordinates: Transform coordinates between different systems{ "source_crs": "EPSG:4326", "target_crs": "EPSG:3857", "coordinates": [ {"x": 116.3, "y": 39.9} ] }list-supported-crs: List all supported coordinate systems
Supported Coordinate Systems
1. EPSG Codes
Standard identifiers for coordinate reference systems:
EPSG:4326 - WGS84 Geographic
EPSG:3857 - Web Mercator
And many more...
2. WKT Format
Example of a geographic coordinate system:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]3. Proj Format
Example of WGS84:
+proj=longlat +datum=WGS84 +no_defs +type=crsDevelopment
Debugging
For the best debugging experience, use the MCP Inspector:
npx @modelcontextprotocol/inspector mcp-server-projDependencies
Python >= 3.12
mcp >= 1.3.0
pyproj >= 3.0.0
License
MIT
Author
radial-hks (radialjiajie@gmail.com)
Contributing
Issues and Pull Requests are welcome!
Available Tools
2 toolslist-supported-crsB
列出所有支持的坐标系统
Inputs: no named parameters.
transform-coordinatesA
在不同坐标系统之间转换坐标,支持EPSG、WKT和Proj格式的坐标系统
Inputs: source_crs (required), target_crs (required), coordinates (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one transforms coordinates between systems, the other lists supported coordinate systems. There is no overlap or ambiguity between them.
Both tool names follow a consistent verb-noun pattern with hyphenated lowercase (transform-coordinates, list-supported-crs), making the naming predictable and easy to understand.
With only two tools, the server feels thin for a coordinate transformation service. While they cover a minimal workflow, the count is borderline and could be expanded with additional useful operations.
The core workflow is covered: users can list supported CRS and transform coordinates between them. Minor gaps exist, such as retrieving detailed CRS metadata or more advanced PROJ operations, but the basics are functional.
Maintenance
Related MCP Connectors
Model Context Protocol server for Studex tools, notifications, and profile integrations
MCP server for aerospace calculations: orbital mechanics, ephemeris, DSN operations, ...
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol server that enables efficient discovery and retrieval of NASA Earth Data for geospatial analysis.27BSD 3-Clause
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) based geographic processing server that provides spatial analysis functions including coordinate system conversions, distance calculations, and area calculations.340 npm3MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that connects Large Language Models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language.997MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server that connects LLMs to GIS operations, enabling AI assistants to perform accurate geospatial analysis including geometric operations, coordinate transformations, and spatial measurements.87205MIT