Skip to content
mailmanapi avatar

MailmanAPI

com.mailmanapi/mailmanapi

Send real US letters, Certified Mail, and postcards from an agent, with approval before payment.

CCM score
67 of 100
tools
9
transport
HTTP
last updated
Nov 29, 2026
Open website

Own this MCP server? Claim it

What it does

  • Reads prices and status with list_mail_types, quote_mail, get_mail, list_mail, get_balance, and verify_address, so pieces can be priced and tracked before sending
  • Writes drafts with send_mail and cancels them with cancel_mail; nothing prints until a person approves it at the approval link, with 30 minutes to cancel
  • Connects over a remote HTTP endpoint with no sign-in needed for drafts, and payment happens on each piece's private approval page
  • Designed for deposit demands, cancellations, disputes, repair requests, and other mail that must go on paper with a record of when it went out

Install

$ npx -y add-mcp https://mailmanapi.com/mcp --name mailmanapi -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http mailmanapi https://mailmanapi.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 9 tools

Verified live against the running server on Nov 29, 2026.

list_mail_typesRead: What you can mail and what it starts at: letters (First-Class, Certified, Certified with return receipt) and postcards (4x6, 6x9, 6x11), with options and starting prices. Example: {}

Read: What you can mail and what it starts at: letters (First-Class, Certified, Certified with return receipt) and postcards (4x6, 6x9, 6x11), with options and starting prices. Example: {}

No parameters. Call it with no arguments.

quote_mailRead: Price a piece without making a draft. Letters need pages or a base64 PDF; postcards need a size. Example: {"product":"letter","service":"certified","pages":1}5 params

Read: Price a piece without making a draft. Letters need pages or a base64 PDF; postcards need a size. Example: {"product":"letter","service":"certified","pages":1}

Parameters* required
documentobject
Letter PDF used to calculate page count. Mutually exclusive with pages and unavailable for postcard quotes.
optionsobject
Letters accept color and duplex, both optional. Postcards require size as their only option.
pagesnumber
Number of pages in the letter, as a positive integer. Test mode allows 1–12 pages. Live mode allows 1–5 for First-Class and 1–10 for Certified with or without an electronic return receipt. A letter...
product*string
Physical mail format, either letter or postcard.one of letter · postcard
service*string
USPS letter service. Accepted values are first_class, certified (with tracking) and certified_err (with tracking and an electronic return receipt). Postcards support only first_class.one of first_class · certified · certified_err
send_mailPrepare (free): Make a draft letter or postcard. You get the itemized price, page images and approval_url. By default, show the person the draft and send them to approval_url to pay. Keep the full private mail_url to check on it later. Reuse idempotency_key only to retry the s...7 params

Prepare (free): Make a draft letter or postcard. You get the itemized price, page images and approval_url. By default, show the person the draft and send them to approval_url to pay. Keep the full private mail_url to check on it later. Reuse idempotency_key only to retry the s...

Parameters* required
documentobject
Letters require exactly one of text or pdf_base64. Postcards require both front and back, each with one content source.
from*object
Sender's US return address with a person or organization name.
idempotency_key*string
Unique key per draft, reused for an identical retry. 16–255 ASCII letters, digits, underscores, periods, colons or hyphens. The prefixes mailman: and sample: are reserved.
optionsobject
Letters accept color and duplex, both optional. Postcards require size as their only option.
product*string
Physical mail format, either letter or postcard. Live fulfillment supports letters only.one of letter · postcard
service*string
USPS letter service. Accepted values are first_class, certified (with tracking) and certified_err (with tracking and an electronic return receipt). Postcards support only first_class.one of first_class · certified · certified_err
to*object
Recipient's US delivery address with a person or organization name.
get_mailRead: Where a piece is now: state, timeline, tracking number and what to tell the person next. Pass id with the creating key, or the full private mail_url. Example: {"id":"mp_abcdefghijklmnopqrst"}2 params

Read: Where a piece is now: state, timeline, tracking number and what to tell the person next. Pass id with the creating key, or the full private mail_url. Example: {"id":"mp_abcdefghijklmnopqrst"}

Parameters* required
idstring
The draft's mp_ ID, with 20 lowercase letters or digits 2–7 after the prefix. Requires the creating API key and is mutually exclusive with mail_url.
mail_urlstring
Complete private MailmanAPI mail_url for the draft, including its ?t= token. An API key is optional. Mutually exclusive with id.
list_mailRead: Your API key's pieces, newest first. Pass next_cursor as cursor to see more. Example: {"limit":20}2 params

Read: Your API key's pieces, newest first. Pass next_cursor as cursor to see more. Example: {"limit":20}

Parameters* required
cursorstring
Pagination token from the preceding page's next_cursor. Omitted for the first page.
limitinteger
Maximum number of mailpieces per page, an integer from 1 to 100. Defaults to 20.
cancel_mailCancel: Delete a draft, or cancel an approved piece before cancel_until. Pass id with the creating key, or the full private mail_url. Example: {"id":"mp_abcdefghijklmnopqrst"}2 params

Cancel: Delete a draft, or cancel an approved piece before cancel_until. Pass id with the creating key, or the full private mail_url. Example: {"id":"mp_abcdefghijklmnopqrst"}

Parameters* required
idstring
The draft's mp_ ID, with 20 lowercase letters or digits 2–7 after the prefix. Requires the creating API key and is mutually exclusive with mail_url.
mail_urlstring
Complete private MailmanAPI mail_url for the draft, including its ?t= token. An API key is optional. Mutually exclusive with id.
verify_addressRead: Check a US address before drafting. Returns any corrections, or why it won't deliver. Example: {"address":{"organization":"Example Recipient","line1":"100 Example St","city":"Philadelphia","state":"PA","zip":"19106"}}1 params

Read: Check a US address before drafting. Returns any corrections, or why it won't deliver. Example: {"address":{"organization":"Example Recipient","line1":"100 Example St","city":"Philadelphia","state":"PA","zip":"19106"}}

Parameters* required
address*object
US delivery address to check, with a person or organization name.
get_balanceRead: Your API key's balance in US cents. Test keys show 0. Example: {}

Read: Your API key's balance in US cents. Test keys show 0. Example: {}

No parameters. Call it with no arguments.

approve_mailSpend prepaid funds: Spend from prepaid balance only when the creating key's owner enabled Send without human approval and set a monthly cap. Pass id and the exact approval_hash from send_mail. Otherwise share approval_url.2 params

Spend prepaid funds: Spend from prepaid balance only when the creating key's owner enabled Send without human approval and set a monthly cap. Pass id and the exact approval_hash from send_mail. Otherwise share approval_url.

Parameters* required
approval_hash*string
The exact approval hash from the draft, a string of 64 lowercase hexadecimal characters that identifies the draft's contents and price.
id*string
The draft's mp_ ID, with 20 lowercase letters or digits 2–7 after the prefix. Requires the creating API key with auto-send enabled.

Details

Website
mailmanapi.com
Category
Email & Messaging
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 29, 2026

Questions

What can the MailmanAPI MCP server let my agent do?

It lets your agent send real US mail, including letters, Certified Mail and postcards. You approve each piece before it is sent, and the server offers 9 tools to quote, draft, track, cancel and approve mail. The server also checks US addresses before a draft is made.

How do I install the MailmanAPI MCP server in Claude Code?

Run this command in a terminal: claude mcp add --transport http mailmanapi https://mailmanapi.com/mcp. After that, your agent can quote and draft mail through the server's tools.

Does MailmanAPI send mail without my approval?

By default, the send_mail tool makes a free draft with the itemized price and an approval_url, and the person must pay there before anything is mailed. The approve_mail tool spends prepaid funds without a human step only when the key's owner enabled sending without approval and set a monthly cap.

What mail types can I send with MailmanAPI?

The list_mail_types tool shows letters in First-Class, Certified and Certified with return receipt, and postcards in 4x6, 6x9 and 6x11 sizes. The quote_mail tool prices a piece before any draft is made.

Similar to MailmanAPI

More Email & Messaging