---
title: "AI visibility tracking API for agents | Cuppa AI"
url: https://cuppa.ai/use-cases/ai-visibility-tracking-api-for-ai-agents
description: "Read Google Search Console, Bing and AI-visibility performance, content health and backlinks so an agent can decide what to write or fix next."
updated: 2026-11-18
mcp_server: @cuppa-ai/mcp-server@0.2.0
cli: @cuppa-ai/cli@0.1.8
---
# AI visibility tracking API for agents | Cuppa AI

Read Google Search Console, Bing and AI-visibility performance, content health and backlinks so an agent can decide what to write or fix next.

Prompt: "Use Cuppa to show how my brand performed in search this week and which pages lost clicks."

## How to do it

- MCP tools: `get_brand_performance`, `get_bing_performance`, `get_ai_visibility`, `get_content_health`, `get_gsc_queries`
- CLI: `cuppa performance overview`
- REST: GET /v1/performance/overview, GET /v1/performance/ai-visibility, GET /v1/performance/content-health

1. **Connect.** A human connects GSC (and Bing) in the app once.
2. **Read.** Call get_brand_performance or get_ai_visibility.

Output: Clicks, impressions, positions, AI-visibility mentions and pages needing refresh.

## Keys and cost

- Provider keys: None. Connect Google Search Console and Bing in the app.
- Cost: Included in the plan fee.
- API, CLI and MCP access is included on every plan, including Solo. Plans from $99/month billed annually.

## FAQ

**Does it need GSC?**

Yes for search data. AI visibility works without it.

## Connect an agent



Claude Code:

```bash
claude mcp add cuppa -e CUPPA_API_KEY=cpa-your-key -- npx -y @cuppa-ai/mcp-server
```

Codex:

```bash
codex mcp add cuppa --env CUPPA_API_KEY=cpa-your-key -- npx -y @cuppa-ai/mcp-server
```

Cursor, Claude Desktop, Windsurf (mcp.json):

```json
{
  "mcpServers": {
    "cuppa": {
      "command": "npx",
      "args": [
        "-y",
        "@cuppa-ai/mcp-server"
      ],
      "env": {
        "CUPPA_API_KEY": "cpa-your-key"
      }
    }
  }
}
```

CLI:

```bash
npm i -g @cuppa-ai/cli
cuppa auth login --key cpa-your-key
cuppa auth status
```

REST:

```bash
curl -s https://api.cuppa.ai/v1/sites \
  -H "X-API-KEY: cpa-your-key"
```

Verify: `cuppa auth status` prints your team and key status. In MCP, ask the agent to call `list_sites`; it should return your brands.

---

Index of every Markdown page: https://cuppa.ai/llms.txt · Setup: https://cuppa.ai/developers.md · Pricing: https://cuppa.ai/pricing.md
