Smarty MCP by usefulapi

v1.2.1
io.usefulapi/smarty Checked 1 day ago Published 11 hours ago

Verify US and international addresses, look up ZIP Codes and read property data in Smarty.

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

smarty_verify_us_address Verify a US address

Check one US address against USPS reference data and return the standardized form, delivery and ZIP+4, and the match and DPV codes. Each call uses one Smarty lookup. Use smarty_reverse_geocode_us for coordinates and smarty_us_address_property for property data.

ParameterTypeDescription
citystringThe city name (for example, 'Mountain View').
freeformstringThe whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA').
lastlinestringCity, state and ZIP Code as one string, for example 'Mountain View CA 94043'. Use it with street instead of city and state.
match_strategystringstrict: only deliverable USPS addresses. invalid: also return detail for failed addresses. enhanced (default): the largest dataset, including non-postal addresses such as PMBs.
max_candidatesintegerHow many candidate matches to return, 1 to 10 (default 1).
secondarystringThe unit: an apartment, suite or floor (for example, 'Apt 4B').
statestringThe two-letter state abbreviation (for example, 'CA').
streetstringThe street line, including the house number (for example, '1600 Amphitheatre Pkwy').
zipcodestringThe 5-digit ZIP Code, or ZIP+4 (for example, '94043').

smarty_lookup_us_zipcode Look up US ZIP Codes

Find the valid city, state and ZIP Code combinations for a city and state, or confirm a ZIP Code. Send city with state, or zipcode alone. Each call uses one Smarty lookup.

ParameterTypeDescription
citystringThe city name (for example, 'Mountain View').
statestringThe two-letter state abbreviation (for example, 'CA').
zipcodestringThe 5-digit ZIP Code, or ZIP+4 (for example, '94043').

smarty_reverse_geocode_us Find US addresses near coordinates

Find the US street addresses near a latitude and longitude. Returns an empty result when no address is near the point. Each call uses one Smarty lookup.

ParameterTypeDescription
latitude *numberLatitude as a decimal, from -90 to 90 (for example, 40.2335).
longitude *numberLongitude as a decimal, from -180 to 180. US longitudes are negative (for example, -111.6586).

smarty_verify_international_address Verify an international address

Check one address outside the US against Smarty's international reference data and return the standardized form and the match status. Each call uses one Smarty lookup. US addresses belong in smarty_verify_us_address.

ParameterTypeDescription
country *stringThe country name or its ISO code (ISO-2, ISO-3 or ISO-N), for example 'Brazil' or 'BR'. Required.
address1stringThe first address line (street and number).
address2stringThe second address line, if any.
administrative_areastringThe state, province or region, as a name or abbreviation.
freeformstringThe whole address in one string, without the country. Use it instead of address1 to address2.
localitystringThe city or town.
max_resultsintegerHow many suggestions to return, 1 to 10 (default 1).
organizationstringThe recipient, firm or company at this address.
postal_codestringThe postal code.

smarty_us_address_property US property and financial data

Return property and financial data for one US address from Smarty's enrichment data (owner and assessment fields, when the plan includes them). Each call uses one Smarty lookup.

ParameterTypeDescription
citystringThe city name (for example, 'Mountain View').
featuresstringComma-separated dataset names to include. Some need a special plan; the server applies its own default when empty.
freeformstringThe whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA').
statestringThe two-letter state abbreviation (for example, 'CA').
streetstringThe street line, including the house number (for example, '1600 Amphitheatre Pkwy').
zipcodestringThe 5-digit ZIP Code, or ZIP+4 (for example, '94043').

smarty_us_address_geo_reference US census geography for an address

Return the census geographic reference of one US address: tract, block, and FIPS codes. Each call uses one Smarty lookup.

ParameterTypeDescription
citystringThe city name (for example, 'Mountain View').
featuresstringComma-separated dataset names to include. Some need a special plan; the server applies its own default when empty.
freeformstringThe whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA').
statestringThe two-letter state abbreviation (for example, 'CA').
streetstringThe street line, including the house number (for example, '1600 Amphitheatre Pkwy').
zipcodestringThe 5-digit ZIP Code, or ZIP+4 (for example, '94043').

smarty_us_address_secondary_units List units at a US address

List the secondary units (apartments, suites, floors) of one US building address, for example to identify multi-unit buildings. Each call uses one Smarty lookup.

ParameterTypeDescription
citystringThe city name (for example, 'Mountain View').
featuresstringComma-separated dataset names to include. Some need a special plan; the server applies its own default when empty.
freeformstringThe whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA').
statestringThe two-letter state abbreviation (for example, 'CA').
streetstringThe street line, including the house number (for example, '1600 Amphitheatre Pkwy').
zipcodestringThe 5-digit ZIP Code, or ZIP+4 (for example, '94043').