Model Context Protocol

Your Google Ads data,
inside your AI assistant

Connect Claude to Adalysis and ask about the accounts you already manage. Read-only, in plain language, answered from your own data rather than from guesswork.

Endpoint  

Four read-only tools

Your assistant picks the right one for the question. Every result carries the period it actually covered and any warnings about the data, so the answer can be checked rather than trusted.

list_accessible_accounts

Which accounts can I see? Returns id, currency, timezone and access status — and turns a spoken account name into the customer id the other tools need.

get_account_overview

Orientation in one call: campaign and bid-strategy mix, last 30 days against the previous 30, quality score, budget pacing and open issue counts.

get_account_structure

How an account is configured rather than how it performed: bid strategies and their targets, budgets and sharing, networks, device and dimension bid adjustments.

get_performance_report

The workhorse. Metrics by campaign, ad group, keyword, ad or asset group, as a time series, or two periods compared and aligned in a single call.

Connect in three steps

Takes about a minute. The key is the only thing you need to keep private.

Step 1

Sign in, or bring a key

In claude.ai or ChatGPT there is nothing to copy: add the connector and approve once, and Adalysis makes the key for you. For Claude Code, the API or scripts, generate one under Settings → API keys — the ada_… value is shown once, and only its hash is kept.

Step 2

Add this server

Point your client at the endpoint below. A web connector needs only that URL; everything else sends the key as an Authorization header. Recipes for each client follow.

Step 3

Ask a question

No commands to learn. Name an account and a period, and the assistant chooses the tools and the metrics itself.

One command, then restart your session:

claude mcp add --transport http adalysis  \
  --header "Authorization: Bearer ada_..."

Settings → Connectors → Add custom connector, then fill in just two things:

  • Name — Adalysis
  • URL —

Leave OAuth Client ID and Client Secret empty — the connector registers itself. Your browser goes to Adalysis, you sign in if you are not already, and you approve once. That creates an API key named after the connector, which you can revoke at any time under Settings → API keys. There is no field for a key here, and none is needed.

The quickest way to see the tool list and call a tool by hand:

npx @modelcontextprotocol/inspector

Choose transport Streamable HTTP, URL , and add a custom header Authorization: Bearer ada_….

Enough to confirm the server answers, without any client:

curl -s -X POST  \
  -H "Authorization: Bearer ada_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{
        "protocolVersion":"2025-06-18","capabilities":{},
        "clientInfo":{"name":"curl","version":"0"}}}'

The response carries an Mcp-Session-Id header — pass it back on later calls such as tools/list.

Then just ask

Some openers that work well once the connector is in place.

Good to know

  • The tools are read-only. Nothing this server does can change, pause or spend anything — it only reads reports. The key itself is an ordinary Adalysis key, so keep it as private as your password, and revoke it when you are done with it.
  • Your key is never stored here. It is forwarded to Adalysis on each call, so you see exactly the accounts and permissions your login has. A key created by a web connector lives in Adalysis, alongside the ones you make by hand.
  • No database of its own. This service holds no credentials and no copy of your data; it translates between your assistant and the Adalysis API.
  • 60 calls per minute per key. The Adalysis instance behind this one also serves real users.
  • Keys are per user and per engine. A Google Ads key will not work against a Microsoft Ads deployment, and a dev key will not work against production.
  • Web connectors sign you in. In claude.ai or ChatGPT, add this URL as a custom connector with no client id or secret: you approve once in Adalysis and it creates a key for you, revocable under Settings → API keys.