MCP server for sthan.io — US address verification, parsing, autocomplete, geocoding, and IP geolocation
Strong tool naming (verb_noun pattern: sthan_verify_address, sthan_parse_address, etc.) and comprehensive descriptions (150-250 chars each, well above the 34-char p10 baseline). All 8 tools have clear, actionable descriptions explaining WHAT they do, WHEN to use them, and prerequisites (API key requirement). Input schemas present with type definitions and descriptions. However, output schemas are NOT documented in the tool definitions, LLMs cannot see what fields to expect from responses. Parameter descriptions are good but lack explicit format/constraint details (e.g., 'Partial address text (3+ characters recommended)' is informal; should be 'minimum 3 characters'). No enum constraints visible for display_type parameters despite having discrete valid values (0-3). Error handling descriptions mention failure modes but lack recovery guidance (e.g., 'On failure it returns an error message', what should the LLM do next?). All tools are read-only with clear risk annotations, which is excellent for security.
Return a list of complete US street-address suggestions for partial input, intended for type-ahead / autocomplete fields. Use while a user is typing an address and you want to offer full matches. For city-only suggestions use sthan_autocomplete_city; for ZIP-only suggestions use sthan_autocomplete_zipcode; to validate a finished address use sthan_verify_address. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message.
Return a list of US city suggestions (with state) for partial input. Use for city-field type-ahead, or to resolve a partial city name to its full name and state. For full street-address suggestions use sthan_autocomplete_address; for ZIP codes use sthan_autocomplete_zipcode. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message.
Return a list of US ZIP code suggestions for partial input, each with state (and optionally ZIP+4). Use for ZIP-field type-ahead or to expand a partial ZIP. For city suggestions use sthan_autocomplete_city; for full addresses use sthan_autocomplete_address. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message.
Output schemas not documented. Tool descriptions mention what is returned (e.g., 'Returns the standardized address, ZIP+4, county, a deliverability status, and the dpvConfirmation code') but LLMs cannot see the actual response structure, field names, or types. This forces LLMs to guess at field names for downstream processing.
display_type parameters (sthan_autocomplete_city, sthan_autocomplete_zipcode) have discrete valid values (0-3) but are defined as plain integers without enum constraints. Should declare as enum with descriptions for each option.
Error handling descriptions are generic ('On failure it returns an error message') and lack recovery guidance. Should specify error categories (retryable vs user-fixable) and suggest next steps (e.g., 'If rate limit exceeded, retry after 60 seconds').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | 2026-07-28+ | v2 |
Convert a US address to latitude/longitude coordinates. Returns the coordinates, a formatted address, an accuracy type (rooftop, interpolated, centroid, or approximate), and a confidence score. Use when you need map coordinates for an address. To go the other way (coordinates to address) use sthan_reverse_geocode; to check deliverability rather than location use sthan_verify_address. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message, for example an address that could not be located.
Look up the geographic location of an IP address (IPv4 or IPv6). Returns the country, state/region, city, latitude, longitude, timezone, ISP, and other details. Use to find where a user or server is located. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message.
Break a freeform US address string into structured components: address number, street name, pre/post directionals, street type, unit type and number, city, state, ZIP, and ZIP+4. Use when you have messy or unstructured US address text and need the individual fields. This parses and standardizes only; it does not confirm the address is deliverable (use sthan_verify_address) and does not return coordinates (use sthan_geocode). Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message, for example an invalid API key or an exceeded rate limit.
Convert latitude/longitude coordinates to the nearest US street address. Returns the address, the distance in meters from the input point, an accuracy type, and a confidence score. Use when you have coordinates and need the closest address. US coverage only. To go the other way (address to coordinates) use sthan_geocode. Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message.
Verify whether a US street address is real and deliverable. Returns the standardized address, ZIP+4, county, a deliverability status, and the dpvConfirmation code (Y = deliverable; N = not found or undeliverable; S = address found but the apartment/unit is missing or unconfirmed; blank = unknown). Use to confirm a US mailing address, clean address data, or check an address before shipping. Do not use for non-US addresses, to get map coordinates (use sthan_geocode), or to only split an address into fields without checking it (use sthan_parse_address). Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message, for example an invalid API key, an exceeded rate limit, or an address that could not be found.
Parameter constraints are informal. 'Partial address text (3+ characters recommended)' should be a formal constraint: minimum: 3, description: 'Partial address text (minimum 3 characters for best results)'. Latitude/longitude bounds are correct (min/max) but other numeric params lack explicit ranges.
No pagination support documented. Tools like sthan_autocomplete_address return 'a list' but do not specify max results, offset/limit parameters, or total count. Large result sets could exhaust context windows.