mcp-ai-answer-visibility-tracker
LocalAbout 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
- 01Check brand mentions and citations
- 02Query multiple AI answer engines
- 03Compare competitor visibility
- 04Return sample and rate summaries
- 05Set a maximum run charge
Use cases
- 01Measure brand presence for buyer questions
- 02Compare brand citations with competitors
- 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.
npx -y @mambalabsdev/mcp-ai-answer-visibility-trackerAPIFY_TOKENSecretApify API token from https://console.apify.com/account/integrationsOPENAI_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.
Tools
1Saved tool list · updated 1w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| country | string | No | Two letter country code for Google, such as us or gb. Default us. |
| engines | array | No | Where 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. |
| samples | string | No | How many times each question is asked on each engine, 1 to 10. Default 3. |
| language | string | No | Language code for Google, such as en or de. Default en. |
| questions | array | Yes | 1 to 50 questions buyers ask, written the way they would type them, for example best crm for small business. |
| brand_name | string | Yes | The brand to look for in the answers, as people write it, for example HubSpot. Matched as a whole word, any case. |
| competitors | array | No | Up to 20 competitors to track in the same answers, as a name, a domain, or name|domain (Pipedrive|pipedrive.com). |
| brand_domain | string | No | The brand website domain, such as hubspot.com. An answer that cites a page on it, or on a subdomain, counts as cited. |
| gemini_model | string | No | Model for the gemini engine. Default gemini-2.5-flash. |
| openai_model | string | No | Model for the openai engine. Default gpt-5-mini. |
| brand_aliases | array | No | Other ways answers write the brand, such as a product name. Up to 10. |
| max_charge_usd | string | No | Optional. The run stops before it would charge more than this. |
| anthropic_model | string | No | Model for the anthropic engine. Default claude-sonnet-5-5. |
| perplexity_model | string | No | Model for the perplexity engine. Default sonar. |
| include_answer_text | enum | No | true (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 READMEAI 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
- Quick start
- Prerequisites
- Example prompts
- Tool
- Inputs
- Pricing
- Your keys
- Full actor documentation
- License
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_summaryrow per question and engine, withbrand_named_rate,brand_cited_rate, a 95 percent range for the named rate, the top cited domains, and each competitor's rates. One freebrand_summaryrow per engine covers all questions. - Google AI Overviews with no key:
shown,not_shown(no overview on the page), ordeferred(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.
| Input | Type | Description |
|---|---|---|
brand_name | string | Required. The brand to look for, as people write it. Matched as a whole word, any case |
questions | array | Required. 1 to 50 questions buyers ask |
brand_domain | string | The brand domain, such as hubspot.com. A cited page on it, or on a subdomain, counts as cited |
engines | array | Any of google_ai_overview, openai, anthropic, perplexity, gemini. Default google_ai_overview |
samples | string | Asks per question per engine, 1 to 10. Default 3 |
competitors | array | Up to 20, as a name, a domain, or name|domain |
brand_aliases | array | Other ways answers write the brand |
country, language | string | For Google. Default us, en |
include_answer_text | string | true (default) or false |
openai_model, anthropic_model, perplexity_model, gemini_model | string | Defaults gpt-5-mini, claude-sonnet-5-5, sonar, gemini-2.5-flash |
max_charge_usd | string | Optional. The run stops before it would charge more than this |
Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
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
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.