# Google Address Validation — how to use (mcp.ai)

Connect your Google Address Validation account and use 2 tools for developer tools straight from your AI agent. Connect with your own API key. The Address Validation API allows developers to verify the accuracy of addresses by validating and standardizing them, and determining their geocode.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_google_address_validation?ms=1787293440000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `google_address_validation_provide_validation_feedback`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/google_address_validation`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/google_address_validation/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/google_address_validation/provide/validation/feedback` — Tool to provide feedback on an address validation attempt. Use after completing an address validation sequence.
  - body: { conclusion: string, responseId: string }
- `POST https://api.mcp.ai/api/google_address_validation/validate/address` — Tool to validate and standardize addresses. Use when you need detailed parsing, geocode, and deliverability verdict of an address.
  - body: { address: object, sessionToken?: string, enableUspsCass?: boolean, languageOptions?: object, previousResponseId?: string }

## Example prompts
- "What can I do in Google Address Validation?"
- "Show me a summary of my Google Address Validation account"

## More
- Page: https://mcp.ai/google_address_validation
- Agent spec (llms.txt): https://mcp.ai/google_address_validation/llms.txt
- Postman collection: https://mcp.ai/google_address_validation/postman.json
