NearbySearch MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
An MCP server for nearby place searches with IP-based location detection.
Features
- **IP-based Location Detection**: Uses ipapi.co to determine your current location
- **Google Places Integration**: Searches for nearby places based on keywords and optional type filters
- **Simple Interface**: Single tool endpoint with customizable radius
Requirements
- Python 3.10+
- Google Cloud Platform API Key with Places API enabled
- Internet connection
Installation
1. Clone the repository:
2. Install dependencies:
3. Client Configuration
Usage
Running the Server
- **Development Mode** (with MCP Inspector):
- **Install in Claude Desktop**:
- **Direct Execution**:
Available Endpoints
**Tool: search_nearby**
- Searches for places near your current location
- Parameters:
- keyword (str): What to search for (e.g., "coffee shop")
- radius (int, optional): Search radius in meters (default: 1500)
- type` (str, optional): Place type (e.g., "restaurant", "cafe")
License
This project is licensed under the MIT License - see the LICENSE file for details.