How to Geocode Addresses with Claude
Geocode addresses to coordinates with Claude and ToolRouter. Convert any address to lat/lng instantly.
ToolAddress GeocodingClaude handles geocoding as part of a broader location research conversation. Convert an address to coordinates, then verify the match, explore nearby landmarks, and batch-process additional addresses in the same session. The iterative approach catches geocoding errors that automated batch processing would miss.
Connect ToolRouter to Claude
1Open connector settings Open Settings
2Add a custom connector with these details
Name
ToolRouterURL
https://api.toolrouter.com/mcp3Let Claude set you up Open Claude
Steps
Once connected (see setup above), use the Address Geocoding tool:
- Ask Claude: "Geocode this address using address-geocoding" and provide the address
- Claude returns the latitude, longitude, and standardized address components
- Use the coordinates in your mapping or spatial analysis workflow
Example Prompt
Try this with Claude using the Address Geocoding tool
Geocode "1600 Amphitheatre Parkway, Mountain View, CA" and give me the latitude and longitude.
Tips
- Include city and country in the address for the most accurate results
- Ask Claude to geocode a list of addresses in one session for batch processing