Skip to content
Meirra
Use Meirra from Claude, ChatGPT and Cursor
Back to API Documentation

Overview

The Meirra MCP server lets an AI assistant call the Meirra API for you. Ask Claude, ChatGPT or Cursor to check a ranking or verify an address, and it runs the matching Meirra tool with your API key.

Status: the MCP server is not switched on yet. This guide shows how it works and how to connect, so you are ready when it is. The REST API works today with the same key and the same prices.

What you need:

  • A Meirra API key, created in the Developer Dashboard
  • Credit in your prepaid API wallet for the paid tools
  • An MCP client that supports protocol version 2026-07-28, 2025-11-25, 2025-06-18 or 2025-03-26

Server address and authentication

Server URL: https://api.meirra.com/mcp

Transport: Streamable HTTP, stateless. Every request stands alone: there is no session to open or keep alive, and the server answers in JSON, with no event stream.

Protocol versions: 2026-07-28. The server also accepts 2025-11-25, 2025-06-18 and 2025-03-26 from a client that connects with an initialize handshake first, as most clients do today. If that handshake asks for another version, the server offers 2025-11-25. A request on any other version is refused with an unsupported-version error (-32022) that lists the versions the server accepts.

Authentication: send your API key with every request, in either header:

Authorization: Bearer YOUR_API_KEY
x-api-key: YOUR_API_KEY

The server accepts API keys only. It does not offer OAuth sign-in, so a client that can only connect through OAuth cannot use it yet.

Keep the key out of shared files: where a client reads environment variables, store the key in one and refer to it.

Claude

Claude Code. Add the server from your terminal:

claude mcp add --transport http meirra https://api.meirra.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Or share it with a project in .mcp.json at the project root, with the key read from an environment variable:

{
  "mcpServers": {
    "meirra": {
      "type": "http",
      "url": "https://api.meirra.com/mcp",
      "headers": {
        "Authorization": "Bearer ${MEIRRA_API_KEY}"
      }
    }
  }
}

Run /mcp in Claude Code to check that meirra is connected and lists seven tools.

Claude Desktop and claude.ai. Custom connectors added under Settings → Connectors sign in through OAuth and cannot send an Authorization: Bearer header. Until Meirra offers OAuth sign-in, connect from Claude Code.

ChatGPT

ChatGPT. Custom MCP connectors need developer mode (Settings → Apps & Connectors → Advanced settings). Create a connector with:

  • MCP server URL: https://api.meirra.com/mcp
  • Authentication: a custom header Authorization: Bearer YOUR_API_KEY, if the form offers one

If the form offers only OAuth or no authentication, ChatGPT cannot send your key and the connector will not work yet.

OpenAI API (Responses API). The mcp tool sends the headers you set, so you can connect from your own code:

{
  "model": "YOUR_MODEL",
  "tools": [
    {
      "type": "mcp",
      "server_label": "meirra",
      "server_url": "https://api.meirra.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      },
      "require_approval": "always"
    }
  ],
  "input": "Verify the address hello@example.com"
}

Keep require_approval on always, so a person confirms every call that spends credit.

Cursor

Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json in one project:

{
  "mcpServers": {
    "meirra": {
      "url": "https://api.meirra.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MEIRRA_API_KEY}"
      }
    }
  }
}

Set MEIRRA_API_KEY in your environment, restart Cursor, then open Settings → MCP and check that meirra lists seven tools. Never commit a file that contains the key itself.

Tools and prices

Seven tools. Each one runs the same operation as its REST endpoint and costs the same: an MCP call is never priced differently from the REST call.

  • get_account - Reads your API wallet: balance, total added and total spent. Free.
  • run_seo_report - Starts an SEO report for one URL and returns a jobId. ÂŁ0.60 per report.
  • run_site_audit - Starts an audit of one site, 10 pages by default and up to 100, and returns a jobId. Priced per page, from ÂŁ0.08 per audit. The public price list gives the per-page rates.
  • get_job - Reads the status of a report or audit and, once it is complete, the result. Free.
  • check_serp - Finds where a domain ranks for one keyword in one country and language. ÂŁ0.03 per check.
  • verify_email - Checks whether one address can receive mail, with risky, role, free-provider and disposable flags. ÂŁ0.02 per address.
  • search_docs - Searches the Meirra API documentation in plain language and returns the best matching sections, each with a link to read it in full. Free.

A successful paid call returns cost_pence (what it debited) and balance_after (your wallet balance afterwards), in pence.

Retry without paying twice: paid tools take an optional idempotency_key. Repeat a call with the same key and the same arguments within 24 hours and you get the first result back, with no second charge. Without a key, every call is billed.

How a tool error reads

When a tool cannot run, the server returns a tool result marked isError: true, so your assistant reads the error and can act on it. Its structuredContent looks like this:

{
  "code": "INSUFFICIENT_BALANCE",
  "message": "Insufficient balance. This request costs <cost> but you only have <balance>. This call was not charged. The prepaid API wallet does not cover it: ask the account owner to top up the wallet in the Meirra account dashboard, then call get_account to confirm the balance before retrying.",
  "status": 402,
  "retry_after_seconds": null,
  "doc_url": "https://www.meirra.com/help/api/errors#INSUFFICIENT_BALANCE",
  "cost_pence": 0
}
  • code: the error code, the same codes as the REST API (see Error Handling)
  • message: what went wrong and what to do next
  • retry_after_seconds: how many seconds to wait before retrying, or null when waiting will not help
  • cost_pence: always 0, because a refused or failed call is never charged
  • details: for invalid arguments, the fields to fix

If the API key is missing or wrong, the call is refused and not charged: check the key configured for the connection. The hourly rate limit returns RATE_LIMIT_EXCEEDED; wait retry_after_seconds, then retry.

Spending and daily limits

Paid MCP tools charge your prepaid API wallet call by call, at the REST price. Meirra puts no cap of its own on that spending: an assistant can keep working for as long as your wallet covers its calls. When the wallet runs out, the next paid call returns INSUFFICIENT_BALANCE and nothing is charged.

Your own daily limit (coming soon): you will be able to set an optional daily spend limit on each API key. It counts what the key has spent since 00:00 UTC plus the call about to run, and a call that would go over your limit is refused before anything is charged. This setting is not in the Developer Dashboard yet, so no key has a limit today.

A call refused by your daily limit returns code RATE_LIMIT_EXCEEDED with limit set to daily_spend_cap, and retry_after_seconds set to the time left until 00:00 UTC, when the limit resets. The hourly rate limit uses the same code without daily_spend_cap, so check limit to tell them apart.

Spend-rate warnings (planned): we plan to email you and show a notice in your dashboard when a key starts spending much faster than usual. A warning never stops a call. Until then, keep an eye on spending in your usage history.

MCP calls in your usage history

MCP calls appear in the API usage history in the Developer Dashboard, like every other API call. Each one is listed under the REST endpoint its tool runs (for example /v1/email/verify for verify_email), at the same cost, and its usage record is tagged as an MCP call. Refused calls and free tools add no charge.

Need More Help?

Contact Support