Docs

MCP

View as MarkdownOpen in ChatGPTOpen in Claude

Use mails.fit from Claude, Cursor or any Model Context Protocol client. The hosted server is https://mcp.mails.fit/mcp (Streamable HTTP, stateless). It uses your API key, so the same scopes, credits and rate limits apply as for the API.

Claude in one line

claude mcp add --transport http mailsfit https://mcp.mails.fit/mcp \
  --header "Authorization: Bearer $MAILSFIT_KEY"

Then ask: *"Verify jane@example.com with mails.fit"* or *"Check the DMARC record of example.com"*.

Other clients

{
  "mcpServers": {
    "mailsfit": {
      "url": "https://mcp.mails.fit/mcp",
      "headers": { "Authorization": "Bearer mf_live_..." }
    }
  }
}

That is the Cursor config (~/.cursor/mcp.json); most HTTP-capable clients use the same shape. Clients that only speak stdio (such as Claude Desktop) can bridge with mcp-remote:

{
  "mcpServers": {
    "mailsfit": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.mails.fit/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer mf_live_..." }
    }
  }
}

A local stdio binary, mailsfit-mcp, is also available from the source repository (MAILSFIT_API_KEY in its environment).

Tools

ToolWhat it doesScope
verify_emailVerify one addressverify
verify_listVerify up to 500 addresses as a listlists
get_list_resultProgress and results of a listlists
check_domain_dnsMX, SPF, DMARC and DNS records of a domainnone
check_blacklistAn IP or domain on public blocklistsnone
find_emailFind a person's address at a domainverify

Safety

  • Give each agent its own key, verify-only unless it needs lists. Revoking the key stops it at once.
  • Text that comes from third parties (DNS records, web pages, blocklist answers, list names) is returned in an untrusted_data field, so the agent can tell data from instructions.
  • verify_list is capped at 500 addresses per call, so an agent steered by text it read cannot spend more than that per call.

Docs for agents

Point your agent at /llms.txt (index) or /llms-full.txt (all docs in one file). Every docs page is also Markdown at the same URL plus .md.