Loading...

This MCP server uses IP-based location to search for nearby places via the Google Places API, allowing users to find businesses and points of interest.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
This MCP server uses IP-based location to search for nearby places via the Google Places API, allowing users to find businesses and points of interest.
This server is relatively safe for read-only operations. However, the security of the Google API key is critical. Ensure the API key is properly secured and consider implementing input validation to mitigate potential risks.
Performance depends on the Google Places API response times and network latency. Consider caching results to improve performance for frequently searched locations.
Cost is primarily determined by Google Places API usage. Monitor API usage to avoid unexpected charges.
pip install mcp{
"mcpServers": {
"nearby-search": {
"command": "uv",
"args": ["--directory", "path/to/nearby-search-mcp", "run", "main.py"],
"env": {
"GOOGLE_API_KEY": "your google api key"
}
}
}
}search_nearbySearches for places near the user's current location based on a keyword and optional radius/type.
Read-only operation that queries the Google Places API.
API Key
This server is relatively safe for read-only operations. However, the security of the Google API key is critical. Ensure the API key is properly secured and consider implementing input validation to mitigate potential risks.
The tool is limited to read-only searches, so autonomy is relatively safe. However, API key security remains a concern.
Production Tip
Implement robust API key management and monitoring to prevent abuse and ensure availability.
You need to create a project in the Google Cloud Platform and enable the Places API. Then, generate an API key from the credentials section.
Immediately revoke the compromised key and generate a new one. Monitor your API usage for any suspicious activity.
IP-based location is generally accurate to the city level. It may not be precise for rural areas or users behind VPNs.
No, a valid Google API key is required to access the Google Places API.
Rate limits vary depending on your Google Cloud Platform plan. Refer to the Google Places API documentation for details.
You can specify the radius in meters as a parameter when calling the `search_nearby` tool.
Yes, you can use the `type` parameter to filter results by place types such as 'restaurant', 'cafe', or 'hotel'.