mcpField
M
mcp-ai-answer-visibility-tracker

mcp-ai-answer-visibility-tracker

Local
github.com/mambalabsdevBusiness & Marketing0Updated 1w ago

About mcp-ai-answer-visibility-tracker

This MCP server runs the Mamba Labs AI Answer Visibility Tracker actor on Apify to check whether AI answers name or cite a brand. It is for teams tracking brand visibility across Google AI Overviews and, with their own API keys, ChatGPT, Claude, Perplexity, and Gemini.

Key features

  1. 01Check brand mentions and citations
  2. 02Query multiple AI answer engines
  3. 03Compare competitor visibility
  4. 04Return sample and rate summaries
  5. 05Set a maximum run charge

Use cases

  1. 01Measure brand presence for buyer questions
  2. 02Compare brand citations with competitors
  3. 03Find domains cited by AI answers

MCP support

Exposes the `track_ai_answer_visibility` tool to MCP clients. It starts the Apify actor, waits for completion, and returns dataset rows; keys for optional answer engines are supplied through the server environment.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-mambabuilt-mcp-ai-answer-visibility-tracker": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-ai-answer-visibility-tracker"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>",
"OPENAI_API_KEY": "<OPENAI_API_KEY>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"PERPLEXITY_API_KEY": "<PERPLEXITY_API_KEY>",
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}
Run commandnpx -y @mambalabsdev/mcp-ai-answer-visibility-tracker
Environment variables to set
APIFY_TOKENSecretApify API token from https://console.apify.com/account/integrations
OPENAI_API_KEYSecretOptional. Your own OpenAI API key, only for that engine.
ANTHROPIC_API_KEYSecretOptional. Your own Anthropic API key, only for that engine.
PERPLEXITY_API_KEYSecretOptional. Your own Perplexity API key, only for that engine.
GEMINI_API_KEYSecretOptional. Your own Google AI Studio (Gemini) API key, only for that engine.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@mambalabsdev/mcp-ai-answer-visibility-tracker1.0.1

Tools

1

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
countrystringNoTwo letter country code for Google, such as us or gb. Default us.
enginesarrayNoWhere to ask. Default google_ai_overview only. openai, anthropic, perplexity, and gemini need that vendor's API key in this server's environment; the model use is billed to the key owner by the vendor.
samplesstringNoHow many times each question is asked on each engine, 1 to 10. Default 3.
languagestringNoLanguage code for Google, such as en or de. Default en.
questionsarrayYes1 to 50 questions buyers ask, written the way they would type them, for example best crm for small business.
brand_namestringYesThe brand to look for in the answers, as people write it, for example HubSpot. Matched as a whole word, any case.
competitorsarrayNoUp to 20 competitors to track in the same answers, as a name, a domain, or name|domain (Pipedrive|pipedrive.com).
brand_domainstringNoThe brand website domain, such as hubspot.com. An answer that cites a page on it, or on a subdomain, counts as cited.
gemini_modelstringNoModel for the gemini engine. Default gemini-2.5-flash.
openai_modelstringNoModel for the openai engine. Default gpt-5-mini.
brand_aliasesarrayNoOther ways answers write the brand, such as a product name. Up to 10.
max_charge_usdstringNoOptional. The run stops before it would charge more than this.
anthropic_modelstringNoModel for the anthropic engine. Default claude-sonnet-5-5.
perplexity_modelstringNoModel for the perplexity engine. Default sonar.
include_answer_textenumNotrue (default) returns the answer text up to 8,000 characters on each sample row; false returns the 300 character excerpt only.true | false

Details

From the project README

AI Answer Visibility Tracker MCP Server

Glama score MCP Registry npm version npm downloads license mcpservers.org

AI Answer Visibility Tracker MCP server

An MCP server for the Mamba Labs AI Answer Visibility Tracker actor on Apify. Give it a brand and the questions its buyers ask. Each question is asked several times on Google AI Overviews and, on your own API keys, on ChatGPT, Claude, Perplexity, and Gemini, and every answer is checked for the brand.

What's Inside

What it does

  • Sample rows: one row per answer, with 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, with brand_named_rate, brand_cited_rate, a 95 percent range for the named rate, the top cited domains, and each competitor's rates. One free brand_summary row per engine covers all questions.
  • Google AI Overviews with no key: shown, not_shown (no overview on the page), or deferred (Google writes the overview live and loads it after the page; free and left out of the rates).

Bad input returns one free row whose error_reason starts with input_invalid:.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-ai-answer-visibility-tracker": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-ai-answer-visibility-tracker"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The track_ai_answer_visibility tool appears.

To ask ChatGPT, Claude, Perplexity, or Gemini as well, add that vendor's key to the same env block: OPENAI_API_KEY, ANTHROPIC_API_KEY, PERPLEXITY_API_KEY, or GEMINI_API_KEY.

Prerequisites

  • Node.js 18 or newer.
  • An Apify API token from console.apify.com/account/integrations, set as APIFY_TOKEN. The server lists its tool without a token; a call needs one.
  • Optional: your own OpenAI, Anthropic, Perplexity, or Google AI Studio key for those engines.

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?"

Tool

track_ai_answer_visibility. One tool. Example arguments:

{
  "brand_name": "HubSpot",
  "brand_domain": "hubspot.com",
  "questions": [
    "best crm for small business"
  ],
  "samples": "3",
  "competitors": [
    "Pipedrive|pipedrive.com",
    "zoho.com"
  ]
}

Inputs

Every buyer facing input of the actor except the four engine keys, which come from the server environment so they never pass through the conversation. Omitted inputs take the actor's own defaults. Numbers and booleans are sent as strings.

InputTypeDescription
brand_namestringRequired. The brand to look for, as people write it. Matched as a whole word, any case
questionsarrayRequired. 1 to 50 questions buyers ask
brand_domainstringThe brand domain, such as hubspot.com. A cited page on it, or on a subdomain, counts as cited
enginesarrayAny of google_ai_overview, openai, anthropic, perplexity, gemini. Default google_ai_overview
samplesstringAsks per question per engine, 1 to 10. Default 3
competitorsarrayUp to 20, as a name, a domain, or name|domain
brand_aliasesarrayOther ways answers write the brand
country, languagestringFor Google. Default us, en
include_answer_textstringtrue (default) or false
openai_model, anthropic_model, perplexity_model, gemini_modelstringDefaults gpt-5-mini, claude-sonnet-5-5, sonar, gemini-2.5-flash
max_charge_usdstringOptional. The run stops before it would charge more than this

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
ai-overview-sample, one Google result page read for one question$0.0316$0.03002$0.02844$0.02686
answer-sample, one answer from ChatGPT, Claude, Perplexity, or Gemini on your own key$0.009$0.00855$0.0081$0.00765
question-summary, one rates row per question and engine$0.003$0.00285$0.0027$0.00255
apify-actor-start, per run start$0.001082$0.001082$0.001082$0.001082

Deferred Google samples, blocked pages, engine errors, the brand rates rows, and refused input are free.

Your keys

Google AI Overviews needs no key. ChatGPT, Claude, Perplexity, and Gemini run on your own API key, read from this server's environment and passed in the run input as a secret field. The actor sends a key only to that vendor's API and never logs, stores, or returns it. The model use is billed to you by that vendor. Mamba Labs pays the Apify platform and proxy costs of the run.

Full actor documentation

apify.com/mambalabs/ai-answer-visibility-tracker

License

MIT. See LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.