ai-visibility — MCP server for Claude Code: brand visibility in AI
Tracks how Claude, Perplexity, Claude and Gemini mention a brand: how often, where, and in what tone. Useful when you need a read on AI answer visibility.
claude mcp add ai-visibility -- npx -y ai-visibility-mcpWhat ai-visibility does
The server hands your agent six tools for checking a brand across four AI platforms. You can pull a 0–100 visibility score with a per-platform breakdown, test a single query for a mention, pit up to 10 brands against each other, or ask for prioritized fixes. A separate call lists the platforms and explains where each one draws its information from.
Setup is a single npx line: the package launches over stdio and plugs into any MCP client. Prefer your own build? Clone the repo, run npm install and npm run build inside mcp-server, then point the client at dist/index.js. There is also a Next.js dashboard, and that part needs a DATABASE_URL in .env.
The score is weighted: mention frequency counts 40%, position quality 30%, sentiment 30%. Same brand in, same number out — the server uses seeded pseudo-randomness. Handy for tracking a trend over weeks, though it also tells you the figures come from the server's model rather than a live poll of the platforms.
What it helps with
- find out whether AI platforms mention your brand at all
- benchmark visibility against named competitors
- see the tone models use when they discuss your brand
- get a visibility score plus a ranked fix list
- test one specific query on one specific platform
Example prompts for the agent
- Check brand visibility for “Acme” across the AI platforms
- Use
compare_brandsto rank Acme against two competitors - Pull recommendations based on the current visibility score
How to install ai-visibility
Platform CLI
claude mcp add ai-visibility -- npx -y ai-visibility-mcpPlatform CLI
codex mcp add ai-visibility -- npx -y ai-visibility-mcpConfig file
{
"mcpServers": {
"ai-visibility": {
"command": "npx",
"args": [
"-y",
"ai-visibility-mcp"
]
}
}
}Config file
{
"servers": {
"ai-visibility": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-visibility-mcp"
]
}
}
}Platform CLI
gemini mcp add ai-visibility npx -y ai-visibility-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about ai-visibility
How do I install ai-visibility in Claude Code?
Run claude mcp add ai-visibility -- npx -y ai-visibility-mcp.
What does ai-visibility do?
It measures how often Claude, Perplexity, Claude and Gemini mention a brand, at which position and with what sentiment, then rolls that into a 0–100 score with suggested improvements.
Does it need an API key?
The MCP server itself runs through npx with nothing extra. Only the web dashboard needs configuration: set DATABASE_URL in its .env.