Get started free
All integrations

Lob integration

Direct mail automation platform for sending physical mail programmatically. Print and mail postcards, letters, checks, and self-mailers. Includes address verification and delivery tracking for automated marketing and transactional mail.

12 toolsBasic authAPI docs

Common Lob use cases

  • Build mail dashboard
  • Send legal notices
  • View letter history
  • Check delivery status
  • Track letter delivery
  • Create brand templates
  • Export mailing history
  • Browse template library
  • Send marketing brochures
  • Send marketing postcards

What you can do with Lob

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Postcard, 4 operations

  • DELETEcancel_postcard

    Cancels a postcard that hasn't been sent yet.

  • POSTcreate_postcard

    Creates and mails a postcard to a recipient with custom front and back designs.

  • GETget_postcard

    Retrieves details and tracking status of a specific postcard.

  • GETlist_postcards

    Retrieves a paginated list of all postcards with optional filtering.

Letter, 3 operations

  • POSTcreate_letter

    Creates and mails a printed letter with optional certified mail services.

  • GETget_letter

    Retrieves details and tracking status of a specific letter.

  • GETlist_letters

    Retrieves a paginated list of all letters with optional filtering.

Address verification, 2 operations

  • POSTverify_address

    Verifies and standardizes a US postal address for deliverability.

  • POSTverify_international_address

    Verifies and standardizes an international postal address.

Template, 2 operations

  • POSTcreate_template

    Creates a reusable HTML template for postcards and letters.

  • GETlist_templates

    Retrieves all saved mail templates.

Self mailer, 1 operation

  • POSTcreate_self_mailer

    Creates and mails a self-mailer (folded piece with no envelope).

Use Lob from Claude Code, Cursor or Codex

Connect Lob in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Lob operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Lob

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Lob once

    Add your Lob connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Lob integration FAQ

What can you do with the Lob integration?
LiveContext exposes 12 operations on Lob, covering postcard, letter, address verification and template. Common uses include Build mail dashboard, Send legal notices and View letter history.

Popular integrations

Browse the whole catalog