An MCP server for nearby place searches with IP-based location detection.
An MCP server for nearby place searches with IP-based location detection.
git clone https://github.com/kukapay/nearby-search-mcp.git
cd nearby-search-mcp
# Using uv (recommended)
uv add "mcp[cli]" httpx python-dotenv
# Or using pip
pip install mcp httpx python-dotenv
{
"mcpServers": {
"nearby-search": {
"command": "uv",
"args": ["--directory", "path/to/nearby-search-mcp", "run", "main.py"],
"env": {
"GOOGLE_API_KEY": "your google api key"
}
}
}
}
mcp dev main.py
mcp install main.py --name "NearbySearch"
python main.py
Tool: search_nearby
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")This project is licensed under the MIT License - see the LICENSE file for details.