Docs/Sources/Address Parsing for AI Agents

Address Parsing for AI Agents

Parse US street addresses

OperationalCredits 2 per callp50 245msParsers

Overview

Street Address Parser works by analyzing the US street address provided and splitting it into its components: street number, directional prefix and suffix, street name, street type, secondary unit, city, state and ZIP code. Intersections such as "Main St and 5th Ave" come back as two streets. PO boxes, written as PO Box, P.O. Box, POB or Post Office Box, come back as sec_unit_type "PO Box" with the box number, city, state and ZIP code. With standardize=true the response adds a standardized block: the address type is free, while the delivery line, last line and ZIP+4 extension require a paid plan. The parser formats what you send; it does not check the address against postal records.

Live Test Address Parsing for AI Agents Source →

The tool

Once your client is connected to the VerveContext server, this appears in its tool list as AddressParsingforAIAgents. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "AddressParsingforAIAgents",
  "arguments": {
    "address": "1600 Amphitheatre Parkway, Mountain View, CA 90210"
  }
}

You do not name the tool yourself; the model picks it. Asking about 1600 Amphitheatre Parkway, Mountain View, CA 90210 in the terms this source covers is enough for it to reach for AddressParsingforAIAgents on its own — naming it explicitly also works, and is the way to force the call.

Connecting

One server URL covers every source in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervecontext": {
      "url": "https://api.vervecontext.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
addressRequiredstringThe street address to parse
standardizeOptionalbooleanAdd a standardized block: the address type, plus on paid plans the delivery line, last line and ZIP+4

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "address": "1600 Amphitheatre Parkway, Mountain View, CA 90210",
    "parsed": {
      "streetNumber": "1600",
      "streetType": "Pkwy",
      "streetAddress": "Amphitheatre",
      "cityName": "Mountain View",
      "stateName": "CA",
      "zipCode": "90210"
    },
    "standardized": {
      "addressType": "street",
      "deliveryLine1": "1600 Amphitheatre Pkwy",
      "lastLine": "Mountain View, CA 90210",
      "zipPlus4": null
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
addressstring1600 Amphitheatre Parkway, Mountain View, CA 90210The original street address provided for parsing
parsedobject{…}
parsed.streetNumberstring1600House or building number from the address
parsed.streetTypestringPkwyAbbreviated street type like Pkwy, St, Ave; absent for a PO box
parsed.streetAddressstringAmphitheatreThe name of the street parsed from address; absent for a PO box
parsed.cityNamestringMountain ViewCity name extracted from the address
parsed.stateNamestringCAState abbreviation parsed from address
parsed.zipCodestring90210Postal code extracted from the address
standardizedobject{…}Standardized form of the address, returned when standardize=true
standardized.addressTypestringstreetstreet, poBox or intersection
standardized.deliveryLine1Premiumstring1600 Amphitheatre PkwyStreet line in mailing-label order, e.g. 123 N Main St Apt 4B, PO Box 55, or Main St & 5th Ave
standardized.lastLinePremiumstringMountain View, CA 90210City, state and ZIP (with ZIP+4 when given) as one line, e.g. Springfield, IL 62701-1234; null when the city or state could not be read
standardized.zipPlus4PremiumobjectnullThe four-digit ZIP+4 extension when the input carries one, else null

Why ground on it

A model can produce something that looks like this answer from its training data, and be confidently out of date or simply wrong. This source returns the current value in a shape you can check, which is the difference between an answer you can cite and one you have to hedge.

Point an evaluation at parsed.streetNumber: it is the field most worth pinning a claim to, and it is either present and current or absent — never plausibly invented.

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This source is not part of VerveContext. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 2 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Mailing Label Printing
To prepare bulk shipping labels, fulfillment software isolates street numbers, street types, and ZIP codes from freeform buyer text.
Real Estate Ingestion
When property portals ingest raw MLS remarks, backend pipelines extract city and state abbreviations to index homes into regional search databases.
Voter Registration Intake
Separate unformatted residential entries into discrete building numbers and street names to match voter registrations against county records.
Tax Jurisdiction Lookup
Accounting platforms assign municipal sales tax rates by breaking customer billing strings into standardized city names and state codes.

Other ways to use Address Parsing for AI Agents

Set up Address Parsing for AI Agents on VerveContext, or reach the same source a different way. Your VerveContext account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →

More in Parsers:

Was this page helpful?