All agents
TerminalsClaude Code

Read the number without leaving the terminal that made it

Ask your analytics a question from the terminal you are already in. One MCP server, five read-only tools, and a key that opens exactly one site.

  • TransportStreamable HTTP
  • AccessRead only, always
  • ScopeOne site per key
You are in the code that caused the number. Claude Code can read the number without you changing window.
Why Claude Code
How to connect

Three steps, and Claude Code can read your site

A key is issued per site and cannot be talked into reading another one, so handing one to an agent hands it exactly what you meant.

  1. Issue a site key

    In Alexander: Settings, Integrations, MCP server. Keys look like alx_ and a fresh one is shown once, so paste it straight into the config below.

    alx_live_7f2c…

  2. In the project directory, add the server

    One command. It writes the entry for you and the header goes in with it.

    terminal
    claude mcp add --transport http alexander https://mcp.alxndr.ai/mcp \
      --header "Authorization: Bearer alx_your_site_key"

    Approve it once when you next start Claude in that directory.

  3. Ask it something you already know

    The fastest way to tell a working connection from a confident guess is to ask for a number you can check.

    ask Claude Code
    The pricing rewrite shipped Tuesday. Did it do anything?
What you can ask

Questions, not queries

Type it the way you would say it. Claude Code picks the tool, Alexander returns the rows, and the answer arrives with the numbers in it.

The pricing rewrite shipped Tuesday. Did it do anything?

get_pages· Pages

/pricing is flat at 2,777 views, but it now carries €3,457 of the month, up from €2,510 over the same stretch before.

Which source earned the most last week?

get_sources· Sources

Newsletter: €1,054 from 302 visitors, 2.9% converting. Google sent 7,204 and earned €3,980, a fifth as much per visitor.

Anything worth acting on before I close this branch?

get_insights· Insights

One finding: /docs takes 1,402 views a month and earns €118. Nothing on it links to a signup above the fold.

Example answers, shaped exactly as the tools return them, on a demo shop rather than a real customer's books.

The surface

Five tools. That is the whole of it.

Every client on this site reaches the same five, and not one of them can write. There is no sixth tool, no settings tool and no way to reach a site the key was not issued for.

Headline numbers

get_overview

Visitors, pageviews, revenue, conversions, bounce rate and who is on the site this second.

Sources

get_sources

Where visitors came from, ranked by revenue per visitor rather than by volume.

Pages

get_pages

The most viewed pages, each with the revenue of the sessions that saw it.

Funnel

get_funnel

Every step with the drop-off to the next, so the leak has a name.

Insights

get_insights

The written findings: what changed, the evidence, the suggested action, a confidence score.

Also works with

Point Claude Code at your own numbers

Add the tracker, issue a key for the site, paste it where the config goes. The free plan covers 10,000 events a month and asks for no card.

10,000 events a month on the free plan, no card, and the tracker is one line.