Skip to main content

MCP Integration

Finseo provides a Model Context Protocol (MCP) server that lets AI assistants query your visibility data directly.

What is MCP?

MCP (Model Context Protocol) is a standard for connecting AI models to external data sources. With Finseo’s MCP server, you can ask Claude, ChatGPT or Cursor natural questions about your AI visibility without writing code. Example: Open Claude and ask:
“How has my brand visibility changed in the last 30 days? Which competitors are ahead of me?”
Claude automatically queries your Finseo data and provides analysis.

Setup guides

Authentication

The MCP server supports two authentication methods:

Available tools

All tools are read-only — they retrieve data and never modify it. The analytics tools accept optional model (e.g. chatgpt, perplexity, ai_overview, copilot, gemini, grok) and tags filters — the same filters as the dashboard.

Position vs. mention depth

Tools report two distinct metrics (see KPIs explained):
  • avgMentionOrder — the ordinal Position KPI: average rank among all brands named in an answer (1 = named first, lower is better; e.g. 2.3 = typically the 2nd–3rd brand mentioned). This matches the #2.3-style Position column on the dashboard competitors page.
  • mentionDepthPercentMention Depth: how deep in the answer text the mention appears (0% = very top, lower is better). Not a ranking position.

Timeframes

Every analytics tool defaults to a relative window (timeframeDays, default 30, ending yesterday). For an exact period, pass an absolute range instead:
  • startDate + endDate (both YYYY-MM-DD, always together) — overrides timeframeDays.
  • Supported on get_visibility_metrics, get_visibility_timeseries (max 90 days), get_competitor_ranking, get_top_sources, get_query_fanouts, get_competitor_gap_analysis, get_competitor_h2h and get_sentiment_overview.
  • get_visibility_metrics compares the custom range against the same number of days immediately before it.
  • list_prompts only supports relative windows.
Example: “Compare my visibility for July 1–31 against the previous month” → the assistant calls get_visibility_metrics with startDate: "2026-07-01", endDate: "2026-07-31".

Drill-down workflow

Go from overview to detail — the tools chain from broad to a single AI answer:
  • Competitor track: get_visibility_metrics for the big picture → get_competitor_ranking to find the competitors that matter (each row carries an id) → get_competitor_gap_analysis / get_competitor_h2h with that competitorId for the prompt-level “where do we lose and why”.
  • Prompt track: list_prompts to find the prompts that matter (each row carries an id) → get_prompt_details with that promptId for the per-answer history and available dates → get_answer_content with promptId + date to read the exact AI answer, the brands it names and the sources it cites.
  • Sentiment track: get_sentiment_overview for Share of Voice, the sentiment leaderboard and the most negative statements about any brand.
  • Tasks track: list_tasks for the prioritized optimization backlog (each row carries an id) → get_task_details with that taskId for the full action plan and the evidence behind it.

Example prompts

Try asking your AI assistant:
  • “How visible is my brand in AI search this month, and how did it change vs. the previous period?”
  • “Rank my competitors by AI visibility and run a gap analysis against the strongest one — where do they appear when we don’t?”
  • “Which sources do AI models cite most for my tracked prompts, filtered to ChatGPT only?”
  • “Compare me head-to-head with competitor X: who gets named first, and what do AI models claim about each of us?”
  • “Show me what ChatGPT actually answered yesterday for my prompt ‘best CRM for startups’ — full text and the sources it cited.”
  • “What is my Share of Voice, and which negative statements do AI models make about my brand?”
  • “What are my most important open optimization tasks, and what exactly should I do for the top one?”

Metric definitions

The tools return the same numbers as the Finseo dashboard and label them explicitly:
  • visibilityRatePercent — share of analyzed AI answers mentioning your brand (the dashboard “Visibility” KPI)
  • promptCoveragePercent — share of tracked prompts with at least one mention (a different, usually higher number)
  • ownDomainCitations.total — AI answers citing your own domain as a source (the dashboard “Citations” KPI)

Endpoint

The server implements JSON-RPC 2.0 over Streamable HTTP (stateless) and supports initialize, ping, tools/list, and tools/call. Tool results include structuredContent (machine-readable JSON) alongside the text block, per MCP spec 2025-06-18. GET requests to the endpoint return 405 Method Not Allowed — the server does not offer a standalone SSE stream. Unauthenticated requests receive a 401 with OAuth discovery metadata per the MCP authorization spec (RFC 9728).