Skip to main content
Ansvisor ships a Model Context Protocol server at https://app.ansvisor.com/api/mcp (or your own host if you self-host) so AI assistants can query your brand visibility data through natural-language conversation. No npm package, no local process — just a URL and an API key.

Generate an API key

  1. Open your Ansvisor dashboard → Settings → API Keys
  2. Click New key, give it a memorable name (e.g. Claude — laptop)
  3. Copy the token. It’s shown once — store it in your password manager
The dialog that shows the key also has a ready-to-paste setup for each client below, with the key filled in. The snippets on this page read the key from an environment variable instead, so it stays out of your config files:
Every client connects to the same URL with the same header: Authorization: Bearer <your key>. There is no OAuth sign-in.

Connect your client

Claude Code

Claude Desktop

Claude Desktop adds remote servers as custom connectors. The claude_desktop_config.json file only starts local servers, so a url entry there is ignored.
  1. Open Settings → Connectors and choose Add custom connector
  2. Name it Ansvisor and enter https://app.ansvisor.com/api/mcp as the URL
  3. Under authentication choose No sign in
  4. Under Request headers, add Authorization with the value Bearer ans_...
On Team and Enterprise plans, an owner adds the connector under Organization settings → Connectors first.

Codex CLI

Or add it to ~/.codex/config.toml:

Cursor

Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

VS Code

Add to .vscode/mcp.json, or run MCP: Open User Configuration from the Command Palette to add it for every workspace. VS Code asks for the key the first time it connects:

Windsurf

In the Cascade panel, open … → Open MCP config file and add:

Gemini CLI

This writes the server to ~/.gemini/settings.json with httpUrl. Use httpUrl, not url, if you edit the file by hand: url means the older SSE transport.

Hermes Agent

Add to ~/.hermes/config.yaml. Hermes reads ANSVISOR_TOKEN from your environment or from ~/.hermes/.env:

OpenClaw

Add to ~/.openclaw/openclaw.json:
Then check the connection with openclaw mcp probe ansvisor.

Zed

Add to your Zed settings.json. Zed does not expand environment variables here, so the key goes in directly:

Other clients

Any client that supports remote MCP servers over Streamable HTTP works with the URL and the Authorization header above. If yours can only start local (stdio) servers, bridge it with mcp-remote:
Keep Authorization:${AUTH_HEADER} without a space, with the Bearer ... value in env: some clients do not escape spaces inside args.

Check the connection

Ask your client “List my Ansvisor brands”. It should call the list_brands tool and show your brands. If it reports a 401, the header is missing or the key was revoked.

Self-host? Point at your own instance

The MCP endpoint lives at /api/mcp on whatever host runs the Ansvisor web app. If you self-host at ansvisor.mycompany.internal, use that base URL instead.

Available tools

More tools land regularly — check the project roadmap.

Try it

Ask your client things like:
  • “List my Ansvisor brands.”
  • “What’s my visibility score on ChatGPT for the last 7 days?”
  • “Are my topics balanced?” / “Which topic has the most prompts?”
  • “Show me the prompts in my pricing topic.”
  • “Who are my top 5 competitors by mention count this month?”
The model picks the right tool, fills in the brand id and filters, and answers in plain English using the returned data.

Revoking access

If a key leaks or you stop using a client, open Settings → API Keys and click the trash icon. Clients using that key lose access immediately.

Transport

The server speaks the MCP Streamable HTTP transport in stateless mode — every request is self-contained, no session state is kept between calls. This makes it work cleanly behind any HTTP load balancer and on serverless runtimes.