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_dateandend_date. The last 30 days is a good default. For a prospect, use the dates of its report run.
The tools, in order
list_workspaces: find the workspace id and whether it is a client or a prospect (kind).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.get_share_of_voice: share of voice among the tracked brands (the brand plus its configured competitors), with the previous period.list_citations,list_domainsandlist_urls: every source the engines cited, by page and by site, with counts and shares.find_citation_gaps: the sites that cite competitors but not the brand.find_source_opportunities: editorial, reference, community and institutional sites worth pitching.get_report: the dimensional cube. For examplekind: "brands"withdimensions: ["engine"]gives per-engine standings, anddimensions: ["prompt_id", "engine"]gives every question.kind: "brands"covers tracked brands only (the brand and its configured competitors); for untracked businesses uselist_businesses.search_answers: the answers themselves (question, engine, brands named, citation count). Useget_answerfor the full text of the ones you quote.- Prospects only:
list_prospect_reports, thenget_prospect_reportfor the report's own numbers, andget_prospect_deckfor 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: passbusinesses_limit, thenbusinesses_cursorset toall_businesses.next_cursor.figures.sources: every cited source, most cited first (the report prints the top 12). Passsources_limitandsources_cursorset tosources_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_reportfigures for share of voice, visibility and rank: they are the numbers the report and the deck print. The analytics tools count tracked brands only, andlist_businessescounts 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_answersreturns up to 500 answers a page and no answer text; full text is oneget_answercall per answer.get_client_reportbundles are a sample (25 domains, 50 URLs). Uselist_domainsandlist_urlsfor the full lists.- There is no single-file export yet. The assistant assembles the tables from the calls above.