estebamod/osmmcp
If you are the rightful owner of osmmcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
OSMMCP is a server that provides precision geospatial tools for large language models through the Model Context Protocol.
🌍 OSMMCP: OpenStreetMap MCP Server
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.
Table of Contents
Features
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.
Installation
To set up OSMMCP, follow these steps:
-
Clone the Repository:
git clone https://github.com/estebamod/osmmcp.git
-
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.
Usage
Once the server is running, you can use the various features. Here’s a quick overview:
Geocoding
To geocode an address, send a request to the /geocode
endpoint:
GET /geocode?address=Your+Address
Routing
To find a route, use the /route
endpoint:
GET /route?from=Start+Location&to=End+Location
Nearby Places
To find nearby places, access the /nearby
endpoint:
GET /nearby?location=Latitude,Longitude
Neighborhood Analysis
For neighborhood insights, use the /neighborhood
endpoint:
GET /neighborhood?location=Latitude,Longitude
EV Charging Stations
To locate EV charging stations, send a request to the /ev-charging
endpoint:
GET /ev-charging?location=Latitude,Longitude
These endpoints allow you to integrate powerful geospatial functionalities into your applications.
Contributing
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.
License
OSMMCP is licensed under the MIT License. See the file for details.
Support
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.