Smarty MCP by usefulapi
v1.2.1Verify 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.
| Parameter | Type | Description |
|---|---|---|
city | string | The city name (for example, 'Mountain View'). |
freeform | string | The whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA'). |
lastline | string | City, state and ZIP Code as one string, for example 'Mountain View CA 94043'. Use it with street instead of city and state. |
match_strategy | string | strict: only deliverable USPS addresses. invalid: also return detail for failed addresses. enhanced (default): the largest dataset, including non-postal addresses such as PMBs. |
max_candidates | integer | How many candidate matches to return, 1 to 10 (default 1). |
secondary | string | The unit: an apartment, suite or floor (for example, 'Apt 4B'). |
state | string | The two-letter state abbreviation (for example, 'CA'). |
street | string | The street line, including the house number (for example, '1600 Amphitheatre Pkwy'). |
zipcode | string | The 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.
| Parameter | Type | Description |
|---|---|---|
city | string | The city name (for example, 'Mountain View'). |
state | string | The two-letter state abbreviation (for example, 'CA'). |
zipcode | string | The 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.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude as a decimal, from -90 to 90 (for example, 40.2335). |
longitude * | number | Longitude 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.
| Parameter | Type | Description |
|---|---|---|
country * | string | The country name or its ISO code (ISO-2, ISO-3 or ISO-N), for example 'Brazil' or 'BR'. Required. |
address1 | string | The first address line (street and number). |
address2 | string | The second address line, if any. |
administrative_area | string | The state, province or region, as a name or abbreviation. |
freeform | string | The whole address in one string, without the country. Use it instead of address1 to address2. |
locality | string | The city or town. |
max_results | integer | How many suggestions to return, 1 to 10 (default 1). |
organization | string | The recipient, firm or company at this address. |
postal_code | string | The 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.
| Parameter | Type | Description |
|---|---|---|
city | string | The city name (for example, 'Mountain View'). |
features | string | Comma-separated dataset names to include. Some need a special plan; the server applies its own default when empty. |
freeform | string | The whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA'). |
state | string | The two-letter state abbreviation (for example, 'CA'). |
street | string | The street line, including the house number (for example, '1600 Amphitheatre Pkwy'). |
zipcode | string | The 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.
| Parameter | Type | Description |
|---|---|---|
city | string | The city name (for example, 'Mountain View'). |
features | string | Comma-separated dataset names to include. Some need a special plan; the server applies its own default when empty. |
freeform | string | The whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA'). |
state | string | The two-letter state abbreviation (for example, 'CA'). |
street | string | The street line, including the house number (for example, '1600 Amphitheatre Pkwy'). |
zipcode | string | The 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.
| Parameter | Type | Description |
|---|---|---|
city | string | The city name (for example, 'Mountain View'). |
features | string | Comma-separated dataset names to include. Some need a special plan; the server applies its own default when empty. |
freeform | string | The whole address in one string, without the country (for example, '1600 Amphitheatre Pkwy, Mountain View, CA'). |
state | string | The two-letter state abbreviation (for example, 'CA'). |
street | string | The street line, including the house number (for example, '1600 Amphitheatre Pkwy'). |
zipcode | string | The 5-digit ZIP Code, or ZIP+4 (for example, '94043'). |