← All guides marginal.sh

Free Email A/B Testing API for Subject Line Experiments

Updated June 2026 · Hosted email MCP server

If you want a free email A/B testing API that handles subject line variants, managed sends, and lift metrics, marginal exposes all of it through an email MCP server. Your AI agent calls a few tools, runs the test, and reads back the winner.

What you get with the free tier

marginal is a hosted service, so there's nothing to deploy. You authenticate with a Bearer API key (marg_live_...) and start running subject line A/B tests immediately.

Why it's an MCP server, not just a REST call

Instead of stitching together raw HTTP endpoints, marginal speaks the Model Context Protocol. That means an AI agent can discover and call the testing tools natively, turning A/B testing into a conversational workflow rather than glue code.

The endpoint lives at https://marginal.sh/mcp and works with MCP-aware editors and agents like Cursor, Claude Desktop, Claude Code, Windsurf, Cline, Continue, and Zed.

A typical subject line A/B test

The loop is short. Ask your agent to draft variants, launch the test against a list, and check results once data lands. Because lift is measured within the test, you avoid comparing numbers across unrelated sends.

For AI agent email marketing, this is the difference between guessing at copy and shipping a measured winner. The agent owns the whole cycle and reports back what to send next.

Getting started

Point your MCP client at https://marginal.sh/mcp, add your API key, and the four tools become available to your agent. The docs at https://marginal.sh/docs/ walk through configuration for each supported client.

Since marginal is fully hosted, there's no separate infrastructure to maintain — the free email A/B testing API is the same MCP server whether you're prototyping or running production sends.

Get started with marginal

marginal is a hosted email marketing MCP server at marginal.sh. Sign up free, create an API key, and connect https://marginal.sh/mcp from Cursor, Codex, or Claude Desktop.

Documentation · Sign up · FAQ