X402mail - Email API with crypto micropayments
@MuzsaiLajos
About X402mail - Email API with crypto micropayments
Python SDK for x402mail - send and receive email with USDC micropayments
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"x402mail": {
"command": "x402mail",
"args": [
"mcp"
],
"env": {
"CDP_API_KEY_ID": "your-key-id",
"CDP_API_KEY_SECRET": "your-key-secret",
"CDP_WALLET_SECRET": "your-wallet-secret"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is X402mail - Email API with crypto micropayments?
X402mail is an email API that lets you send and receive emails with crypto micropayments. It requires no accounts or API keys—just a wallet. Built on the x402 protocol, every API call is paid with USDC on Base.
How to use X402mail - Email API with crypto micropayments?
Install the package with pip install x402mail[cdp] (or pip install x402mail for private key usage). Set environment variables for your CDP wallet or provide an EVM private key. Use the Python API to send/receive emails, or run a local MCP server with x402mail mcp for AI agent integration.
Key features of X402mail - Email API with crypto micropayments
- No accounts or API keys required
- Pay per API call with USDC on Base
- Simple Python API (send, inbox, list, read)
- Built-in MCP server for AI agents
- Supports CDP server wallets or any EVM wallet
Use cases of X402mail - Email API with crypto micropayments
- AI agents sending and receiving emails autonomously
- Automated email notifications with crypto-based billing
- Secure, account-free email communication for dApps
FAQ from X402mail - Email API with crypto micropayments
How does payment work?
Each API call is paid with USDC on Base. Costs are fixed per action (e.g., send email: $0.005, list messages: $0.002). $1 USDC covers approximately 200 emails.
What wallets are supported?
The recommended setup is a Coinbase Developer Platform (CDP) Server Wallet, which requires CDP API keys. You can also use any EVM wallet with USDC on Base by providing a private key.
Do I need an API key?
No. X402mail does not require traditional API keys. For CDP wallet usage, you need CDP API credentials (key ID, secret, wallet secret). For private key usage, you only need an EVM private key.
How much does it cost per action?
Send email: $0.005, check inbox: $0.001, list messages: $0.002, read message: $0.001. All costs are fixed in USDC on Base.
Is there an MCP server for AI agents?
Yes. Run x402mail mcp to start a local MCP server. It provides tools like send_email, get_inbox, list_messages, and read_message. Configure it in your MCP client (e.g., Claude Desktop, Cursor) using the provided JSON block.
Frequently asked questions
How does payment work?
Each API call is paid with USDC on Base. Costs are fixed per action (e.g., send email: $0.005, list messages: $0.002). $1 USDC covers approximately 200 emails.
What wallets are supported?
The recommended setup is a Coinbase Developer Platform (CDP) Server Wallet, which requires CDP API keys. You can also use any EVM wallet with USDC on Base by providing a private key.
Do I need an API key?
No. X402mail does not require traditional API keys. For CDP wallet usage, you need CDP API credentials (key ID, secret, wallet secret). For private key usage, you only need an EVM private key.
How much does it cost per action?
Send email: $0.005, check inbox: $0.001, list messages: $0.002, read message: $0.001. All costs are fixed in USDC on Base.
Is there an MCP server for AI agents?
Yes. Run `x402mail mcp` to start a local MCP server. It provides tools like `send_email`, `get_inbox`, `list_messages`, and `read_message`. Configure it in your MCP client (e.g., Claude Desktop, Cursor) using the provided JSON block.
Basic information
More Developer Tools MCP servers

Reelier
Maxime HouleAgents make claims. Reelier writes receipts — record an agent's tool-call workflow once, replay it deterministically at 0 tokens, and diff runs to catch drift.
Grafana MCP server
grafanaMCP server for Grafana

Moxie Docs
Jackalope-DevAutomated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.

PuzzleTide Puzzle Generator
Caravaca-LabsWord search generator, crossword generator, and sudoku generator + solver as a local-first MCP server. 15 deterministic tools: printable PDF puzzle worksheets, themed word banks, and verifiable LLM evals. From the makers
Comments