MCPサーバー

lob

io.usefulapi/lob
ビジネス・業務 コミュニケーション 公開・接続可能 MCP 2026-07-28

このMCPでできること

Verifies and standardizes US and international addresses and manages physical letters, postcards, checks, templates, and delivery records.

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}.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Postcard id (psc_…) to cancel.'}}}
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.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['address_line1'], 'properties': {'name': {'type': 'string', 'description': 'Recipient name (required unless `company` is set).'}, 'company': {'type': 'string'}, 'address_zip': {'type': 'string', 'description': 'ZIP / postal code.'}, 'description': {'type': 'string', 'description': 'Internal label for this address.'}, 'address_city': {'type': 'string'}, 'address_line1': {'type': 'string', 'description': 'Primary street address.'}, 'address_line2': {'type': 'string', 'description': 'Unit/suite/apt.'}, 'address_state': {'type': 'string', 'description': '2-letter state/province code.'}, 'address_country': {'type': 'string', 'description': '2-letter ISO country code. Defaults to US.'}}}
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`. Lob API: POST /v1/letters.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['to', 'from', 'file', 'color'], 'properties': {'to': {'anyOf': [{'type': 'string', 'description': 'Existing Lob address id (adr_…).'}, {'type': 'object', 'required': ['address_line1'], 'properties': {'name': {'type': 'string'}, 'company': {'type': 'string'}, 'address_zip': {'type': 'string', 'description': 'ZIP / postal code.'}, 'address_city': {'type': 'string'}, 'address_line1': {'type': 'string', 'description': "Primary street address, e.g. '210 King St'."}, 'address_line2': {'type': 'string', 'description': "Unit/suite/apt, e.g. 'Suite 6100'."}, 'address_state': {'type': 'string', 'description': '2-letter state/province code for US/CA.'}, 'address_country': {'type': 'string', 'description': '2-letter ISO country code. Defaults to US.'}}, 'description': 'Inline address object.'}], 'description': 'Either an existing address id (adr_…) or an inline address object.'}, 'file': {'type': 'string', 'description': 'Letter body: HTML string, asset/PDF URL, or template id (tmpl_…).'}, 'from': {'anyOf': [{'type': 'string', 'description': 'Existing Lob address id (adr_…).'}, {'type': 'object', 'required': ['address_line1'], 'properties': {'name': {'type': 'string'}, 'company': {'type': 'string'}, 'address_zip': {'type': 'string', 'description': 'ZIP / postal code.'}, 'address_city': {'type': 'string'}, 'address_line1': {'type': 'string', 'description': "Primary street address, e.g. '210 King St'."}, 'address_line2': {'type': 'string', 'description': "Unit/suite/apt, e.g. 'Suite 6100'."}, 'address_state': {'type': 'string', 'description': '2-letter state/province code for US/CA.'}, 'address_country': {'type': 'string', 'description': '2-letter ISO country code. Defaults to US.'}}, 'description': 'Inline address object.'}], 'description': 'Return address (id or inline object). Required for letters.'}, 'color': {'type': 'boolean', 'description': 'true = color printing, false = black & white.'}, 'send_date': {'type': 'string', 'description': 'ISO-8601 date/time to schedule the send (future). Cancelable until then.'}, 'description': {'type': 'string', 'description': 'Internal label.'}, 'double_sided': {'type': 'boolean', 'description': 'Print on both sides. Default true.'}, 'merge_variables': {'type': 'object', 'description': 'Key/value data merged into HTML templates.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'address_placement': {'enum': ['top_first_page', 'insert_blank_page', 'bottom_first_page_center', 'bottom_first_page'], 'type': 'string', 'description': 'Where the recipient address is placed.'}}}
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.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['to', 'front', 'back'], 'properties': {'to': {'anyOf': [{'type': 'string', 'description': 'Existing Lob address id (adr_…).'}, {'type': 'object', 'required': ['address_line1'], 'properties': {'name': {'type': 'string'}, 'company': {'type': 'string'}, 'address_zip': {'type': 'string', 'description': 'ZIP / postal code.'}, 'address_city': {'type': 'string'}, 'address_line1': {'type': 'string', 'description': "Primary street address, e.g. '210 King St'."}, 'address_line2': {'type': 'string', 'description': "Unit/suite/apt, e.g. 'Suite 6100'."}, 'address_state': {'type': 'string', 'description': '2-letter state/province code for US/CA.'}, 'address_country': {'type': 'string', 'description': '2-letter ISO country code. Defaults to US.'}}, 'description': 'Inline address object.'}], 'description': 'Either an existing address id (adr_…) or an inline address object.'}, 'back': {'type': 'string', 'description': 'Back artwork: HTML string, asset URL, or template id (tmpl_…).'}, 'from': {'anyOf': [{'type': 'string', 'description': 'Existing Lob address id (adr_…).'}, {'type': 'object', 'required': ['address_line1'], 'properties': {'name': {'type': 'string'}, 'company': {'type': 'string'}, 'address_zip': {'type': 'string', 'description': 'ZIP / postal code.'}, 'address_city': {'type': 'string'}, 'address_line1': {'type': 'string', 'description': "Primary street address, e.g. '210 King St'."}, 'address_line2': {'type': 'string', 'description': "Unit/suite/apt, e.g. 'Suite 6100'."}, 'address_state': {'type': 'string', 'description': '2-letter state/province code for US/CA.'}, 'address_country': {'type': 'string', 'description': '2-letter ISO country code. Defaults to US.'}}, 'description': 'Inline address object.'}], 'description': 'Return address (id or inline object). Optional.'}, 'size': {'enum': ['4x6', '6x9', '6x11'], 'type': 'string', 'description': 'Postcard size. Default 4x6.'}, 'front': {'type': 'string', 'description': 'Front artwork: HTML string, asset URL, or template id (tmpl_…).'}, 'mail_type': {'enum': ['usps_first_class', 'usps_standard'], 'type': 'string', 'description': 'USPS mail class.'}, 'send_date': {'type': 'string', 'description': 'ISO-8601 date/time to schedule the send (future). Cancelable until then.'}, 'description': {'type': 'string', 'description': 'Internal label.'}, 'merge_variables': {'type': 'object', 'description': 'Key/value data merged into HTML templates.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
lob_get_address
Get a saved address
Retrieve a single saved address record by id. Lob API: GET /v1/addresses/{id}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Address id (adr_…).'}}}
lob_get_check
Get a check
Retrieve a single check by id, including amount, status, and check number. Lob API: GET /v1/checks/{id}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Check id (chk_…).'}}}
lob_get_letter
Get a letter
Retrieve a single letter by id, including status, PDF url, and tracking. Lob API: GET /v1/letters/{id}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Letter id (ltr_…).'}}}
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}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Postcard id (psc_…).'}}}
lob_list_addresses
List saved addresses
List saved address records, newest first. Lob API: GET /v1/addresses.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'after': {'type': 'string', 'description': "Cursor for the next page (from a previous response's next_url)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max results per page (1–100). Default 10.'}, 'before': {'type': 'string', 'description': "Cursor for the previous page (from a previous response's previous_url)."}}}
lob_list_checks
List checks
List sent/scheduled checks, newest first. Lob API: GET /v1/checks.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'after': {'type': 'string', 'description': "Cursor for the next page (from a previous response's next_url)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max results per page (1–100). Default 10.'}, 'before': {'type': 'string', 'description': "Cursor for the previous page (from a previous response's previous_url)."}}}
lob_list_letters
List letters
List sent/scheduled letters, newest first. Lob API: GET /v1/letters.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'after': {'type': 'string', 'description': "Cursor for the next page (from a previous response's next_url)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max results per page (1–100). Default 10.'}, 'before': {'type': 'string', 'description': "Cursor for the previous page (from a previous response's previous_url)."}}}
lob_list_postcards
List postcards
List sent/scheduled postcards, newest first. Lob API: GET /v1/postcards.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'after': {'type': 'string', 'description': "Cursor for the next page (from a previous response's next_url)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max results per page (1–100). Default 10.'}, 'before': {'type': 'string', 'description': "Cursor for the previous page (from a previous response's previous_url)."}}}
lob_list_self_mailers
List self-mailers
List sent/scheduled self-mailers, newest first. Lob API: GET /v1/self_mailers.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'after': {'type': 'string', 'description': "Cursor for the next page (from a previous response's next_url)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max results per page (1–100). Default 10.'}, 'before': {'type': 'string', 'description': "Cursor for the previous page (from a previous response's previous_url)."}}}
lob_list_templates
List templates
List saved HTML templates usable as postcard/letter artwork. Lob API: GET /v1/templates.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'after': {'type': 'string', 'description': "Cursor for the next page (from a previous response's next_url)."}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max results per page (1–100). Default 10.'}, 'before': {'type': 'string', 'description': "Cursor for the previous page (from a previous response's previous_url)."}}}
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.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['address_prefix'], 'properties': {'city': {'type': 'string', 'description': 'Optional city to narrow suggestions.'}, 'state': {'type': 'string', 'description': 'Optional 2-letter state to narrow suggestions.'}, 'zip_code': {'type': 'string', 'description': 'Optional ZIP to narrow suggestions.'}, 'address_prefix': {'type': 'string', 'description': "Partial primary line, e.g. '185 Berr'."}}}
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.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['zip_code'], 'properties': {'zip_code': {'type': 'string', 'description': "A 5-digit US ZIP code, e.g. '94107'."}}}
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.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['primary_line', 'country'], 'properties': {'city': {'type': 'string'}, 'state': {'type': 'string', 'description': 'State / province / region.'}, 'country': {'type': 'string', 'description': "2-letter ISO country code, e.g. 'GB', 'DE', 'CA'."}, 'postal_code': {'type': 'string'}, 'primary_line': {'type': 'string', 'description': 'Primary delivery line.'}, 'secondary_line': {'type': 'string'}}}
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.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'city': {'type': 'string'}, 'state': {'type': 'string', 'description': "2-letter state code, e.g. 'CA'."}, 'address': {'type': 'string', 'description': 'Freeform single-line address (alternative to the structured fields).'}, 'zip_code': {'type': 'string', 'description': '5-digit or ZIP+4.'}, 'primary_line': {'type': 'string', 'description': "Primary delivery line, e.g. '210 King Street'."}, 'secondary_line': {'type': 'string', 'description': "Secondary line, e.g. 'Suite 6100'."}}}
変更
lob_cancel_postcard
2026年10月1日2:40
変更
lob_create_letter
2026年10月1日2:40
変更
lob_create_postcard
2026年10月1日2:40
変更
lob_create_address
2026年10月1日2:40
変更
lob_list_templates
2026年10月1日2:40
変更
lob_get_address
2026年10月1日2:40
変更
lob_list_addresses
2026年10月1日2:40
変更
lob_list_self_mailers
2026年10月1日2:40
変更
lob_get_check
2026年10月1日2:40
変更
lob_list_checks
2026年10月1日2:40
変更
lob_get_letter
2026年10月1日2:40
変更
lob_list_letters
2026年10月1日2:40
変更
lob_get_postcard
2026年10月1日2:40
変更
lob_list_postcards
2026年10月1日2:40
変更
lob_us_autocomplete
2026年10月1日2:40
変更
lob_us_zip_lookup
2026年10月1日2:40
変更
lob_verify_intl_address
2026年10月1日2:40
変更
lob_verify_us_address
2026年10月1日2:40
追加
lob_cancel_postcard
2026年9月17日12:53
追加
lob_create_letter
2026年9月17日12:53
追加
lob_create_postcard
2026年9月17日12:53
追加
lob_create_address
2026年9月17日12:53
追加
lob_list_templates
2026年9月17日12:53
追加
lob_get_address
2026年9月17日12:53
追加
lob_list_addresses
2026年9月17日12:53
追加
lob_list_self_mailers
2026年9月17日12:53
追加
lob_get_check
2026年9月17日12:53
追加
lob_list_checks
2026年9月17日12:53
追加
lob_get_letter
2026年9月17日12:53
追加
lob_list_letters
2026年9月17日12:53