AEO API

跟踪品牌在 AI 搜索中的提及和引用,找出竞争对手出现的位置,并审核建议和内容草稿以提升曝光度。

托管 MCP 服务器

npx add-mcp 'https://api.aeoapi.dev/mcp'

可安装到 Claude Code、Codex、Cursor 等客户端

文档

AEO API

AEO API MCP

Run a free website audit or connect your account to check brand mentions, citations and usage.

Website · API docs · MCP setup · Get access


What AEO API is

AEO API measures how often brands appear in AI search answers and which sources those answers cite. You can read those measurements alongside the prompts, brands and reports in your account.

What this MCP server is

The hosted Model Context Protocol (MCP) server gives every client 2 free public audit tools. With an account, you can also use 4 documentation tools and up to 57 data tools. A key with write access can use up to 115 write tools. OAuth sign-in supports up to 83. Account tools depend on your plan, role, permissions and enabled features. To preview an account change, send confirm: false. Send confirm: true to apply it.

Find the server

Choose your Streamable HTTP address and authentication settings below.

AccessHow to connect
Free public auditEnter https://api.aeoapi.dev/mcp/public and leave authentication off. You can use start_public_audit and get_public_audit without an account or key.
Account with OAuthIn a client such as ChatGPT or Claude, add https://api.aeoapi.dev/mcp and choose OAuth. Your client opens the AEO API sign-in page. Sign in, review the permissions and choose Allow.
Account with an API keyUse https://api.aeoapi.dev/mcp and set Authorization: Bearer <key> in your client’s local settings. For the key examples that use an environment variable, make AEO_API_KEY available to the client.

For account tools, use an activated Analyzer or Optimizer account with hosted MCP access. OAuth gives you the same tools as a key with the same permissions except for the 32 tools listed under OAuth connections. These include tools that delete, archive, cancel or revoke, create report share links, import data or change many records at once.

OAuth clients can register automatically using dynamic client registration. See the protected resource metadata and authorization server metadata.

What you can do with it

TaskTools
Read your plan and usageget_account, get_usage
Find the brand and prompts to measurelist_brands, list_prompts
Find citations and missing sourcesget_citation_inventory, get_citation_gaps
Compare two monthly reportscompare_reports
Check which fields an endpoint acceptslist_endpoints, get_endpoint

See the complete tool list and required arguments.

Example requests

  • “Which brands can I read with this account?”
  • “Compare the October and September reports for this brand.”
  • “Which pages were cited in answers that left out my brand?”

Free public audit

In a client that uses .mcp.json, this entry connects without a key.

{
  "mcpServers": {
    "aeoapi": {
      "type": "http",
      "url": "https://api.aeoapi.dev/mcp/public"
    }
  }
}

Call start_public_audit with a public domain such as example.com. Keep the returned id and access_token. Pass both to get_public_audit to check progress and read the report. Public audits use no account credits. See Free public audit for limits and report expiry.

Setup

After connecting, use tools/list to see your available tools. With the account:read permission, call get_account with {} and read the overview in structuredContent.data.

Codex

Register the server from a shell that has access to your key.

codex mcp add aeoapi --url https://api.aeoapi.dev/mcp --bearer-token-env-var AEO_API_KEY

The Codex plugin also bundles the server and skills. To use it from this checkout, run codex plugin marketplace add . in the repository root, then select AEO API in the plugin picker. Use one connection method. Codex MCP settings.

Claude Code

Merge this entry into the project’s .mcp.json. Claude Code reads the header value from your environment. Claude Code MCP settings.

{
  "mcpServers": {
    "aeoapi": {
      "type": "http",
      "url": "https://api.aeoapi.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${AEO_API_KEY}"
      }
    }
  }
}

Claude Desktop

Add https://api.aeoapi.dev/mcp as a custom connector and choose OAuth for account access. Sign in to AEO API and choose Allow.

Cursor

Merge the Cursor configuration into your local ~/.cursor/mcp.json. Cursor reads AEO_API_KEY from its environment. Cursor MCP settings.

Windsurf

To use an API key in Cascade’s MCP settings, add a remote entry under mcpServers. Set serverUrl to https://api.aeoapi.dev/mcp and set the Authorization header in the local settings to Bearer, a space and your key.

Gemini CLI

From this repository, link the Gemini extension with gemini extensions link .. Launch Gemini with AEO_API_KEY in its environment and use /mcp to inspect the available tools. Gemini MCP settings.

Cline

Follow the Cline install guide for remote server settings and a first account read.

VS Code with GitHub Copilot

Add this server to your MCP configuration. Start VS Code with access to AEO_API_KEY.

{
  "servers": {
    "aeoapi": {
      "type": "http",
      "url": "https://api.aeoapi.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${env:AEO_API_KEY}"
      }
    }
  }
}

Any other client

Select Streamable HTTP. Use https://api.aeoapi.dev/mcp/public without authentication for a free audit. For account tools, use https://api.aeoapi.dev/mcp with OAuth or a Bearer key. List the tools to see what your connection can use.

Rate limits

If a request returns HTTP 429, wait for the interval in Retry-After when supplied. A tool error can also include retry_after in seconds. Use get_usage to check account usage.

Things worth knowing before you start

  • Use list_brands to find the brand ID before asking for a brand-specific report.
  • For period comparisons, use the same brand, sources and date range length.
  • To create a brand, start a run or edit a draft, check which write tools your connection offers.

Troubleshooting

What you seeWhat to check
401For account tools, sign in again or check that the client sends the full Bearer header with your key.
403 or a missing toolCheck your connection permissions, account plan and access to the brand.
405 in a browserUse an MCP client with Streamable HTTP to connect to the endpoint.
Empty reportConfirm the brand ID and period. An empty report can mean there were no recorded answers.

Agent skills

  • aeoapi-account | Read the AEO API account plan, limits and usage.
  • aeoapi-visibility | Compare brand visibility and citations in recorded AI search answers.
  • aeoapi-integration | Look up AEO API endpoints, request fields and permissions when integrating a client.

Documentation and support

See MCP setup for connection details, getting started for account access and the API reference for request fields.

About this repository

This repository contains the client settings, registry manifest, tool reference and workflow skills for the hosted service. AEO API operates the remote endpoint.

License

MIT.