mcp-server

v0.1.11
io.github.sthan-io/mcp-server Checked 2 days ago Published 1 month ago

US address verification, parsing, autocomplete, geocoding, and IP geolocation APIs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

sthan_verify_address Verify US Address

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…

ParameterTypeDescription
address *stringFull or partial US address in any format. Examples: '123 Main St, New York, NY 10001', '123 main st nyc', '1600 Pennsylvania Ave Washington DC'

sthan_parse_address Parse US Address

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 retu…

ParameterTypeDescription
address *stringRaw address text to parse. Freeform input, abbreviations OK. Example: 'apt 2b 500 broadway new york ny'

sthan_autocomplete_address Autocomplete US Address

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.

ParameterTypeDescription
text *stringPartial address text (3+ characters recommended). Example: '123 Main'

sthan_autocomplete_city Autocomplete US City

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.

ParameterTypeDescription
text *stringPartial city name. Example: 'San Fr'
display_typeinteger0 = City, StateCode (e.g. 'San Francisco, CA'). 1 = City, State (e.g. 'San Francisco, California')

sthan_autocomplete_zipcode Autocomplete US ZIP Code

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.

ParameterTypeDescription
text *stringPartial ZIP code. Example: '9021'
display_typeinteger0 = Zip,StateCode. 1 = Zip,State. 2 = Zip-Zip4,StateCode. 3 = Zip-Zip4,State

sthan_geocode Geocode US Address

Convert a US address to latitude/longitude coordinates. Returns the coordinates, a formatted address with county, ZIP+4 and time zone (IANA id, current UTC offset, daylight saving, local time), an accuracy type (rooftop, parcel, address_point, 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 tow…

ParameterTypeDescription
address *stringUS address to geocode (freeform text). Example: '1600 Pennsylvania Ave, Washington DC'

sthan_reverse_geocode Reverse Geocode Coordinates

Convert latitude/longitude coordinates to the nearest US street address. Returns the address with county, ZIP+4 and time zone, the distance in meters from the input point, an accuracy type, and a confidence score. Set limit (2 to 10) to also get other addresses near the point in nearby, one per building, nearest first. 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…

ParameterTypeDescription
latitude *numberLatitude coordinate
longitude *numberLongitude coordinate
limitintegerAddresses to return, 1 to 10 (default 1). Above 1, other nearby addresses come back in nearby

sthan_ip_geolocation IP Geolocation

Look up the approximate geographic location of an IPv4 or IPv6 address and the network behind it. Returns country, region, city, coordinates, postal code, timezone with the current local time, flag, currency and calling code, the network (asn, asName, isp, organization), isMobile/isProxy/isHosting flags, reverseDns and a 0-1 confidence score. precision says whether the answer reaches a city, a region or only a country; confidence is absent when the address is new (ask again in a few seconds) or when sources disagreed; an isHosting or isProxy address does not locate a person. Use to estimate wh…

ParameterTypeDescription
ip *stringIPv4 (e.g. '8.8.8.8') or IPv6 (e.g. '2001:4860:4860::8888') address