# MailSnail (API key)

> MailSnail (API key) is a paid MCP server for communication. Mail real USPS letters and certified mail from AI agents, paid from a prepaid balance. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI, Web
- **Website:** https://mailsnail.dev/developers
- **MCP Registry name:** io.github.iancollins27/mailsnail-api-key
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-27

## About

Mailsnail lets software send physical letters through the US mail. An agent or script gets an API key in a single request, a person adds funds once by card, and each letter then draws its price from that balance. Addresses can be checked against USPS first, and a free proof PDF with the exact price is generated before anything is printed.

The same steps are available over plain HTTP and as an MCP server at one address that accepts the key as a bearer token. Certified mail adds USPS tracking, and electronic or physical return receipts can be requested. Letters go to US addresses and are printed and handed to USPS by a third-party print partner on the next business day.

It suits developers and operators whose agents need to send notices, referrals or other paper correspondence without a person at the keyboard, while keeping spending capped by the balance.

## Features

- **Key from one request:** An API key is issued by a single call with no sign-up form, and only its hash is stored, so it is shown once.
- **USPS address verification:** Checks US addresses against USPS and returns a deliverability status and the normalized address for free.
- **Free proof before sending:** Generates the printable PDF, the exact price and a draft that can be mailed within seven days.
- **Prepaid balance spending limit:** Letters are paid from a balance that a person funds by card, so an agent cannot spend beyond it.
- **Certified mail and return receipts:** Certified letters include USPS tracking, with optional electronic or physical return receipts.
- **Cancel and track letters:** Status is viewable through a link, and letters can be cancelled before printing for a price refund.

## Good for

- Send a referral thank-you or follow-up letter from a CRM workflow
- Mail certified notices that need USPS tracking and proof of mailing
- Let an autonomous agent send paper correspondence within a fixed prepaid budget
- Preview and approve a letter's proof before a person authorizes the send

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mailsnail-api-key 'https://api.mailsnail.dev/key/mcp?ref=registry'
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "type": "http",
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.mailsnail.dev/key/mcp?ref=registry
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "type": "http",
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.mailsnail.dev/key/mcp?ref=registry
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mailsnail-api-key --url 'https://api.mailsnail.dev/key/mcp?ref=registry'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mailsnail-api-key]
url = "https://api.mailsnail.dev/key/mcp?ref=registry"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "httpUrl": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mailsnail-api-key 'https://api.mailsnail.dev/key/mcp?ref=registry'

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "serverUrl": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "type": "streamableHttp",
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.mailsnail.dev/key/mcp?ref=registry
```

Enter a Name (for example "MailSnail (API key)"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mailsnail-api-key": {
      "type": "http",
      "url": "https://api.mailsnail.dev/key/mcp?ref=registry"
    }
  }
}
```

## Tools

The server marks 2 of 8 tools as able to delete data and 3 as able to change data. From the server's own tool labels and tool names; not verified by us.

- `verify_address` (says read-only): Check a US mailing address against USPS records. Returns `deliverability`: `deliverable` when USPS recognizes the address, or `undeliverable` with a `reason` when it does not. Free: does not charge or mail anything.
- `preview_letter` (says it can change data): Create a proof of a letter without charging or mailing it. Returns `proof_url` (a PDF of exactly what will be printed), the USPS address check on the recipient as `to_deliverability`, the exact price as `amount_cents` (the price from the user's prepaid balance), `pay_per_letter_cents` (the price of paying for just this letter by card, slightly higher because it includes the card processing fee), a
- `send_letter` (says it can change data): Mail a physical letter via USPS and deduct its price from the user's Mailsnail balance. This is a paid, irreversible action. The usual flow is preview_letter first, then send_letter with the returned `draft_id` once the user has approved the proof and price. If the balance can't cover the send, the result contains `pay_url`, a Mailsnail page where the user can pay for just this letter by card (a s
- `get_balance` (says read-only): Show the user's Mailsnail balance, whether a payment method is saved, and auto-reload settings. Free: read-only, does not charge.
- `add_payment_method` (says it can change data): Get a Stripe-hosted page where the user can add funds to their Mailsnail balance. Always returns `setup_url`: by default a one-time payment for `amount_cents` that does not save the card. With `auto_reload: true`, the same page also saves the card and shows the auto-reload terms the user agrees to (the card is charged automatically when the balance runs low); the user can see and decline those ter
- `turn_off_auto_reload` (says it can change data): Turn off automatic charges to the user's saved card (auto-reload). After this, a send that the balance can't cover returns a payment link instead of reloading the balance. The saved card stays on file, and this does not charge anything. Has no effect if auto-reload is already off. Returns the updated billing summary.
- `get_letter` (says read-only): Get the status of a previously sent letter, including its latest USPS scan once it has been mailed. For certified letters the result includes the USPS tracking number and a usps.com tracking link, and for an electronic return receipt a link to the recipient's signature PDF. Free: read-only, does not charge.
- `cancel_letter` (says it can change data): Cancel a letter sent from the user's MailSnail balance before the printer starts on it (usually possible for about a day after sending), and refund its full price to the balance. Only works for letters this account paid for. Once printing has started the letter can't be cancelled. Confirm with the user before calling: a cancelled letter is not mailed.

## FAQ

### Do I need an account to get an API key?

No. One POST request to the accounts endpoint returns a key, with no sign-up or email step.

### How is the price charged?

Letters are paid from a prepaid balance that a person tops up by card. First-class letters start at $1.21 from the balance, and the proof shows the exact price before sending.

### Can the agent mail letters without a balance?

If the balance does not cover a letter, nothing is mailed or charged, and the response includes a link where a person can pay for that single letter by card.

### Where are letters sent?

Letters go to US addresses only and are printed and handed to USPS by a third-party print partner on the next business day.

### How do I add MailSnail (API key) to Claude Code?

Run this command in your terminal: claude mcp add --transport http mailsnail-api-key 'https://api.mailsnail.dev/key/mcp?ref=registry'

### What are the best alternatives to MailSnail (API key)?

The closest alternatives to MailSnail (API key) are MailSnail (no account), Mailsnail, DocuPost, Certified Mail Sender and mailer.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [MailSnail (no account)](https://ai-powered.com/mcp/mailsnail-no-account): MailSnail (no account) is a paid MCP server for communication.
- [Mailsnail](https://ai-powered.com/mcp/mailsnail): Mailsnail is a paid MCP server for communication.
- [DocuPost](https://ai-powered.com/mcp/docupost): DocuPost is a freemium MCP server for communication.
- [Certified Mail Sender](https://ai-powered.com/mcp/certified-mail-sender): Certified Mail Sender is a paid MCP server for communication.
- [mailer](https://ai-powered.com/mcp/mailer): mailer is a paid MCP server for communication.
- [mailbox.bot](https://ai-powered.com/mcp/mailbox-bot): mailbox.bot is a paid MCP server for communication.
- [The Letter Pilot](https://ai-powered.com/mcp/the-letter-pilot): The Letter Pilot is a paid MCP server for communication.
- [Sprint Mail](https://ai-powered.com/mcp/sprint-mail): Sprint Mail is an MCP server for communication.

---
Source: https://ai-powered.com/mcp/mailsnail-api-key
