A Model Context Protocol (MCP) server providing geospatial tools for AI agents. Enables Claude, GPT, and other LLMs to perform geocoding, routing, spatial analysis, and file operations. Features - **Geocoding**: Convert addresses to coordinates and vice versa (via Nominatim/OSM or Pelias) - **Batch Geocoding**: Geocode multiple addresses in a single request (up to 10) - **Elevation Data**: Get altitude for points and elevation profiles along paths - **Routing**: Calculate routes between points with distance, duration, and geometry (via OSRM) - **Spatial Analysis**: Buffer, intersection, union, distance calculations - **File I/O**: Read/write Shapefiles, GeoJSON, GeoPackage - **CRS Transformation**: Convert between coordinate reference systems Installation Quick Start With Claude Desktop Add to your claude_desktop_config.json: Direct Usage Available Tools Geocoding geocode Convert an address to coordinates. reverse_geocode Convert coordinates to an address. batch_geocode Geocode multiple addresses at once (max 10). Elevation get_elevation Get altitude for a point. get_elevation_profile Get elevations along a path. Geometry distance Calculate distance between two points. buffer Create a buffer zone around a geometry. spatial_query Perform spatial operations (intersection, union, contains, within, etc.). transform_crs Transform coordinates between CRS. Routing route Calculate route between two points. isochrone Calculate area reachable within a time limit. Files read_file Read geospatial files (Shapefile, GeoJSON, GeoPackage). write_file Write features to geospatial files. Configuration Environment variables: | Variable | Default | Description | |----------|---------|-------------| | NOMINATIM_URL | https://nominatim.openstreetmap.org | Nominatim API URL | | NOMINATIM_USER_AGENT | locusync-server/1.0.0 | User agent for Nominatim | | OSRM_URL | https://router.project-osrm.org | OSRM API URL | | OSRM_PROFILE | driving | Default routing profile | | PELIAS_URL | (empty) | Pelias geocoding API URL | | PELIAS_API_KEY | (empty) | Pelias API key (optional) | | OPEN_ELEVATION_URL | https://api.open-elevation.com | Open-Elevation API URL | | GIS_DEFAULT_CRS | EPSG:4326 | Default CRS | | GIS_TEMP_DIR | /tmp/locusync | Temporary directory | Response Format All tools return a consistent JSON structure: Rate Limits - **Nominatim**: 1 request/second (enforced automatically)