Marmalade
Queries Google AI Overviews through Treg to collect AI answers for brand visibility analysis.
Queries Perplexity through Treg to collect AI answers for brand visibility analysis.
Sends headline metrics from each scan to a configured Slack webhook.
https://github.com/user-attachments/assets/89be7be2-8307-465d-964a-f535dbd8c31f
Stop paying hundreds for AEO / GEO.
Marmalade asks ChatGPT, Gemini, Perplexity and four other AI engines the questions your buyers ask, and shows you which brands they recommend. Then it gives you a ranked plan of pages to write or fix, so they name you too.
How to set it up in Claude Code, start to finish (1:37):
https://github.com/user-attachments/assets/80189378-9026-47c6-b2e4-c12914fc2c3f
For AEO (answer engine optimization), it is an open source alternative to Profound, Peec AI and Jam. It runs on your machine and keeps every answer. You pay only for the API calls: about $4.80 a month for 50 questions on six engines every week. Jam's entry plan lists the same tracking at $144 a month (every plan compared).
Every answer is graded by Jev, a decision model made by TypeSafe, for about $0.0001 an answer. Jev decides which brands an answer really means, so a common word, or another company with your name, is not counted as yours. It also grades how the answer describes each brand, which one it recommends, and whether it gets your facts right. Jev returns labels and probabilities, never text of its own.
See it before you install: the demo report, or a real report on PostHog (its files), which took 118 answers from five engines and cost 20 cents. There are also cards showing who AI names for product analytics, CRMs and email marketing.
Related MCP server: ai-search-audit
Get started
Setting up with an AI agent? Give it this repo's link. AGENTS.md has the steps it follows.
pipx install marmalade-ai # Python 3.12 or newer, no other dependenciesNew to pipx? Install it first. With uv instead: uv tool install marmalade-ai. Upgrade later with pipx upgrade marmalade-ai, and
remove it with pipx uninstall marmalade-ai. Windows notes are in the FAQ.
Audit your site for free.
marmalade audit yoursite.comchecks whether AI bots can read your site. It needs no key and no project.Get a Treg key. Marmalade reaches every engine through Treg, a service that gives you one key and one bill for all of them. You sign up and pay there, per answer. There is no Marmalade account. On 26 November 2026, a new verified Treg account came with $1.00 of free credit, enough for about twenty first looks.
Set up and take a first look.
marmalade start yoursite.comasks for your key with the typing hidden and saves it in the project's.envfile. After you say yes, it drafts your competitors and about 25 questions from your home page, for under a cent. Then it offers a first look: 10 questions on ChatGPT, Google AI Overviews and Perplexity, for about 5 cents. It asks before each paid step, and it opens your report at the end.Check the draft, then scan everything.
startmakes a project folder,marmalade-yoursite-com. Read itsmarmalade.toml, the file that lists your brand, competitors and questions. Fix any competitor it got wrong, and cut the questions no buyer would ask. Then:cd marmalade-yoursite-com marmalade run # every question on every engine, then the plan and the reportmarmalade runprints its price and asks before it spends.marmalade scheduleputs it on a timer: a cron line, a macOS launchd job, or a GitHub Actions workflow that runs while your computer is off. Add a Slack webhook to.envand every run posts the headline numbers to Slack (two minutes of setup).
No key yet? marmalade demo --open builds a made-up project and opens its report. In a project, plain
marmalade tells you where things stand and what to run next. Your first ten minutes
walks through every step, including how to do each one by hand. The product's own words, such as first
look, the plan and brief, are defined in the glossary.
How it works
Marmalade sends each question through Treg and stores the full answer on your machine. Everything else, from the scores to the plan, is worked out from those stored answers. Each answer is graded once by Jev, through the same Treg key, and the model's version is stored with the grade (what Jev is asked, word for word).
What you get
Three numbers
Number | What it means |
Visibility | The share of answers that name you |
Citation share | The share of answers that link to your site |
Average position | Where you come among the brands you track, when you are named |
A visibility of 40% means 40 of every 100 counted answers named you. Answers vary from one scan to the next, so each figure carries a noise band, and a move smaller than the band is marked "within noise". Questions that already name you or a competitor are asked but left out of the scores, so the numbers come from questions any brand could win. Each number is worked out from answers like this one (how, in detail):
Who gets named, and how
A leaderboard against the competitors you pick, with each brand's share of voice, a trend line and breakdowns by engine, topic, question, buyer stage, who is asking and audience.
A competitor map from the first report. It shows who the answers name in each topic, including names you do not track yet.
marmalade discoverlists those names, andmarmalade add-competitortracks one by re-reading the answers you already have, so nothing is asked again.How AI describes you. The newest sentence each engine wrote about you, side by side, with the tone of every mention. Answers that name you are checked against your
facts.md, and a wrong price, a wrong plan or a description of a different product is flagged.Your niche and the rest. Set
niche, or let Marmalade spot it in your questions, and the report splits your numbers between the questions that name it and the rest.The answers themselves. Open any question in the report to read what each engine said, with every tracked brand marked, and the pages it cited, grouped by kind: your site, competitors' sites, review sites, community and docs.
What to fix
marmalade analyse turns the answers into the plan: ranked actions of five kinds.
Kind | When it appears |
Write a page | A question with three or more answers names you in 34% of them or fewer, whether competitors win it or none is named yet |
Fix a page | Your page is cited but the answer does not name you; an answer gets a fact wrong; a page of yours the engines cite returns 404, says noindex or names another page as its canonical; or a review or GitHub page cited in answers about you should be checked against your facts |
Site setup | robots.txt or your CDN turns AI bots away; or there is no llms.txt, no sitemap, no structured data, no text or prices without JavaScript, no Markdown docs for coding agents, or there are pages with almost no text of their own |
Get listed | A third-party page carries your competitors into answers you are missing from |
Join a thread | A thread the engines quote names your competitors and not you |
Each action says how many answers are behind it and comes with instructions you can hand to your own AI
agent. marmalade next says what is worth doing now. marmalade brief ID writes a page brief from the
answers and the pages the engines cite: who is named in your place, what those pages have that yours
lacks, an outline, and the facts you may use. Your agent or a writer drafts the page, and the draft check,
marmalade check draft.md --for ID, holds it against the brief and lists any figure that is not in your
facts file.
marmalade why ID reads the pages the engines cite for a question and lists how they differ from yours,
such as a comparison table, a FAQ, prices, a date or structured data. It shows what those pages have; it
cannot say why an engine chose them. When the page is live, mark it with
marmalade action ID --status shipped --url https://..., keep scanning, and marmalade verify tells you
whether the answers moved or the new page got cited. The whole loop, step by step:
docs/next-steps.md.
Alerts, data and extras
Alerts. A question lost on three engines, a wrong fact or an engine that is down leads the report, the digest and the Slack message.
marmalade changesprints what moved since the last scan.Demand.
marmalade volumeestimates how often people ask AI tools about each topic and brand you track, for about a cent. Busier topics move their actions up the plan.AI bots on your site.
marmalade traffic access.logreads your own server logs: which AI bots read which pages, where they hit errors, and how many people arrived from AI answers. It is free and sends nothing anywhere (how to get the logs).A card to share.
marmalade carddraws a "who AI names" image from your answers, with your brand in orange. It is free.Your data as files.
marmalade exportwrites the numbers, the plan and every stored answer as CSV, andmarmalade report --mdwrites a short Markdown version for a pull request or a wiki.Your existing questions.
marmalade add-prompt --from export.csvimports a list from another tracker or a spreadsheet.marmalade suggest --from calls.txthands sales call notes or support tickets to your agent, which pulls out the questions your buyers ask in their own words.
Use it from your agent
marmalade init connects your AI agents as it sets up a project. It writes the MCP settings that Claude
Code, Cursor and VS Code read when they open the folder (MCP is the standard way an agent calls a tool),
and an AGENTS.md that tells any agent which commands cost money. marmalade connect does the same for an
existing project, and every command an agent needs prints JSON with --json. For another MCP client, add
the server yourself:
claude mcp add marmalade -- marmalade -C /path/to/project mcpThe plugin adds the same tools plus four commands, /marmalade:setup, /marmalade:report,
/marmalade:next-action and /marmalade:build-page. Each one needs Marmalade installed first.
Agent | Install |
Claude Code |
|
Codex |
|
Cursor | Copy the plugin folder to |
Other agents |
|
Skills for your agent
Skill | What your agent can do with it |
Set up tracking, price a first scan, run it with your yes, read the report | |
Check whether AI bots can read your site, and fix what blocks them. Free | |
Read which AI bots visit and who arrives from AI answers, from your logs. Free | |
Turn a question you lose into a brief, a page and a checked draft |
No Node.js 22? Copy the folders in plugin/skills into your agent's skills folder, for
example .claude/skills/ in your project for Claude Code.
The tools set up a project, read the stored answers, work the plan, write briefs and check drafts.
/marmalade:build-page writes the page, and puts it up as a pull request only when you say so. No MCP tool
spends money. A paid command reaches your agent marked as paid, and the agent runs it only after it tells
you the price and you say yes. Setup for other clients and the full list of tools:
docs/agent.md.
What it costs
You pay Treg for the calls and nothing else. These are the estimates per answer that the setup check
(marmalade doctor) and --dry-run use:
Engine | Per answer |
Google AI Mode, Google AI Overviews | $0.00015 |
Gemini | $0.0024 |
ChatGPT | $0.0028 |
Perplexity | $0.002 |
Copilot (Bing) | $0.015 |
Claude | $0.065 |
Fifty questions on the first six engines make 300 answers, about $1.12 a scan. Weekly, that is about $4.80
a month; daily, about $34. Claude is off by default, because one Claude answer costs more than the other
six engines together. Treg reports the real cost of each call, and Marmalade stores it with each answer.
max_cost in marmalade.toml caps one scan: a call starts only if its estimate still fits under the cap.
The measured prices, from real calls on 26 November 2026, and each engine's Treg tool are in
docs/engines.md.
Four commands spend money, and each one says what it costs before it calls anything:
Claude is the engine the paid trackers charge most for. Jam sells it as an add-on. At every size its calculator showed on 26 November 2026, Marmalade's bill for all seven engines came to less than that add-on alone:
Next to the hosted trackers
This is what Jam, Peec AI, OtterlyAI and Profound list on their own sites, read on 26 November 2026, set against Marmalade. Every plan and feature, with each product named, is in docs/compare.md.
Marmalade | The hosted trackers | |
Price | The API calls: about $4.80 a month for 50 questions a week on six engines | A subscription: €29 to $974 a month on the plans they list, or by quote |
Your data | Every answer, in full, in one SQLite file on your machine | In their cloud |
Claude | At cost, about 6.5 cents an answer | An add-on, triple credits, or Enterprise only |
AI bots on your site | From your own server logs, free | Included at Peec AI, OtterlyAI and Profound |
Demand for a topic | AI search volume, about a cent a refresh | Included at Peec AI and Profound |
Page work | A brief, a draft check, and your agent opens the pull request | Jam and Profound draft pages for you |
Agents | MCP server, four agent skills, Claude Code, Codex and Cursor plugins, | MCP at all four |
Team logins, AI shopping | Not built | Logins at all four; shopping at Peec AI and Profound |
Source | Open source, MIT | Closed |
Why I built it
I'm a go-to-market engineer. Every week for months, I've asked all the major AI engines (ChatGPT, Claude, Gemini, Perplexity, Copilot and Google's AI) the questions a buyer would ask, to see who they name, which pages they cite and where AI search traffic comes from. Every round taught me something, and I kept improving the method: better questions, a stricter test for what counts as a mention, and a clearer order for what to fix first.
Over the same months, more companies started selling this as a service, and in my opinion most of them are priced out of reach for a young company. Yet the work underneath is a set of API calls, and for a small setup those cost a few dollars a month, as the table above shows. So I built Marmalade to cost exactly that. It runs on your machine, keeps every answer in a file you can open, and turns the answers into a short, ranked list of what to fix. I made it for teams that can't justify an expensive AEO service but still want to do this work well. It is free and open source, and you pay only for the API calls.
If you build growth systems too, I'd like to hear what you track. You can find me on GitHub.
What leaves your machine
Marmalade has no server of its own, no account and no telemetry. It makes nine kinds of call, all through Treg's catalog with one key: the seven engines, grading and AI search volume.
Your questions, country and language go to Treg, which passes them to each engine.
Grading sends the question, the answer, the brand names and your facts file to Jev, through Treg.
init --sitereads your home page,volumesends your topics and brand names, and Slack gets a message only if you set a webhook.
Everything else stays in the project folder. The full list is in SECURITY.md.
More about Treg:
treg.to/pricing - what each call costs
treg.to/docs - how keys and calls work
treg.to/mcp/ - every Treg tool inside your agent, beyond these nine
treg.to/gtm-engineering.md - Treg's guide to go-to-market work with these tools
FAQ
Is there a free, open source alternative to the paid AI visibility trackers? Yes. Marmalade is MIT licensed and runs on your machine with no subscription. You pay only for the API calls.
How does the cost compare at a larger scale? The gap narrows as volume grows. At 1,000 questions a day, the API bill is real money. Every plan, the method, and what the paid trackers' prices buy that Marmalade does not do are in docs/compare.md.
Can I trust the numbers when AI answers change every time? Read them with their noise band. Every visibility figure carries one, and a move inside it is chance.
More questions, including Windows: docs/faq.md. When something goes wrong: docs/troubleshooting.md.
Documentation
Start here | Run it for real | Reference |
Where Marmalade stops
Marmalade gives you the plan, the brief, the instructions for your agent and the draft check. You, a writer or your agent writes the page, and your agent opens a pull request only when you say so. The report is a file you open, and the schedule is cron, launchd or a GitHub Action.
The files in a project
marmalade.toml lists your brand, competitors, engines and questions; each question is a [[prompt]]
entry. facts.md holds what is true about your product, so a wrong answer can be caught. marmalade.db
keeps everything asked and answered, and marmalade export writes it out as CSV. Your Treg key lives in
.env.
Quick start - Troubleshooting - Changelog - Contributing - Security - MIT licensed.
Available Tools
24 toolsadd_competitorB
Track one more competitor and re-read every stored answer with it included. Free.
Inputs: name (required), domain, aliases.
add_questionB
Track one more question, worded as a buyer would ask an AI assistant. A question with a tracked brand in it is asked but left out of the scores. Free.
Inputs: text (required), topic, intent, audience.
check_pageB
Hold a draft against its brief. Pass path (a file in the project or anywhere readable) or text (the draft itself). Returns each requirement as met or not, and any figures that are not in facts.md.
Inputs: id (required), path, text.
explain_questionA
For one tracked question (or the id of a plan action): the pages the engines cite, what each has (length, table, FAQ, prices, date, headings) and what your page lacks. Reads public pages; spends nothing.
Inputs: question (required), days.
get_ai_trafficB
AI bots on the brand's site and visits that came from AI answers, from server logs imported with marmalade traffic LOGFILE.
Inputs: days.
get_brand_factsA
How the engines describe the brand (not facts.md, which holds what is true): the newest sentence naming it from each engine, and the tone mix when answers were graded.
Inputs: days.
get_briefA
A full page brief for one write or fix action on the plan: the question, who the engines name now and what they say, the pages they cite and what those have, an outline, the requirements the page must meet, and the facts you may use. Reads public pages; spends nothing. Also saves briefs/ID.md. Other kinds of action have no outline: they return only their handoff, and check_page then errors.
Inputs: id (required).
get_changesA
What moved between the last two scans: answers gained and lost, first-time citations, and a plain-text digest.
Inputs: no named parameters.
get_overviewC
Visibility, citation share, average position, the leaderboard, engines and topics for the last N days.
Inputs: days.
get_search_volumeB
Estimated searches a month in AI tools for each topic, brand name and question, from the last marmalade volume (a paid refresh: run it only after the user says yes to its price).
Inputs: no named parameters.
get_statusA
Use it first when setting up, or before the first scan. Where the project stands: what is set and what is missing (brand, questions, competitors, engines, the Treg key, facts.md, Slack), the price of a full scan and of a first look, the spend cap, notes on a thin setup, and the next step. Free.
Inputs: no named parameters.
price_scanA
What a scan would cost before anyone runs it. Free: it calls no engine. A scan is paid: show the user the command it returns and its price, and run it only after they say yes.
Inputs: judge, sample, engines, repeats.
read_actionA
Read one action by its id: the evidence behind it, and handoff, the instructions to hand a coding agent.
Inputs: id (required).
read_actionsA
The plan, highest impact first. Filter by status (open, doing, pitched, shipped, worked, no_change, skipped or stale) or by kind (write, fix, setup, listing or thread).
Inputs: kind, status.
read_answersB
Stored AI answers, newest first: full text, brands named in order, and cited URLs.
Inputs: limit, engine, prompt.
read_questionsB
Every tracked question with your visibility on it and who wins it, weakest first.
Inputs: days.
read_search_queriesC
The web searches ChatGPT ran before answering your questions, most frequent first: the phrases to have a page for.
Inputs: days.
read_sourcesC
What the engines cite: kinds of site, top sites, top pages, and your own cited pages.
Inputs: days.
read_untracked_brandsC
Names the engines keep listing that are not tracked yet.
Inputs: days.
recommend_next_stepsA
The few things worth doing now, most useful first: each has a reason, the command for it and the plan action it refers to. A step marked paid spends the user's money: tell them the command and its cost and let them run it. Use it once a scan exists (before the first scan, use get_status).
Inputs: limit.
run_analysisC
Re-read the stored answers and rewrite the plan. Free: it makes no engine calls.
Inputs: days.
run_site_checkA
Check whether AI bots can read the brand's site: robots.txt, the CDN or firewall, llms.txt, sitemap, text without JavaScript, structured data and, for a site with docs, Markdown that coding agents can read. pricing says whether the prices in facts.md show on the pricing page without JavaScript. In a project with answers, dead_pages, noindex_pages and canonical_pages list the pages of the brand's site that AI answers cite and that now return 404 or 410, tell search engines not to index them, or name another page in their canonical tag. Reads public pages; spends nothing.
Inputs: no named parameters.
set_action_statusA
Set an action's status. The values are open, doing, pitched, shipped, worked, no_change, skipped and stale. Use shipped when the work is live and pass its url: that records the baseline verify_actions compares against.
Inputs: id (required), status (required), url.
verify_actionsA
Check whether shipped actions moved the answers for their questions. It needs a new scan after the shipped date, and a scan is paid.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 24 tools
Most tools target clearly distinct resources or actions, and the descriptions give strong usage guidance. The main overlaps are around action guidance (read_actions vs recommend_next_steps) and page/citation analysis (explain_question, get_brief, check_page), but these are still distinguishable.
All tool names use lower_snake_case and mostly follow a verb_noun pattern. The main inconsistency is using several retrieval verbs (get, read, check, explain) for similar read operations, but the names remain readable and predictable overall.
24 tools is at the heavy end for the server's purpose, even though the AEO workflow is broad. Several read/get variants and sub-workflows could likely be consolidated without losing core capability.
The surface covers setup, questions, competitors, answers, sources, actions, briefs, checks, analysis, verification, traffic, and volume. Notable gaps remain: there is no tool to actually run a paid scan (only price_scan), and no update/remove operations for tracked questions or competitors.
Maintenance
Related MCP Connectors
Headless AEO for AI search. Track AI visibility, brand mentions and citations with your own agent.
Diagnose brand visibility in AI answers (ChatGPT, Perplexity, AI Overviews). Free + paid audits.
AI visibility for your brand: scores, competitors, prompts, site health and articles.
Track brand visibility in ChatGPT, Gemini and Google AI answers: competitors, cited sources, checks.
Related MCP Servers
- AlicenseAqualityDmaintenanceAudit your brand's visibility across ChatGPT, Perplexity, Claude, and Google AI - get citation rates, AEO health scores, content gap analysis, and a 9-page content suite to rank in AI-generated answers.5133 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables auditing AI search visibility: checks site readiness for AI crawlers and measures whether ChatGPT, Gemini, and Perplexity recommend your site, including verbatim answers and citation gap analysis.4AGPL 3.0
- AlicenseAqualityBmaintenanceAI visibility and SEO data for AI agents. Check whether ChatGPT, Claude, Perplexity and Gemini mention your brand and which sources they cite, plus keyword volume and Google Trends.29491 npm1MIT

recomentionofficial
AlicenseAqualityCmaintenanceEnables AI coding agents to check whether engines like ChatGPT, Claude, Perplexity, Gemini and Grok recommend a given product: it starts an AI-visibility report, polls it, and reads back each engine's 'named in n of m answers', the competitors recommended instead, the cited sources, and a prioritised fix list. Also exposes free public AI rankings, suggested buyer questions, and distribution-kit generation.880 npmMIT