Lob MCP by usefulapi
v1.42.1Verify US & international addresses and send physical mail (postcards, letters, checks) via Lob.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lob_verify_us_address Verify a US address
Validate & standardize a US address, returning deliverability, corrected components, and a confidence score. Pass either a single freeform `address` string OR structured `primary_line`/`city`/`state`/`zip_code`. Non-mutating (no mail sent). Lob API: POST /v1/us_verifications.
| Parameter | Type | Description |
|---|---|---|
address | string | Freeform single-line address (alternative to the structured fields). |
city | string | |
primary_line | string | Primary delivery line, e.g. '210 King Street'. |
secondary_line | string | Secondary line, e.g. 'Suite 6100'. |
state | string | 2-letter state code, e.g. 'CA'. |
zip_code | string | 5-digit or ZIP+4. |
lob_verify_intl_address Verify an international address
Validate & standardize a non-US address. `country` (2-letter ISO code) is required. Non-mutating (no mail sent). Lob API: POST /v1/intl_verifications.
| Parameter | Type | Description |
|---|---|---|
country * | string | 2-letter ISO country code, e.g. 'GB', 'DE', 'CA'. |
primary_line * | string | Primary delivery line. |
city | string | |
postal_code | string | |
secondary_line | string | |
state | string | State / province / region. |
lob_us_zip_lookup Look up a US ZIP code
Return the cities and state associated with a US ZIP code. Non-mutating. Lob API: POST /v1/us_zip_lookups.
| Parameter | Type | Description |
|---|---|---|
zip_code * | string | A 5-digit US ZIP code, e.g. '94107'. |
lob_us_autocomplete Autocomplete a US address
Suggest complete US addresses from a partial primary line — useful for address entry. Non-mutating. Lob API: POST /v1/us_autocompletions.
| Parameter | Type | Description |
|---|---|---|
address_prefix * | string | Partial primary line, e.g. '185 Berr'. |
city | string | Optional city to narrow suggestions. |
state | string | Optional 2-letter state to narrow suggestions. |
zip_code | string | Optional ZIP to narrow suggestions. |
lob_list_postcards List postcards
List sent/scheduled postcards, newest first. Lob API: GET /v1/postcards.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor for the next page (from a previous response's next_url). |
before | string | Cursor for the previous page (from a previous response's previous_url). |
limit | integer | Max results per page (1–100). Default 10. |
lob_get_postcard Get a postcard
Retrieve a single postcard by id, including status, PDF url, and expected delivery. Lob API: GET /v1/postcards/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Postcard id (psc_…). |
lob_list_letters List letters
List sent/scheduled letters, newest first. Lob API: GET /v1/letters.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor for the next page (from a previous response's next_url). |
before | string | Cursor for the previous page (from a previous response's previous_url). |
limit | integer | Max results per page (1–100). Default 10. |
lob_get_letter Get a letter
Retrieve a single letter by id, including status, PDF url, and tracking. Lob API: GET /v1/letters/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Letter id (ltr_…). |
lob_list_checks List checks
List sent/scheduled checks, newest first. Lob API: GET /v1/checks.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor for the next page (from a previous response's next_url). |
before | string | Cursor for the previous page (from a previous response's previous_url). |
limit | integer | Max results per page (1–100). Default 10. |
lob_get_check Get a check
Retrieve a single check by id, including amount, status, and check number. Lob API: GET /v1/checks/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Check id (chk_…). |
lob_list_self_mailers List self-mailers
List sent/scheduled self-mailers, newest first. Lob API: GET /v1/self_mailers.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor for the next page (from a previous response's next_url). |
before | string | Cursor for the previous page (from a previous response's previous_url). |
limit | integer | Max results per page (1–100). Default 10. |
lob_list_addresses List saved addresses
List saved address records, newest first. Lob API: GET /v1/addresses.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor for the next page (from a previous response's next_url). |
before | string | Cursor for the previous page (from a previous response's previous_url). |
limit | integer | Max results per page (1–100). Default 10. |
lob_get_address Get a saved address
Retrieve a single saved address record by id. Lob API: GET /v1/addresses/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Address id (adr_…). |
lob_list_templates List templates
List saved HTML templates usable as postcard/letter artwork. Lob API: GET /v1/templates.
| Parameter | Type | Description |
|---|---|---|
after | string | Cursor for the next page (from a previous response's next_url). |
before | string | Cursor for the previous page (from a previous response's previous_url). |
limit | integer | Max results per page (1–100). Default 10. |
lob_create_address Save an address record
Create a reusable saved address record (does NOT send any mail). Returns an address id (adr_…) usable as `to`/`from` in mail tools. Lob API: POST /v1/addresses.
| Parameter | Type | Description |
|---|---|---|
address_line1 * | string | Primary street address. |
address_city | string | |
address_country | string | 2-letter ISO country code. Defaults to US. |
address_line2 | string | Unit/suite/apt. |
address_state | string | 2-letter state/province code. |
address_zip | string | ZIP / postal code. |
company | string | |
description | string | Internal label for this address. |
name | string | Recipient name (required unless `company` is set). |
lob_create_postcard Send a postcard (COSTS MONEY)
⚠️ SENDS A REAL POSTCARD and charges your Lob account (use a test_ key to avoid real mail/charges). `to` and `from` accept an existing address id (adr_…) or an inline address object. `front`/`back` accept an HTML string, a hosted asset URL, or a template id (tmpl_…). Cancelable only before `send_date`. Lob API: POST /v1/postcards.
| Parameter | Type | Description |
|---|---|---|
back * | string | Back artwork: HTML string, asset URL, or template id (tmpl_…). |
front * | string | Front artwork: HTML string, asset URL, or template id (tmpl_…). |
to * | Either an existing address id (adr_…) or an inline address object. | |
description | string | Internal label. |
from | Return address (id or inline object). Optional. | |
mail_type | string | USPS mail class. |
merge_variables | object | Key/value data merged into HTML templates. |
send_date | string | ISO-8601 date/time to schedule the send (future). Cancelable until then. |
size | string | Postcard size. Default 4x6. |
use_type | string | Lob mail use type: operational (bills, notices, legal letters) or marketing. Lob requires it unless the account has a default use type (Account Settings). |
lob_create_letter Send a letter (COSTS MONEY)
⚠️ SENDS A REAL LETTER and charges your Lob account (use a test_ key to avoid real mail/charges). `to`/`from` accept an address id (adr_…) or inline object. `file` accepts an HTML string, a hosted PDF/URL, or a template id (tmpl_…). `color` is required. Cancelable only before `send_date`. Tracked mail: `extra_service` = certified (U.S. addresses: tracking + proof of delivery), certified_return_receipt (certified + the recipient's electronic signature) or registered (international addresses only); extra cost, first class only, not for us_legal size. The tracking number is on the letter…
| Parameter | Type | Description |
|---|---|---|
color * | boolean | true = color printing, false = black & white. |
file * | string | Letter body: HTML string, asset/PDF URL, or template id (tmpl_…). |
from * | Return address (id or inline object). Required for letters. | |
to * | Either an existing address id (adr_…) or an inline address object. | |
address_placement | string | Where the recipient address is placed. |
description | string | Internal label. |
double_sided | boolean | Print on both sides. Default true. |
extra_service | string | Tracked mail (extra cost): certified or certified_return_receipt for U.S. addresses, registered for international ones. Omit for ordinary mail. |
mail_type | string | USPS mail class. Default usps_first_class. extra_service needs first class. |
merge_variables | object | Key/value data merged into HTML templates. |
send_date | string | ISO-8601 date/time to schedule the send (future). Cancelable until then. |
use_type | string | Lob mail use type: operational (bills, notices, legal letters) or marketing. Lob requires it unless the account has a default use type (Account Settings). |
lob_create_check Send a check (COSTS MONEY)
WRITE: ⚠️ SENDS A REAL CHECK and pays from your Lob bank account (use a test_ key to avoid real money). Ask the user before calling this tool, and set `confirm` to true only after they approve the amount, bank account and recipient. `bank_account` is a verified bank account id (bank_…) from the Lob dashboard; this tool does not create bank accounts. `to` and `from` accept an address id (adr_…) or an inline object with a name or company. Pass the same `idempotency_key` when you retry. Lob API: POST /v1/checks.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in US dollars, up to 999999.99 (rounded to 2 decimals). |
bank_account * | string | Verified bank account id (bank_…). |
confirm * | boolean | Must be true. Set it only after the user approved the exact recipient, artwork or amount. |
from * | An address id (adr_…) or an inline address object. | |
to * | An address id (adr_…) or a US inline address object with a name or a company. | |
check_bottom | string | Artwork at the bottom of the check: HTML string, asset URL, or template id (tmpl_…). Give message or check_bottom, not both. |
check_number | integer | Check number to print (1 to 500000000). |
description | Internal label. | |
idempotency_key | string | Optional unique key (max 256 printable ASCII characters). Reuse the same key when you retry the same request, so Lob does not create a second one. Keys expire after 24 hours. |
memo | Text on the memo line of the check (max 40 characters). | |
merge_variables | Key/value data merged into check_bottom HTML or template artwork. | |
message | string | Text at the bottom of the check (max 400 characters). Give message or check_bottom, not both. |
send_date | string | ISO-8601 date/time to schedule the send (future, up to 180 days ahead). |
use_type | Lob mail use type: operational or marketing. Lob requires it unless the account has a default use type (Account Settings), then null is allowed. |
lob_create_self_mailer Send a self-mailer (COSTS MONEY)
WRITE: ⚠️ SENDS A REAL SELF-MAILER and charges your Lob account (use a test_ key to avoid real mail/charges). Ask the user before calling this tool, and set `confirm` to true only after they approve the recipient and artwork. `inside` and `outside` accept an HTML string, a hosted asset URL, or a template id (tmpl_…). `to` and `from` accept an address id (adr_…) or an inline object. Pass the same `idempotency_key` when you retry. Lob API: POST /v1/self_mailers.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true. Set it only after the user approved the exact recipient, artwork or amount. |
inside * | string | Inside artwork: HTML string (under 10,000 characters), asset URL, or template id (tmpl_…). |
outside * | string | Outside artwork: HTML string (under 10,000 characters), asset URL, or template id (tmpl_…). |
to * | An address id (adr_…) or an inline address object with a name or a company. | |
description | Internal label (max 255 characters). | |
from | Return address (id or inline object). Optional for U.S. recipients; required for international recipients and must then be a U.S. address. | |
idempotency_key | string | Optional unique key (max 256 printable ASCII characters). Reuse the same key when you retry the same request, so Lob does not create a second one. Keys expire after 24 hours. |
mail_type | string | USPS mail class. |
merge_variables | Key/value data merged into HTML artwork. | |
send_date | string | ISO-8601 date/time to schedule the send (future, up to 180 days ahead). |
size | string | Self-mailer size. 17.75x9_trifold is in beta: the account needs Lob beta access. |
use_type | Lob mail use type: operational or marketing. Lob requires it unless the account has a default use type (Account Settings), then null is allowed. |
lob_cancel_postcard Cancel a scheduled postcard
Cancel a postcard before its send_date so it is never mailed (and not billed). Fails if the send window has passed. Lob API: DELETE /v1/postcards/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Postcard id (psc_…) to cancel. |