mcpfax Send a fax now

Fax API & code examples

Send real faxes from your own software – with the same account and balance you use in Claude and ChatGPT. One HTTPS request per fax, no hardware, no subscription.

REST API · Base URL https://mcpfax.de/api/v1

Get started in 3 steps

  1. Create an account and top up credit (prepaid, no subscription).
  2. Create an API key under Account → API keys (starts with mfx_).
  3. Send it as header Authorization: Bearer mfx_… with every request.

Code examples

curl -s https://mcpfax.de/api/v1/fax/send \
  -H "Authorization: Bearer $MCPFAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient_fax_number": "+49 30 1234567",
    "content": "# Hello\nThis is a test fax.",
    "idempotency_key": "order-4711"
  }'

Document sources (exactly one per fax): content (text or Markdown), file_base64 + file_name (PDF, DOCX, JPG, PNG, TXT; max. 15 MB) or file_url (public https URL).

✔ Good practice: check the cost with /fax/price first, always send a unique idempotency_key (retries never send twice), use max_cost as a safety limit and poll /fax/{id} until "delivered" or "failed". Failed faxes are refunded automatically.

Complete, runnable examples and client configurations: github.com/Ploetzeneder/mcpfax

Endpoints

MethodEndpointDescription
POST/fax/pricePrice quote: validates the number, counts pages – sends nothing
POST/fax/sendSends a fax (optionally scheduled with send_at)
GET/fax/{id}Status of a fax (sent, delivered, failed, scheduled …)
GET/fax/{id}/reportPDF send report as proof of transmission
POST/fax/{id}/resendSends a previous fax again
POST/fax/{id}/cancelCancels a scheduled fax with full refund
GET/faxesRecent faxes (limit, since)
GET/balancePrepaid balance
GET · POST/contactsSearch or save fax contacts

Authentication: API key or OAuth 2.1 token as Bearer token. Responses are JSON; errors contain error and message (402 = balance too low).

MCP in Cursor, VS Code & other clients

For AI tools, use the MCP endpoint directly – sign-in happens via OAuth on first use.

Cursor · ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcpfax": { "url": "https://mcpfax.de/mcp" }
  }
}
VS Code · .vscode/mcp.json
{
  "servers": {
    "mcpfax": { "type": "http", "url": "https://mcpfax.de/mcp" }
  }
}

Connect to Claude → · Zapier · Make · n8n →