Nearby Places
About
Integrates with Google Places API to provide location-based place discovery using IP-based detection, enabling users to find nearby businesses, restaurants, or services without manually entering coordinates.
Details
- Author
- kukapay
- Repository
- kukapay/nearby-search-mcp
- GitHub stars
- 17
- Downloads
- 381
- License
- MIT License
- Categories
- Design, Developer Tools, Search, API, Infrastructure, Frontend
- Tags
- #integration
Jump to
- 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Nearby PlacesCommand (node, npx, python, etc.)uvArguments-
Argument 1
--directory -
Argument 2
path/to/nearby-search-mcp -
Argument 3
run -
Argument 4
main.py
Environment-
GOOGLE_API_KEY
your google api key
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Development Mode (with MCP Inspector):
mcp dev main.py
- Install in Claude Desktop:
mcp install main.py --name "NearbySearch"
- Direct Execution:
python main.py
search_nearby
Searches for places near your current location. Parameters: keyword (string): What to search for (e.g., 'coffee shop'), radius (optional integer): Search radius in meters (default: 1500), type (optional string): Place type (e.g., 'restaurant', 'cafe')
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"nearby places": {
"env": {
"GOOGLE_API_KEY": "your google api key"
},
"args": [
"--directory",
"path/to/nearby-search-mcp",
"run",
"main.py"
],
"command": "uv"
}
}
}
Linux
{
"env": {
"GOOGLE_API_KEY": "your google api key"
},
"args": [
"--directory",
"path/to/nearby-search-mcp",
"run",
"main.py"
],
"command": "uv"
}
Macos
{
"env": {
"GOOGLE_API_KEY": "your google api key"
},
"args": [
"--directory",
"path/to/nearby-search-mcp",
"run",
"main.py"
],
"command": "uv"
}
Windows
{
"env": {
"GOOGLE_API_KEY": "your google api key"
},
"args": [
"--directory",
"path/to/nearby-search-mcp",
"run",
"main.py"
],
"command": "uv"
}
NearbySearch MCP Server
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:
git clone https://github.com/kukapay/nearby-search-mcp.git
cd nearby-search-mcp
2. Install dependencies:
# Using uv (recommended)
uv add "mcp[cli]" httpx python-dotenv
Or using pip
pip install mcp httpx python-dotenv
3. Client Configuration
{
"mcpServers": {
"nearby-search": {
"command": "uv",
"args": ["--directory", "path/to/nearby-search-mcp", "run", "main.py"],
"env": {
"GOOGLE_API_KEY": "your google api key"
}
}
}
}
Usage
Running the Server
- Development Mode (with MCP Inspector):
mcp dev main.py
- Install in Claude Desktop:
mcp install main.py --name "NearbySearch"
- Direct Execution:
python main.py
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.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




