MCP-Geo
19
MCP-Geo is a geocoding server that leverages the GeoPY library for geocoding and reverse geocoding functionalities. It is designed to interface with Model Context Protocol servers and offers multiple tools for handling geocoding tasks with a focus on error handling and rate limiting.
MCP-Geo
Geocoding MCP server with GeoPY!
📋 System Requirements
- Python 3.6+
📦 Dependencies
- fastmcp: Framework for building Model Context Protocol servers
- geoPy: Python library for accessing and geocoding/reverse geocoding locations.
🛠️ MCP Tools
- geocode_location: Returns latitude, longitude, and address for a given location.
- reverse_geocode: Finds address based on latitude and longitude.
- geocode_with_details: Provides additional data such as bounding boxes.
- geocode_multiple_locations: Geocode multiple addresses with rate-limiting.
- reverse_geocode_multiple_locations: Reverse geocode for multiple coordinate pairs.
- distance_between_addresses: Calculates distance between two addresses.
- distance_between_coords: Calculates distance between two coordinate pairs.
🚀 Getting Started
Clone the repository and navigate to the project folder.
📦 Installation Options
Install on Claude Desktop or elsewhere using provided instructions.
🔒 Safety Features
- Rate Limiting: Prevents excessive requests with a 1-second delay.
- Error Handling: Handles exceptions safely, returning None to avoid crashes.
📚 Development Documentation Instructions for extending or modifying the server and adjusting environment variables.