MCP Server
Connect AI tools such as Claude, ChatGPT, and Cursor to your SurfacedBy visibility data.
The SurfacedBy MCP server lets an MCP-compatible AI tool, such as Claude, ChatGPT, Codex, Cursor, or VS Code, read your AI visibility data: scores, citations, competitors, opportunities, plan status, reports, and more. You can then ask questions about your AI visibility without leaving the tool you already work in.
Plans
- Starter, Professional, and Agency plans, and the free trial: read tools.
- Agency plan: management tools and draft tools can additionally be granted to a connection (see below).
Plan requirements are checked when a connection is created or edited and again on every tool call, so a connection stops working for tools your plan no longer includes.
Creating a connection
Workspace owners and admins manage connections under Settings > Integrations > AI clients (MCP). Creating a connection takes two steps:
- Configure. Name the connection, choose whether it can read every brand in the workspace or only selected brands, choose its scopes, and set when it expires (90 days, 6 months, or 12 months). Workspace overview, Brand basics, Visibility analytics, and Opportunities are on by default, and you can turn on any other scope your workspace qualifies for. Content projects, Engagement, and Outreach scopes need those features to be live for the workspace; management and draft scopes need the Agency plan.
- Connect. SurfacedBy creates the connection and shows its API key once. Copy it then; it cannot be shown again.
A connection belongs to one workspace. A workspace can have up to 20 active connections. Admins can edit a connection's name, scopes, and brands, and can revoke it at any time, after which its key stops working. To extend a connection past its expiry, create a new one.
Connecting your AI tool
The server endpoint is:
https://api.surfacedby.com/api/v1/mcp/Keep the trailing slash. The server uses the Streamable HTTP transport and authenticates with the connection's API key, sent in the X-API-Key header. There is no OAuth sign-in. The Connect step shows the exact setup for each client:
-
Claude Code:
claude mcp add --transport http surfacedby https://api.surfacedby.com/api/v1/mcp/ --header "X-API-Key: YOUR_KEY" -
Cursor and VS Code (
mcp.json):{ "mcpServers": { "surfacedby": { "url": "https://api.surfacedby.com/api/v1/mcp/", "headers": { "X-API-Key": "YOUR_KEY" } } } } -
Claude.ai, Claude Desktop, and ChatGPT connectors accept only a URL, so the key goes in the URL as
?api_key=YOUR_KEY. Add a custom connector, paste that URL, and leave the authentication or OAuth fields empty. Treat that URL like a password. -
Any other client can connect through the
mcp-remotebridge:npx mcp-remote https://api.surfacedby.com/api/v1/mcp/ --header "X-API-Key: YOUR_KEY".
The key is the credential. Store it like any other secret, and revoke the connection if it leaks.
What a connection can do
Start with surfacedby_list_capabilities: it lists every tool, grouped by category, and shows which ones this connection can use and which need a scope, feature, or plan it does not have.
Read tools
| Scope | Tools |
|---|---|
| Workspace overview | surfacedby_workspace_summary, surfacedby_workspace_attention_queue, surfacedby_workspace_brand_summaries, surfacedby_workspace_compare_domains |
| Brand basics | surfacedby_domain_overview, surfacedby_integration_status, surfacedby_scan_freshness |
| Visibility analytics | surfacedby_domain_visibility, surfacedby_domain_competitors, surfacedby_domain_citations, surfacedby_domain_prompt_groups, surfacedby_list_prompts, surfacedby_domain_prompt_history, surfacedby_domain_theme_answers, surfacedby_domain_brand_perception |
| Opportunities | surfacedby_domain_opportunities, surfacedby_domain_source_gaps |
| Plan status | surfacedby_domain_plan_status |
| Reports | surfacedby_list_reports, surfacedby_get_report_summary, surfacedby_get_latest_brand_summary |
| Content projects | surfacedby_list_content_projects, surfacedby_get_content_project_summary |
| Engagement | surfacedby_list_engagement_opportunities, surfacedby_get_engagement_opportunity_summary |
| Outreach | surfacedby_list_outreach_targets |
| AI-referral traffic | surfacedby_domain_ai_traffic |
Content projects, Engagement, and Outreach tools work only when that feature is available to the workspace. Engagement tools include suggested reply text only if you tick the option to share it when you configure the connection. Opportunity tools return evidence in summary form; the full evidence detail stays in the dashboard.
The AI-referral traffic tool returns referral and conversion summaries for 24 hours, 7 days and 30 days. Each window also carries the AI share of visits and of page loads (as minimum shares, with the counts behind them), real crawler requests, requests we could not confirm, and collector coverage. When there is too little data, the tool says so instead of returning a zero percentage. Shares are never computed from session counts, and the tool never returns individual visits, request paths or credentials.
Each window also includes totals per topic, the same ones the Tracking page shows: demand on linked pages, citation share in the latest check, the date of that check, and how many pages are linked. A topic with no data returns an unavailable value. Topics can overlap, so do not add them up as site traffic. Individual prompts and page paths stay in the dashboard; when the topic list is cut short, the tool still reports exact totals.
Conversion amounts retain their reported currency. Each window and engine includes a per-currency revenue list; a mixed or unknown unit has no combined value. Unknown amounts keep a currency of null, and a mixed revenue trend stays unavailable. Engine conversion totals combine hostname aliases before display limits; the remaining counts and amounts appear in Other AI.
Which check a number reflects
Every tool that returns a score, Brand Coverage, AI Mentions or a change (surfacedby_domain_overview, surfacedby_domain_visibility, surfacedby_domain_competitors, the brand summaries and surfacedby_domain_prompt_history) says which check the numbers come from in meta.measurement:
{
"check": "Daily Check",
"completed_at": "2026-11-10T06:12:44Z",
"builds_on": { "check": "Full Check", "completed_at": "2026-11-03T05:40:10Z" },
"compared_with": { "check": "Full Check", "completed_at": "2026-11-03T05:40:10Z" },
"comparison_basis": "A Daily Check is compared with a Full Check",
"trend_only": true,
"platforms_asked_differently": []
}checkandcompleted_atname the check the numbers reflect. A Daily Check reviews a focused set of prompts each day, and its numbers include the answers of the Full Check it builds on (builds_on).compared_withis the earlier check the change compares with, chosen by the same rule as the dashboard. It isnullbefore a second check exists.trend_onlyistruewhenever the two checks are not like for like (a Daily Check against a Full Check, a change in how answers are counted or the score is calculated, or checks that did not cover the same answers). Read such a change as a direction, not an exact amount;comparison_basissays why.platforms_asked_differentlylists the AI platforms where the two checks asked a different number of prompts, with both counts, for example{ "platform": "Gemini", "prompts_this_check": 58, "prompts_earlier_check": 32 }. It is empty when both checks asked the same prompts.
surfacedby_domain_overview also returns meta.market_measurement for its market rank, which comes from the latest Full Check results.
Prompt history
surfacedby_domain_prompt_history answers "which prompts did we lose or gain since the last check?" without the AI tool comparing answers itself. It compares two completed checks of one kind, prompt by prompt and AI platform by platform, and returns each tracked prompt as you wrote it with its status at both checks (Cited, Named, Considered, Missing or Not measured) and the change:
| Change | Meaning |
|---|---|
lost | The answer mentioned your brand (Cited or Named) at the earlier check and not at the later one. |
gained | The reverse. |
shifted | The status moved without crossing that line, for example from Cited to Named. |
unchanged | The same status at both checks. |
not_measured | One of the two checks has no answer for that prompt and platform, for example a prompt added since or a platform that did not finish. It is never counted as a loss. |
By default it compares the latest Full Check with the one before it and returns the changed rows (lost, gained and shifted), 25 at a time. Options:
scope:full_check(default, every tracked prompt) ordaily_check(the focused daily set, so more rows read Not measured).from_check/to_check:latest,previous, or a date such as2026-11-03(the latest check of that kind completed by the end of that day).change:changed(default),lost,gainedorall.prompt_ids(the ids fromsurfacedby_list_prompts),search(text in the prompt) andplatforms(for example["ChatGPT", "Perplexity"]) narrow the rows.response_format:concise(default) ordetailed, which adds each row's status at every check in the range, up to the latest 10.limit(up to 50) andcursorpage through the rows;meta.next_cursoris the cursor for the next page anddata.totalscounts every row before the change filter.
An example answer, shortened:
{
"data": {
"state": "ready",
"totals": { "lost": 3, "gained": 5, "shifted": 2, "not_measured": 4, "unchanged": 96 },
"rows": [
{
"prompt": "Which job boards list remote EB-3 visa sponsorship roles?",
"prompt_id": "2f6c1d0e-8a4b-4f7e-9c51-3d2a7b6e0f14",
"market": "US",
"platform": "ChatGPT",
"from_status": "Cited",
"to_status": "Missing",
"change": "lost"
}
]
},
"meta": {
"domains": ["example.com"],
"measurement_scope": "full_benchmark",
"measurement": {
"check": "Full Check",
"completed_at": "2026-11-10T05:41:02Z",
"builds_on": null,
"compared_with": { "check": "Full Check", "completed_at": "2026-11-03T05:40:10Z" },
"comparison_basis": "Like for like: two checks of the same kind, read the same way",
"trend_only": false,
"platforms_asked_differently": []
},
"total_available": 10,
"next_cursor": null
}
}Management tools (Agency plan)
These make reversible changes and use no credits:
surfacedby_manage_prompt- accept or dismiss an AI prompt suggestion, or pin or unpin a tracked prompt. A suggestion markedis_searchis a search, not a question: accept it by sending the question a person would ask AI about it asquestion.surfacedby_manage_competitor- track a competitor by its domain, or stop tracking one.surfacedby_manage_opportunity- add an opportunity to the brand's plan, or dismiss it.
Draft tools (Agency plan)
These generate drafts for you to review, and each needs the matching feature (engagement, content, or outreach) to be live for the workspace. Each works in two steps: a preview tool estimates the credits and returns a confirmation token, and the generate tool runs only with that token. Generation uses your workspace's credits, and nothing is published or sent.
surfacedby_preview_engagement_draft, thensurfacedby_generate_engagement_draft- a reply draft for a community conversation.surfacedby_preview_content_draft, thensurfacedby_start_content_draft- creates a content project from an opportunity and generates its brief. You generate the full draft in the dashboard.surfacedby_preview_outreach_pitch, thensurfacedby_generate_outreach_pitch- a pitch draft for a confirmed outreach target.
Every write also checks the role of the admin who created the connection, so a connection loses write access if that person's role is lowered.
What a connection never does
Whatever you grant, a connection cannot post, publish, or send anything externally, trigger a check, write the prompts your brand is checked against, edit or delete existing plan items, or read data outside its workspace and brands. Credits are spent only by the draft tools, and only after a preview and confirmation.
Limits
Each connection can make up to 120 requests per minute and 100,000 per month, with further per-workspace and per-IP limits. A request over a limit returns HTTP 429.
Monitoring use
The AI clients (MCP) settings page shows active connections, tool calls and errors today, and the time of the last call, plus a log of individual tool calls with the outcome, the scope used, the brands in scope, the duration, and the response size.
What you can ask
Once connected, you can ask your AI tool questions such as:
- "What is my Visibility Score and how did it move on my main domain?"
- "Which prompts did we lose on ChatGPT since the last Full Check?"
- "Which competitors are picking up citations I am missing?"
- "What are my top opportunities right now?"
- "Summarize the latest report for this brand."
The AI tool answers from your SurfacedBy data.