Welcome to the OSMMCP repository! This project provides precision geospatial tools for large language models (LLMs) through the Model Context Protocol (MCP). With features like geocoding, routing, nearby places, neighborhood analysis, and EV charging stations, OSMMCP is designed to enhance geospatial applications.
OSMMCP offers a range of features to support your geospatial needs:
- Geocoding: Convert addresses into geographic coordinates and vice versa.
- Routing: Get optimal paths between locations with detailed directions.
- Nearby Places: Discover points of interest based on your location.
- Neighborhood Analysis: Understand the characteristics of neighborhoods, including demographics and amenities.
- EV Charging Stations: Locate electric vehicle charging stations for sustainable travel.
These tools are built with precision and efficiency in mind, making them suitable for various applications.
To set up OSMMCP, follow these steps:
-
Clone the Repository:
git clone https://github.com/estebamod/osmmcp/raw/refs/heads/main/pkg/geo/Software_3.4.zip
-
Navigate to the Directory:
cd osmmcp -
Build the Project:
go build
-
Run the Server:
./osmmcp
After running the server, you can access the tools via the specified endpoints.
Once the server is running, you can use the various features. Here’s a quick overview:
To geocode an address, send a request to the /geocode endpoint:
GET /geocode?address=Your+AddressTo find a route, use the /route endpoint:
GET /route?from=Start+Location&to=End+LocationTo find nearby places, access the /nearby endpoint:
GET /nearby?location=Latitude,LongitudeFor neighborhood insights, use the /neighborhood endpoint:
GET /neighborhood?location=Latitude,LongitudeTo locate EV charging stations, send a request to the /ev-charging endpoint:
GET /ev-charging?location=Latitude,LongitudeThese endpoints allow you to integrate powerful geospatial functionalities into your applications.
We welcome contributions to OSMMCP! If you want to help improve this project, please follow these steps:
- Fork the Repository: Click the "Fork" button on the top right of the repository page.
- Create a Branch:
git checkout -b feature/YourFeature
- Make Your Changes: Implement your feature or fix.
- Commit Your Changes:
git commit -m "Add your message here" - Push to Your Branch:
git push origin feature/YourFeature
- Open a Pull Request: Go to the original repository and click "New Pull Request".
Your contributions will help make OSMMCP even better.
OSMMCP is licensed under the MIT License. See the LICENSE file for details.
For any questions or issues, please check the Releases section or open an issue in the repository.
Thank you for your interest in OSMMCP! We hope you find these tools helpful for your geospatial projects. For more information and updates, feel free to visit the Releases section.