Geocoding MCP server with GeoPY!
https://github.com/webcoderz/MCP-GeoBuilding location-aware AI applications shouldn't require you to become a geocoding expert. MCP-Geo eliminates the tedious integration work by bringing comprehensive geocoding capabilities directly into your Model Context Protocol workflow.
You're building an AI application that needs to work with addresses, coordinates, or location data. Suddenly you're deep in geocoding provider documentation, handling rate limits, parsing different response formats, and writing error handling for flaky API calls. What started as "I just need to convert this address to coordinates" becomes hours of integration work.
MCP-Geo solves this by providing production-ready geocoding tools that your AI can use directly—no API wrangling required.
Single Location Operations
geocode_location: Address → coordinates + formatted addressreverse_geocode: Coordinates → nearest addressgeocode_with_details: Enhanced geocoding with bounding boxes and detailed address componentsBatch Operations
geocode_multiple_locations: Process address lists efficiently with built-in rate limitingreverse_geocode_multiple_locations: Bulk coordinate-to-address conversionDistance Calculations
distance_between_addresses: Calculate distances using plain addressesdistance_between_coords: Direct coordinate-based distance calculationsEach tool handles errors gracefully, respects rate limits, and returns consistent data structures regardless of the underlying geocoding provider.
Location Intelligence for Customer Data Your AI can instantly geocode customer addresses for territory analysis, delivery routing, or demographic insights without you writing geocoding logic.
Content Localization Building location-aware content? Your AI can reverse-geocode coordinates from user data to understand regional context and tailor responses accordingly.
Geographic Data Analysis Processing spreadsheets with addresses? The batch operations let your AI geocode entire datasets while respecting API quotas automatically.
Multi-Location Route Planning Calculate distances between multiple locations for logistics optimization—your AI handles the complex routing logic while MCP-Geo provides the distance calculations.
Switch between Nominatim (free), ArcGIS, or Bing Maps by changing environment variables. No code modifications needed when your requirements evolve from prototype to production scale.
# Start with free Nominatim
GEOCODER_PROVIDER=nominatim
# Scale to commercial when ready
GEOCODER_PROVIDER=arcgis
ARC_USERNAME=your_username
ARC_PASSWORD=your_password
For Claude Desktop:
fastmcp install geo.py --name "MCP Geo"
For Other MCP Environments: Add the server configuration and you're ready—the built-in rate limiting and error handling mean it works reliably in production from day one.
Your AI applications can now handle location data as naturally as they process text, without the usual geocoding complexity dragging down your development velocity.