URL: /docs/api/insights-mcp

---
title: "Insights MCP server"
sidebarTitle: Insights MCP
description: "The MCP server for the insights API, authenticated with an API key, and the tools it exposes."
icon: plug
---

The insights MCP server exposes the same data as the [insights API](/docs/api/insights), using the same API keys. It is separate from the member connector at `/mcp/client`, which signs in with OAuth.

## How do I add it?

```bash
claude mcp add --transport http pagecog https://pagecog.com.au/mcp \
  --header "Authorization: Bearer $PAGECOG_API_KEY"
```

It uses Streamable HTTP, is stateless and replies in JSON. There is no SSE, no sessions and no batch requests. A foreign `Origin` header is refused. `GET /mcp` is 405.

## Which tools does it have?

| Tool | Use |
| --- | --- |
| `list_sites` | Sites the key can read, features, lead types, GEO audience, GSC property and Bing site. Call first. |
| `get_search_insights` | Google and Bing queries and pages with `long_tail`, `striking_distance`, `rising` and `falling`. |
| `get_leads_summary` | Stored form leads by type, form and landing page. `include_messages` is admin only. |
| `get_analytics_summary` | Top pages, entry pages with leads, lead pages and AI-assistant sessions. |
| `get_geo_insights` | GEO share by engine and set, gaps, People Also Ask and discovery candidates. |
| `get_content_inputs` | One call per site that bundles the above for a content writer, under 30 KB. Start here. |

Tool failures such as an unknown site or no permission come back as a result with `isError: true`. A feature that is off is a normal result: `{ "status": "feature_off", "feature": "geo" }`.
