Sponsored by Deepsite.site

mcp-server-proj MCP server

Created By
radial-hks8 months ago
MCP Server PROJ (cartographic projections and coordinate transformations )
Content

mcp-server-proj MCP server

MCP Server PROJ (cartographic projections and coordinate transformations)

Tools

The server implements two coordinate transformation tools:

  1. transform-coordinates

    • Transforms coordinates between different coordinate systems
    • Supports the following coordinate system formats:
      • EPSG codes (e.g., EPSG:4326 for WGS84)
      • WKT format
      • Proj format
    • Required input parameters:
      • source_crs: Source coordinate system
      • target_crs: Target coordinate system
      • coordinates: Array of points with x, y values

    Example: Transform from WGS84 (EPSG:4326) to Orthographic projection

    Input:
    - source_crs: EPSG:4326
    - target_crs: +proj=ortho +lon_0=112.364017384874 +lat_0=34.9227297291321 +a=6371010 +units=m +no_defs
    - coordinates: [112.364017384874, 34.9227297291321]
    
    Output:
    - transformed coordinates: [0.00000000, 0.00000000]
    
  2. list-supported-crs

    • Lists all supported coordinate system formats with examples
    • Provides detailed examples for:
      • EPSG code format
      • WKT format for geographic and projected coordinate systems
      • Proj format

Configuration

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration
{
  "mcpServers": {
    "mcp-server-proj": {
      "command": "uv",
      "args": [
        "--directory",
        "E:\\Code\\PythonDir\\MCP\\mcp-server-proj",
        "run",
        "mcp-server-proj"
      ]
    }
  }
}
Published Servers Configuration
{
  "mcpServers": {
    "mcp-server-proj": {
      "command": "uvx",
      "args": [
        "mcp-server-proj"
      ]
    }
  }
}

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory E:\Code\PythonDir\MCP\mcp-server-proj run mcp-server-proj

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Coordinate System Information

1. EPSG (Coordinate System Unique Codes)

EPSG codes are unique identifiers for geographic and projected coordinate systems, commonly used in GIS software and programming libraries. Here are some common EPSG codes and their corresponding coordinate systems:

  • EPSG:4326: WGS84 Geographic Coordinate System (GPS standard)
  • EPSG:3857: Web Mercator Projection (used by Google Maps, AutoNavi Maps)

2. WKT (Well-Known Text Format)

WKT (Well-Known Text) is a human-readable coordinate system description format, widely used in GIS software and databases. Here are typical WKT structures:

  • Geographic Coordinate System (GEOGCS)
GEOGCS["WGS 84",
  DATUM["WGS_1984",
    SPHEROID["WGS 84",6378137,298.257223563]],
  PRIMEM["Greenwich",0],
  UNIT["degree",0.0174532925199433]]
  • Projected Coordinate System (PROJCS)
PROJCS["WGS 84 / UTM zone 50N",
  GEOGCS["WGS 84",...],
  PROJECTION["Transverse_Mercator"],
  PARAMETER["latitude_of_origin",0],
  PARAMETER["central_meridian",117],
  UNIT["metre",1]]

3. Proj (Concise Projection Parameter Expression)

Proj is a concise projection parameter expression format, commonly used in proj4 library and command-line tools. Here are typical Proj syntax examples:

WGS84:

+proj=longlat +datum=WGS84 +no_defs +type=crs

Web Mercator Projection:

+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +no_defs

References

For more information about coordinate systems, visit: https://epsg.io/ If you're interested in JavaScript implementation of coordinate transformations, check out: https://github.com/proj4js/proj4js

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Playwright McpPlaywright MCP server
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
CursorThe AI Code Editor