SuperAPIAI Directory

mcp-ai-answer-visibility-tracker

github.com · AI developer platforms

This is an MCP server based on the Apify platform for tracking brand visibility in AI answers. After the user provides a brand name and questions buyers commonly ask, the system asks the questions multiple times on Google AI Overviews and on ChatGPT, Claude, Perplexity, and Gemini under the user's own API keys, checking whether each answer mentions and cites the brand. Output includes per-answer samples (whether mentioned, whether cited, first-mention rank, competitor mentions and citations, cited domains, answer excerpts), as well as mention rates, citation rates, 95% intervals, top cited domains, and competitor ratios aggregated by question and engine. The package itself is a lightweight client; all actual work runs on Apify, requiring Node.js 18+ and an Apify API token, with optional configuration of each vendor's API key.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

This MCP server is used to measure brand visibility in AI-generated answers. Given a brand and the questions its buyers ask, the server asks each question multiple times across multiple AI engines and checks whether the answers mention (named) or cite (cited) the brand, thereby quantifying the brand's exposure in AI search and question-answering scenarios.

Main capabilities

  • Covered engines: Google AI Overviews is usable without a key; ChatGPT, Claude, Perplexity, and Gemini require the user to supply the corresponding vendor API key.
  • Sample rows: one row per answer, containing brand_named, brand_cited, first_mention_rank, competitors_named, competitors_cited, cited_domains, and an answer excerpt.
  • Rates rows: one question_summary row per question-and-engine combination, containing brand_named_rate, brand_cited_rate, the 95% interval for the mention rate, top cited domains, and the ratios for each competitor. Each engine also has one free brand_summary row covering all questions.
  • Status for Google AI Overviews without a key: shown (displayed), not_shown (no overview on the page), or deferred (Google generates it in real time and loads it after the page loads; free and not counted in the rates).
  • Error handling: invalid input returns one free row whose error_reason starts with input_invalid:.
  • Output is in Clay-ready format.

Usage

  1. Requirements: Node.js 18 or later; an Apify account and API token (obtained at console.apify.com/account/integrations), set as APIFY_TOKEN. The server can list tools without a token, but calls require a token.
  2. Add the server configuration to Claude Desktop's claude_desktop_config.json, Cursor, or any MCP client, and restartThe track_ai_answer_visibility tool appears after the client.
  3. To query ChatGPT, Claude, Perplexity, and Gemini at the same time, add the corresponding keys in the same env block: OPENAI_API_KEY, ANTHROPIC_API_KEY, PERPLEXITY_API_KEY, or GEMINI_API_KEY.
  4. Call the single tool track_ai_answer_visibility, passing parameters such as brand and questions; apart from the four engine keys, all other buyer-facing inputs can be passed in, omitted inputs use the actor's own defaults, and numbers and booleans are sent as strings.

Example prompts:

  • "Does Google's AI Overview mention HubSpot for best crm for small business? Ask 3 times."
  • "For these 10 questions, how often do AI answers name Attio, and how often do they name HubSpot and Pipedrive?"
  • "Which sites do AI Overviews cite most for best wiki tool for a remote team?"

Billing and key security

  • Pay per event on Apify; charges are billed to the user's Apify account, with prices in USD.
  • The following are free: deferred Google samples, blocked pages, engine errors, brand ratio rows, and rejected inputs.
  • Google AI Overviews requires no key. The other four engines use the user's own API keys; keys are read from the server environment and passed into the run input as secret fields; the actor only sends the key to the corresponding vendor's API and does not log, store, or return it. Model usage fees are charged to the user by the corresponding vendor. Mamba Labs bears the Apify platform and proxy costs for that run.

Use cases

  • Monitor how often a brand is mentioned and cited in AI answers.
  • Compare the appearance ratios of a brand and competitors in AI answers.
  • Learn which websites AI answers cite most often.
  • Provide AI visibility data for marketing or content strategy.

Limitations

  • All actual computation runs on Apify; this package is only a lightweight client responsible for starting the actor run, waiting for completion, and returning dataset rows.
  • Requires an Apify account and token; non-Google engines require the user to provide the corresponding vendor API keys.
  • Licensed under MIT; see the repository LICENSE for details.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools