Google Places and Routes CLI for place search, autocomplete, details, photos, route search, and directions with JSON output.
$brew install steipete/tap/goplaces
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
goplaces is a third-party CLI and Go client for querying the Google Places API (New) and related Routes API endpoints from the shell. It focuses on read-heavy location workflows such as place discovery, candidate resolution, place details, photos, and trip-planning data.
What It Enables
- Search for places by text, nearby coordinates, or autocomplete input, then filter by type, rating, price level, open-now status, and locale.
- Resolve free-form locations, fetch place details with reviews or photos, and turn photo resource names into direct media URLs.
- Get directions between addresses, place IDs, or coordinates, and search for places along a route to plan stops or compare travel modes.
Agent Fit
- After API key setup, the commands stay non-interactive, and
--jsonworks across search, autocomplete, nearby, route, directions, details, photo, and resolve output. - Structured results plus explicit stderr pagination tokens make it easy to chain inspect-then-follow-up steps in shell scripts or agent loops.
- Useful when an agent needs Google place and route data from the shell; the main limits are API credential setup, billing, and the fact that the tool is read-only rather than a mutation surface.
Caveats
- Requires a Google Cloud API key and enabled Places API (New);
routeanddirectionsalso need the Routes API. - Google bills these APIs per usage, so unattended workflows should use quotas and budget alerts.