---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/address-geocoding/use-cases/geocode-addresses-to-coordinates/claude
---
# How to Geocode Addresses with Claude

Claude 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.

## Setup

claude mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Geocode this address using address-geocoding" and provide the address
3. Claude returns the latitude, longitude, and standardized address components
4. Use the coordinates in your mapping or spatial analysis workflow

## Example Prompt

```
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
