distance-calculator
3.5
The Distance Calculator MCP Server is a versatile tool designed to compute the distance between geographical points using their coordinates.
The Distance Calculator MCP Server is a versatile tool designed to compute the distance between geographical points using their coordinates. This server can handle various scenarios, including calculating the distance between one-to-one points or one-to-many points, making it suitable for a wide range of applications. It is particularly useful for planning trips, analyzing logistics, or developing location-based applications. The server provides accurate distance measurements with customizable units and precision, ensuring it meets diverse user needs.
Features
- Simple Distance Calculation: Compute the distance between two specific points. This tool is perfect for straightforward use cases where only two coordinates are involved.
- One to Many Distance Calculation: Determine the distances from a single starting point to up to ten different endpoints. This is particularly useful for scenarios where you need to evaluate multiple routes or destinations from a single location.
- One to One Distance Calculation: Similar to the simple calculation but allows for a more detailed setup, including additional parameters.
MCP Tools
- Simple: Calculates the distance between two specified points.
- One to Many: Calculates the distance from one starting point to multiple endpoints (up to 10).
- One to One: Calculates the distance between two points with more detailed configuration options.
Usage with Different Platforms
mcp
{'Simple': {'script': "python\n# Example usage of Simple function\nresult = Simple(lat_1=34.0522, long_1=-118.2437, lat_2=36.1699, long_2=-115.1398, unit='miles', decimal_places=2)\nprint(result)\n"}, 'One to Many': {'script': "python\n# Example usage of One to Many function\nresult = One_to_Many(start_point=(34.0522, -118.2437), end_point_1=(36.1699, -115.1398), end_point_2=(40.7128, -74.0060), unit='miles', decimal_places=2)\nprint(result)\n"}, 'One to One': {'script': "python\n# Example usage of One to One function\nresult = One_to_One(start_point=(34.0522, -118.2437), end_point=(36.1699, -115.1398), unit='miles', decimal_places=2)\nprint(result)\n"}}