LocuSync Server
Provides support for reading and writing ESRI Shapefiles and includes a roadmap for full ESRI FileGDB integration, ensuring compatibility with standard GIS data formats.
Utilizes OpenStreetMap data through services like Nominatim and OSRM to provide geocoding, reverse geocoding, and routing tools for spatial analysis and navigation.
Click on "Install 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., "@LocuSync Servercalculate the driving route and travel time from Seattle to Portland"
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.
LocuSync Server
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
Related MCP server: GDAL MCP
Installation
# From PyPI (when published)
pip install locusync-server
# From source
git clone https://github.com/matbel91765/locusync-server.git
cd locusync-server
pip install -e .Quick Start
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"locusync": {
"command": "uvx",
"args": ["locusync-server"]
}
}
}Direct Usage
# Run the server
locusync-serverAvailable Tools
Geocoding
geocode
Convert an address to coordinates.
Input: "1600 Pennsylvania Avenue, Washington DC"
Output: {lat: 38.8977, lon: -77.0365, display_name: "White House..."}reverse_geocode
Convert coordinates to an address.
Input: lat=48.8566, lon=2.3522
Output: {display_name: "Paris, Île-de-France, France", ...}batch_geocode
Geocode multiple addresses at once (max 10).
Input: addresses=["Paris, France", "London, UK", "Berlin, Germany"]
Output: {results: [...], summary: {total: 3, successful: 3, failed: 0}}Elevation
get_elevation
Get altitude for a point.
Input: lat=48.8566, lon=2.3522
Output: {elevation_m: 35, location: {lat: 48.8566, lon: 2.3522}}get_elevation_profile
Get elevations along a path.
Input: coordinates=[[2.3522, 48.8566], [2.2945, 48.8584]]
Output: {profile: [...], stats: {min: 28, max: 42, gain: 14}}Geometry
distance
Calculate distance between two points.
Input: lat1=48.8566, lon1=2.3522, lat2=51.5074, lon2=-0.1278
Output: {distance: {meters: 343556, kilometers: 343.56, miles: 213.47}}buffer
Create a buffer zone around a geometry.
Input: geometry={type: "Point", coordinates: [2.3522, 48.8566]}, distance_meters=1000
Output: {geometry: {type: "Polygon", ...}, area_km2: 3.14}spatial_query
Perform spatial operations (intersection, union, contains, within, etc.).
Input: geometry1={...}, geometry2={...}, operation="intersection"
Output: {geometry: {...}}transform_crs
Transform coordinates between CRS.
Input: geometry={...}, source_crs="EPSG:4326", target_crs="EPSG:3857"
Output: {geometry: {...}}Routing
route
Calculate route between two points.
Input: start_lat=48.8566, start_lon=2.3522, end_lat=48.8606, end_lon=2.3376
Output: {distance: {...}, duration: {...}, geometry: {...}, steps: [...]}isochrone
Calculate area reachable within a time limit.
Input: lat=48.8566, lon=2.3522, time_minutes=15, profile="driving"
Output: {geometry: {type: "Polygon", ...}}Files
read_file
Read geospatial files (Shapefile, GeoJSON, GeoPackage).
Input: file_path="data/cities.shp"
Output: {type: "FeatureCollection", features: [...]}write_file
Write features to geospatial files.
Input: features={...}, file_path="output.geojson", driver="GeoJSON"
Output: {file_path: "...", feature_count: 10}Configuration
Environment variables:
Variable | Default | Description |
|
| Nominatim API URL |
|
| User agent for Nominatim |
|
| OSRM API URL |
|
| Default routing profile |
| (empty) | Pelias geocoding API URL |
| (empty) | Pelias API key (optional) |
|
| Open-Elevation API URL |
|
| Default CRS |
|
| Temporary directory |
Response Format
All tools return a consistent JSON structure:
{
"success": true,
"data": { ... },
"metadata": {
"source": "nominatim",
"confidence": 0.95
},
"error": null
}Rate Limits
Nominatim: 1 request/second (enforced automatically)
OSRM Demo: Best effort, consider self-hosting for production
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run with coverage
pytest --cov=src/locusync --cov-report=html
# Type checking
mypy src/locusync
# Linting
ruff check src/locusyncArchitecture
src/locusync/
├── server.py # MCP server entry point
├── config.py # Configuration management
├── utils.py # Common utilities
└── tools/
├── geocoding.py # geocode, reverse_geocode, batch_geocode
├── elevation.py # get_elevation, get_elevation_profile
├── routing.py # route, isochrone
├── geometry.py # buffer, distance, spatial_query, transform_crs
└── files.py # read_file, write_fileLicense
MIT License - see LICENSE for details.
Contributing
Contributions welcome! Please read the contributing guidelines before submitting PRs.
Roadmap
Pelias geocoding support (higher accuracy)
Elevation/terrain data
Batch geocoding
Valhalla routing integration (native isochrones)
PostGIS spatial queries
Real-time traffic data
ESRI FileGDB full support
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that gives LLMs access to geographic data conversion tools, enabling transformations between different formats like WKT, GeoJSON, CSV, TopoJSON, and KML, as well as performing reverse geocoding.Last updated93216MIT
- Alicense-qualityCmaintenanceAn MCP server providing geospatial analysis tools for raster and vector data, integrated with a reflection system that requires AI agents to justify their methodological decisions. It enables accurate mapping and spatial operations by ensuring reasoned choices for coordinate systems, resampling, and data transformations.Last updated72MIT
- AlicenseBqualityDmaintenanceA comprehensive MCP server providing 30 tools for geocoding, routing, and OpenStreetMap data analysis. It enables AI assistants to search for locations, calculate travel routes, and perform quality assurance checks on map data.Last updated302MIT
- AlicenseBqualityAmaintenanceAn MCP server that enables AI assistants to directly control QGIS for tasks like layer management, feature editing, and map rendering. It provides a suite of 50 tools to execute processing algorithms and manage GIS projects through natural language commands.Last updated100208GPL 2.0
Related MCP Connectors
MCP server for Mireye Earth — federal-source-cited geospatial data for any MCP-aware agent.
Geospatial MCP server for earthquake, tsunami, volcano, disaster, and FX data queries.
Autopilot MCP server for GEO analyses, reports, content, audits, memories and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matbel91765/GIS-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server