MCP server

Export all competitive data for a brand

Ask Claude or ChatGPT for a brand's full competitive picture and it can pull everything AEOMCP has, through the MCP connector: every business the AI answers name, share of voice, every cited source, the sites that cite competitors but not the brand, and the answers themselves. It then writes the analysis or builds a deck from it. This works for a client workspace and for a prospect workspace.

This page lists the tools in the order to call them and gives a prompt you can paste.

Before you start

  • Connect the MCP in the organization that owns the workspace (see Connect your assistant). A personal token only reaches the workspaces checked when it was created.
  • Prospect reports and decks need an agency role (owner, admin or analyst) and a card on file. Client roles never see them.
  • Pick a window. Every analytics tool takes the same workspace_id, start_date and end_date. The last 30 days is a good default. For a prospect, use the dates of its report run.

The tools, in order

  1. list_workspaces: find the workspace id and whether it is a client or a prospect (kind).
  2. list_businesses: every business the AI answers name, tracked or not. This is the full competitor list: name, mentions, share of mentions, answers and engines naming it, a tracked flag, its domain when known, and the change against the previous period. Share of mentions is the share across all businesses named (the app panel shows share across its top 20). Configured competitors are only part of it; for a local business most competitors are untracked.
  3. get_share_of_voice: share of voice among the tracked brands (the brand plus its configured competitors), with the previous period.
  4. list_citations, list_domains and list_urls: every source the engines cited, by page and by site, with counts and shares.
  5. find_citation_gaps: the sites that cite competitors but not the brand.
  6. find_source_opportunities: editorial, reference, community and institutional sites worth pitching.
  7. get_report: the dimensional cube. For example kind: "brands" with dimensions: ["engine"] gives per-engine standings, and dimensions: ["prompt_id", "engine"] gives every question. kind: "brands" covers tracked brands only (the brand and its configured competitors); for untracked businesses use list_businesses.
  8. search_answers: the answers themselves (question, engine, brands named, citation count). Use get_answer for the full text of the ones you quote.
  9. Prospects only: list_prospect_reports, then get_prospect_report for the report's own numbers, and get_prospect_deck for the 10-slide deck file.

Get every row: follow the cursors

The list tools are paged. When a response has page.has_more: true, call the same tool again with cursor set to page.cursor, until has_more is false. For most list tools row_count is the total, so you can check that you have every row. search_answers is the exception: its row_count counts the rows on that page only, so keep paging until has_more is false. Nothing is capped except the page size.

get_prospect_report pages its two long lists the same way:

  • all_businesses: every business the report's answers name (the report itself prints at most 40 others). It is only computed when you ask for it: pass businesses_limit, then businesses_cursor set to all_businesses.next_cursor.
  • figures.sources: every cited source, most cited first (the report prints the top 12). Pass sources_limit and sources_cursor set to sources_page.next_cursor.

The frozen evidence record (every answer as captured) is large, so it is left out unless you pass include_evidence_record: true.

Which number to quote

  • For a client, quote the analytics tools.
  • For a prospect, quote get_prospect_report figures for share of voice, visibility and rank: they are the numbers the report and the deck print. The analytics tools count tracked brands only, and list_businesses counts every answer in the window with the dashboard's rules, so their numbers can differ from the report.

Prompt template

Paste this into Claude or ChatGPT with the AEOMCP connector on. Replace the brand and the dates.

Export all competitive data for <BRAND> from AEOMCP for <START_DATE> to
<END_DATE>, then write the analysis.

1. Call list_workspaces and find <BRAND>'s workspace. Note whether its
   kind is client or prospect.
2. Call list_businesses for that workspace and window. Follow
   page.cursor until has_more is false, so you have every business the
   AI answers name, tracked and untracked. Its share of mentions is the

share across all businesses named (the app panel shows share across its top 20). 3. Call get_share_of_voice for the tracked brands. 4. Call list_domains, list_urls and list_citations, following every cursor. 5. Call find_citation_gaps and find_source_opportunities, following every cursor. 6. Call get_report with kind "brands" and dimensions ["engine"], and again with dimensions ["prompt_id", "engine"], following every cursor. 7. Call search_answers for the window, following every cursor. Call get_answer for the answers you quote. 8. If the workspace is a prospect: call list_prospect_reports, then get_prospect_report for its report with businesses_limit 200, paging all_businesses and the sources until next_cursor is null. Quote its figures for share of voice, visibility and rank. Call get_prospect_deck and give me the deck link.

Then give me:
- a table of every business named, with mentions, share of mentions,
  engines, tracked or not, domain and the change vs the previous period;
- who leads on each engine, and where <BRAND> is missing;
- the sites AI cites most, and the ones citing competitors but not
  <BRAND>;
- the five questions where competitors win and <BRAND> is absent, with a
  quote from each answer;
- a ranked list of actions to win them back.
Say which numbers are tracked-brand only and which cover every business.
Offer the full tables as CSV.

To turn the analysis into slides, add: "Then build a 10-slide deck from it." For a prospect, the assistant can hand over the AEOMCP deck from get_prospect_deck as is, or build a variation from the same numbers (see Build a client deck from your assistant).

Limits

  • Competitor sentiment is not measured: only the brand's own answers are classified for sentiment.
  • search_answers returns up to 500 answers a page and no answer text; full text is one get_answer call per answer.
  • get_client_report bundles are a sample (25 domains, 50 URLs). Use list_domains and list_urls for the full lists.
  • There is no single-file export yet. The assistant assembles the tables from the calls above.

← All docs