Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Lob.Built from the 12 Lob tools below, on the connection you add once.

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

  • cancel_postcardCancel postcardDELETECancels a postcard that hasn't been sent yet.
  • create_postcardCreate postcardPOSTCreates and mails a postcard to a recipient with custom front and back designs.
  • get_postcardGet postcardGETRetrieves details and tracking status of a specific postcard.
  • list_postcardsList postcardsGETRetrieves a paginated list of all postcards with optional filtering.

Letter, 3 operations

  • create_letterCreate letterPOSTCreates and mails a printed letter with optional certified mail services.
  • get_letterGet letterGETRetrieves details and tracking status of a specific letter.
  • list_lettersList lettersGETRetrieves a paginated list of all letters with optional filtering.

Address verification, 2 operations

  • verify_addressVerify addressPOSTVerifies and standardizes a US postal address for deliverability.
  • verify_international_addressVerify international addressPOSTVerifies and standardizes an international postal address.

Template, 2 operations

  • create_templateCreate templatePOSTCreates a reusable HTML template for postcards and letters.
  • list_templatesList templatesGETRetrieves all saved mail templates.

Self mailer, 1 operation

  • create_self_mailerCreate self mailerPOSTCreates 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