Scrapling MCP Server
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
D4D4Vinci/Scrapling107k1,730 new stars in the last 7 days
Open-source AI visibility tracker and AEO checker. Track how ChatGPT, Perplexity, Gemini and Google AI Mode mention and cite your brand. MCP server + CLI. Self-hosted, MIT.
Open-source, self-hosted AI visibility tracker and AEO checker.
Track your brand in ChatGPT, Perplexity, Gemini and Google AI Mode from a dashboard, an MCP server or the CLI.
Features · Quick Start · Deploy · Cloud Sync · MCP · CLI · API
GEO/AEO Tracker is an open-source, self-hosted alternative to paid AI visibility tools such as Semrush AI Visibility and AthenaHQ. Each run scores your brand from 0 to 100 on mentions, position, frequency, citations and sentiment, and adds citation analysis, competitor battlecards and SRO analysis. It is for marketers, SEO teams and founders who want to own their data and their code. The software is free under the MIT license. Bright Data, OpenRouter and Gemini bill per API call. Try the live demo.
🌐 Built with Bright Data — the world's leading web data platform. GEO/AEO Tracker uses Bright Data's AI Scraper API to reliably collect structured responses from 4 AI engines. Get your API key →
AI models are replacing traditional search for millions of queries. If your brand isn't visible in ChatGPT, Perplexity, or Gemini responses, you're invisible to a growing audience.
Paid AI visibility plans in the table below run $165 to $295 a month, and they keep your data on their servers. AEO and GEO tools compared lists current prices and plan limits.
GEO/AEO Tracker is the alternative:
| Tool | Plan and price | Engines on that plan | Prompt allowance | Open source / self-hosted | Where data lives |
|---|---|---|---|---|---|
| GEO/AEO Tracker | Free (MIT), you pay API providers per call | ChatGPT, Perplexity, Gemini, Google AI Mode | No plan cap, limited by your API spend | Yes, MIT | Your browser (optional own Supabase) |
| Semrush SEO + AI Search Starter (includes AI Visibility) | $199/month monthly, $165.17/month billed annually | Google Search, ChatGPT, Perplexity, Gemini and more | 50 prompts tracked daily | No | Vendor cloud |
| AthenaHQ Starter | $295/month | 11 models including ChatGPT, Perplexity, AI Overviews, AI Mode, Gemini, Claude, Copilot, Grok, DeepSeek, Meta AI, Mistral | 3,600 credits a month (1 credit = 1 AI response) | No | Vendor cloud |
Prices as of October 2026.
A paid tool is the better pick when you want:
GEO/AEO Tracker is the better pick when you want:
| Tab | What it does |
|---|---|
| ⚙️ Project Settings | Brand name, aliases, website, industry, keywords, description |
| 💬 Prompt Hub | Manage tracking prompts with {brand} injection. Run single or batch across models in parallel |
| 🎭 Persona Fan-Out | Generate persona-specific prompt variants (CMO, SEO Lead, Founder, etc.) |
| 🔍 Niche Explorer | AI-generated high-intent queries for your niche |
| 📝 Responses | Browse AI responses with brand/competitor highlighting, filters, and search |
| 📊 Visibility Analytics | Score trends over time via Recharts line charts. CSV export |
| 🔗 Citations | Domain-grouped citation frequency analysis |
| 🎯 Citation Opportunities | URLs where competitors get cited but you don't, with outreach briefs |
| ⚔️ Competitor Battlecards | AI-generated side-by-side competitor analysis with strengths/weaknesses |
| 🏥 AEO Audit | Site readiness check: llms.txt, AI crawler access (robots.txt), Schema.org, BLUF density, heading structure |
| 📡 SRO Analysis | Deep pipeline: Cross-Platform Citations → SERP → Page Scraping → Site Context → LLM Analysis (Gemini Grounding runs in the bulk-sro API). Produces SRO Score (0–100), prioritized recommendations, content gaps & competitor insights |
| ⏱️ Automation | Cron / GitHub Actions templates for scheduled runs |
| 📖 Documentation | Searchable 19-section guide covering every feature |
/api/mcp on your own deploynpx geo-aeo-tracker checks your brand's AI rank and runs the AEO audit from a terminal or a CI jobThe SRO score says how often your page is used; Rank Signal tests which text features get a passage picked. After an SRO run, it takes passages from your page and the top competitors (topped up from the rest of the SERP top 10 when there are fewer than 40), builds two versions of each that differ in exactly one feature, and asks a judge model which one it would rather cite. Wins are scored with a Jeffreys posterior and read only at 20, 30 and 40 trials, so a verdict (positive, negative, no clear effect, or inconclusive) comes with its 95% interval. An S00 placebo, which rewords one sentence without changing its meaning or length, shows how much the judge reacts to being edited at all. It is a pairwise preference proxy, not live grounding selection. Method after DEJAN AI's Rank Signal (dejan.ai/optimizer-sample).
The AEO audit checks whether AI search engines can find, read and quote a page. It needs no API key and costs nothing to run: open the AEO Audit tab, call audit_page from the MCP server, or run it from the CLI:
npx geo-aeo-tracker audit https://acme.com
It runs 20 checks and scores the page from 0 to 100 on the share that pass:
lang attribute, client-side rendering, how much text the server-rendered HTML holds, a <noscript> fallback, JavaScript weightEach failed check says what to fix.
Next.js 16 + Turbopack
├── app/
│ ├── page.tsx # Main dashboard (or demo via env var)
│ ├── demo/page.tsx # Standalone demo route
│ └── api/
│ ├── scrape/route.ts # Bright Data AI Scrapers (Node runtime)
│ ├── analyze/route.ts # OpenRouter LLM analysis (Node.js runtime)
│ ├── audit/route.ts # AEO site audit crawler
│ ├── sro-analyze/route.ts # SRO final LLM analysis
│ ├── serp/route.ts # Bright Data SERP results
│ ├── site-context/route.ts # Homepage context extraction
│ ├── unlocker/route.ts # Bright Data Web Unlocker (single/batch)
│ ├── brightdata-platforms/ # 5-platform AI citation polling
│ ├── bulk-sro/route.ts # SSE bulk SRO analysis
│ └── state/route.ts # Cloud KV store (GET/PUT/DELETE — Node runtime)
├── components/
│ ├── sovereign-dashboard.tsx # Main shell — state, tabs, KPIs
│ └── dashboard/
│ ├── types.ts # AppState, ScrapeRun, Provider, etc.
│ └── tabs/ # 13 tab components
├── lib/
│ ├── client/
│ │ ├── sovereign-store.ts # Storage API — IDB default, cloud when configured
│ │ └── cloud-mode.ts # isCloudActive / isCloudAvailable helpers
│ ├── server/
│ │ ├── supabase.ts # Server-side Supabase singleton (service_role)
│ │ ├── kv-store.ts # kvGet / kvSet / kvDelete helpers
│ │ ├── brightdata-scraper.ts # Bright Data AI Scraper integration
│ │ ├── brightdata-platforms.ts # 5-platform citation scraper
│ │ ├── gemini-grounding.ts # Gemini Grounding via Google Search
│ │ ├── openrouter-sro.ts # SRO analysis via OpenRouter
│ │ ├── serp.ts # SERP data via Bright Data
│ │ ├── sro-types.ts # SRO type definitions
│ │ └── unlocker.ts # Web Unlocker scraping
│ └── demo-data.ts # Deterministic seed data for demo mode
├── supabase/
│ └── migrations/
│ └── 001_kv_store.sql # kv_store table + updated_at trigger
└── scripts/
├── test-scraper.js # API validation script
└── test-pillar.js # Feature pillar tests
Key decisions:
/api/state — the client never calls Supabase directly, so service_role stays server-side and RLS isn't a concernNEXT_PUBLIC_CLOUD_STORAGE_ENABLED=true the IDB write path becomes a cache; IDB is the authoritative fallback if the cloud route fails/api/analyze (Gemini Flash via OpenRouter), 120 second max durationgit clone https://github.com/danishashko/geo-aeo-tracker.git
cd geo-aeo-tracker
npm install
Copy the template and fill in your keys. Every variable is documented inline in .env.example:
cp .env.example .env
Every variable is optional. The app builds, boots, and deploys with an empty .env — you just get the sample dataset instead of live data. Add one key at a time to switch features on; nothing else breaks when one is missing.
BRIGHT_DATA_KEY — unlocks live AI-engine tracking. This is the one that matters: with no key the dashboard loads the sample dataset and tells you so in a banner. Add it and the same dashboard goes live.OPENROUTER_KEY — powers LLM analysis (/api/analyze, /api/sro-analyze, /api/site-context). Without it, scraping still works and the analysis panels report that they are not configured. Model override via OPENROUTER_MODEL (default google/gemini-3.5-flash).GEMINI_API_KEY — separate from OpenRouter. It powers only the Gemini grounding stage of the bulk-sro API, which uses Google Search grounding to see which pages Gemini actually cites in real time. OpenRouter can't do that, which is why it is its own key. Missing key skips that one stage; the rest of the SRO pipeline runs.BRIGHT_DATA_DATASET_* — you don't need these. The app ships with Bright Data's public AI-Scraper dataset ID for every engine. Set one only to point an engine at a custom or private dataset from the Scrapers Library.BRIGHT_DATA_SERP_ZONE / BRIGHT_DATA_UNLOCKER_ZONE — zone names for the SRO pipeline. They default to serp_api1 and web_unlocker1, the names Bright Data's own docs use, so most accounts work untouched. Set them if you named your zones differently.MCP_TOKEN turns on the MCP server at /api/mcp. Clients send it as Authorization: Bearer <token>. Unset, the endpoint answers 503. MCP_ENGINE_TIMEOUT_MS (default 240000) is the per-engine deadline for check_visibility.RANK_SIGNAL_JUDGE_MODEL / RANK_SIGNAL_REWRITE_MODEL — Rank Signal's judge (default google/gemini-3.6-flash) and pair builder (default OPENROUTER_MODEL, then google/gemini-3.5-flash). Both must be in RANK_SIGNAL_ALLOWED_MODELS (comma list, defaults to those two) and in the route's price table. RANK_SIGNAL_MAX_USD_PER_HOUR (default 10) caps server-side spend per instance; it is in-memory, so a stranger can use it up and lock you out until the hour resets, and the per-IP limit reads x-vercel-forwarded-for, then x-real-ip, then the last x-forwarded-for hop, so it is best-effort off Vercel. Put auth and a shared store (Upstash / Vercel KV) in front for hard limits.Supabase cloud-sync and demo-mode variables are documented in .env.example.
npm run dev
Open http://localhost:3000.
npm test # Unit tests (robots.txt parser)
npm run test:scraper # Test Bright Data API connection
npm run build # Full production build check
npm run lint # ESLint
✅ Deploys with zero configuration. No keys are requested during setup. The deployment lands on a working dashboard running the sample dataset, and you add keys afterwards to switch it to live data.
vercel --prod from your clone)BRIGHT_DATA_KEY (and OPENROUTER_KEY for the analysis layer), then redeployStep 3 is genuinely optional. If you only wanted to look around, stop after step 2.
Want to deploy a read-only preview with sample data and no API keys?
NEXT_PUBLIC_DEMO_ONLY = true in Vercel → Project Settings → Environment VariablesBy default, all your data stays in your browser (IndexedDB). That's great for a single device, but if you want your runs, prompts, and settings to persist across devices — or survive clearing browser data — you can plug in a free Supabase project.
Why it's optional
Setup (5 minutes)
Create a free project at supabase.com.
In the Supabase SQL editor, paste and run supabase/migrations/001_kv_store.sql from this repo. This creates a single kv_store table with RLS enabled.
In Supabase → Project Settings → API, grab:
Project URL → SUPABASE_URL (or NEXT_PUBLIC_SUPABASE_URL — either is accepted)service_role secret key → SUPABASE_SERVICE_ROLE_KEYIn Vercel → Project Settings → Environment Variables, add:
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
NEXT_PUBLIC_CLOUD_STORAGE_ENABLED=true
# Shared secret that authenticates the cloud sync API. Generate a long
# random string (e.g. `openssl rand -hex 24`). REQUIRED when cloud sync is
# enabled — without it the /api/state route rejects every request.
STATE_SYNC_SECRET=your_long_random_secret
Redeploy. Open Project Settings → Cloud Sync, enable it, and paste the
same STATE_SYNC_SECRET value into the Sync passphrase field. This is
what keeps your KV store private: the API denies any request without it, so
the secret never ships in the client bundle.
Free tier caveats (always check supabase.com/pricing for current limits)
service_role key has full DB access — keep it server-side only (Vercel env vars are fine; never commit it).What gets synced
sovereign-aeo-tracker-*) — runs, prompts, settings, SRO results.Your deploy doubles as a remote MCP server at /api/mcp (Streamable HTTP, stateless). Agents get four tools that run on your own keys:
| Tool | What it returns | Bills |
|---|---|---|
list_engines | The AI engines you can query, their Bright Data dataset IDs and known outages | Nothing |
check_visibility | One prompt sent to ChatGPT, Perplexity, Gemini and Google AI Mode in parallel. Per engine: visibility score (0 to 100, same scoring as the dashboard), sentiment, brand and competitor mentions, cited sources and whether your site is cited | Bright Data, once per engine |
google_serp | Google organic results for a keyword and your domain's rank | Bright Data, once |
audit_page | The AEO audit from the dashboard: llms.txt, AI crawler access, Schema.org, BLUF, headings and more, scored 0 to 100 | Nothing |
1. Turn it on. Set a long random MCP_TOKEN in .env (or in Vercel environment variables) and restart. Without it /api/mcp answers 503, because the tools spend your Bright Data balance.
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
2. Connect your client. Claude Code:
claude mcp add --transport http geo-aeo-tracker http://localhost:3000/api/mcp --header "Authorization: Bearer YOUR_MCP_TOKEN"
Any client that supports Streamable HTTP with custom headers works the same way: use the URL https://your-deploy/api/mcp and send Authorization: Bearer YOUR_MCP_TOKEN.
3. Ask. For example: "Check how visible Forkful is for 'best meal kit for busy families' in the UK, competitors Greenplate and Hearthbox, site forkful.com."
Good to know:
check_visibility takes 30 to 240 seconds, because it waits for the slowest engine. Each engine gets 240 seconds; one that runs out comes back as an error and the others still return. On Vercel the route stops at 300 seconds (maxDuration), so keep the default there. On your own server you can raise it with MCP_ENGINE_TIMEOUT_MS.NEXT_PUBLIC_DEMO_ONLY=true) /api/mcp answers 403 like every other API route.The same checks run from your terminal with npx, no deploy and no dashboard. The package is geo-aeo-tracker on npm. Bring your own Bright Data key; the audit needs none.
export BRIGHT_DATA_KEY=your_key
Check your brand in AI answers (ChatGPT, Perplexity, Gemini and Google AI Mode in parallel, scored like the dashboard):
npx geo-aeo-tracker check "What is the best CRM for a small business?" --brand HubSpot --competitor Salesforce,Pipedrive,Zoho --website hubspot.com
ChatGPT 100 mentioned, positive, site cited, 5 sources, competitors: Pipedrive, Zoho
Gemini 60 mentioned, positive, 14 sources, competitors: Pipedrive, Zoho
Google AI Mode 93 mentioned, positive, site cited, 7 sources, competitors: Pipedrive, Zoho
Average visibility: 84 (3 of 3 engines answered)
Run a GEO/AEO audit on any page (llms.txt, AI crawler access, Schema.org, answer-first content, headings; free):
npx geo-aeo-tracker audit https://acme.com
Get Google results and your rank:
npx geo-aeo-tracker serp "best crm for startups" --target acme.com
npx geo-aeo-tracker engines lists the engines and known outages. Every command takes --json. check and audit take --min-score <n> and exit with code 3 below it, so a daily GitHub Actions job can fail when your AI visibility drops. check bills Bright Data once per engine and takes 1 to 5 minutes, because it waits for the slowest engine; --engine gemini --engine google_ai limits it. The CLI reads .env.local and .env from the current folder, so it picks up the tracker's own keys when you run it in the repo. Run npx geo-aeo-tracker --help for every option.
Hand it to your AI agent. Paste this into Claude Code, Codex or Cursor, with your brand filled in:
Use the geo-aeo-tracker CLI to check how AI search sees my brand. First run
`npx -y geo-aeo-tracker skill --install`, then `npx -y geo-aeo-tracker help --json`
to learn the commands. Audit my site for free, then run one `check` with --json.
Brand: <name>. Site: <domain>. Competitors: <a, b>. A buyer question: "<question>".
BRIGHT_DATA_KEY is already in my environment. Report the average visibility, the
engines that miss us, the competitors they name instead, and the top 3 fixes.
help --json gives agents every command, flag, cost and output field; with --json even errors come back as JSON on stdout; and skill --install adds an Agent Skill to ~/.claude/skills/ so Claude Code uses the CLI on its own. Details in the CLI README.
| Route | Runtime | Purpose |
|---|---|---|
POST /api/scrape | Node.js | Bright Data AI Scrapers — query AI models for brand mentions |
POST /api/analyze | Node.js | OpenRouter LLM inference: battlecards, niche queries |
POST /api/audit | Node.js | AEO site audit — llms.txt, schema, BLUF, heading checks |
POST /api/sro-analyze | Node.js | SRO final analysis — synthesizes all data into score + recommendations |
POST /api/serp | Node.js | Bright Data SERP — organic search results for a keyword |
POST /api/site-context | Node.js | Homepage scrape + context extraction via OpenRouter |
POST /api/unlocker | Node.js | Bright Data Web Unlocker — single or batch URL scraping |
POST /api/brightdata-platforms | Node.js | 4-platform AI citation polling via Bright Data datasets |
POST /api/bulk-sro | Node.js | SSE streaming — bulk SRO analysis across multiple keywords |
POST /api/rank-signal | Node.js | SSE streaming — Rank Signal paired A/B trials for one signal (GET returns signals + allowed judge models) |
POST /api/mcp | Node.js | Remote MCP server (Streamable HTTP, stateless). Needs MCP_TOKEN as a Bearer token; see MCP server |
GET/PUT/DELETE /api/state | Node.js | Cloud KV store proxy — reads/writes to Supabase using service-role key (disabled when cloud not configured) |
All routes include input validation and error handling. Most routes use in-memory caching to minimize API costs.
| Layer | Technology |
|---|---|
| Framework | Next.js 16 + Turbopack |
| Language | TypeScript (strict) |
| Styling | Tailwind CSS v4 with @theme inline |
| Charts | Recharts |
| Validation | Zod |
| Storage | IndexedDB (idb-keyval) + localStorage, optional Supabase cloud sync |
| AI Scraping | Bright Data Web Scraper API |
| LLM Inference | OpenRouter (Gemini Flash) |
| SRO Grounding | Google Gemini API (@google/genai) |
| SERP Data | Bright Data SERP API |
| Web Scraping | Bright Data Web Unlocker |
| Deployment | Vercel |
The software is free under the MIT license. Bright Data, OpenRouter and Gemini bill per API call, so your cost depends on how many prompts and engines you run.
It tracks the 4 engines Bright Data runs an AI scraper for: ChatGPT, Perplexity, Gemini and Google AI Mode. Copilot was removed in v1.7.0 because Bright Data retired its Copilot scraper. Grok was removed in v1.5.0, and Bright Data has listed its Grok scraper as unavailable since June 2026.
On 10 November 2026 Bright Data listed its Perplexity scraper as temporarily unavailable. Perplexity runs return an error until Bright Data restores it. Outages are posted in the Bright Data release notes.
Yes. npx geo-aeo-tracker check "<prompt>" --brand <name> scores your brand in ChatGPT, Perplexity, Gemini and Google AI Mode, and npx geo-aeo-tracker audit <url> runs the GEO/AEO audit for free. See CLI.
Yes. Set MCP_TOKEN and your deploy serves an MCP endpoint at /api/mcp with four tools: list_engines, check_visibility, google_serp and audit_page. Setup is in MCP server.
Add the questions your buyers ask to the Prompt Hub and run them, or run npx geo-aeo-tracker check "<prompt>" --brand <name> --engine chatgpt. Each answer gets a visibility score from 0 to 100 from mentions, position, frequency, citations and sentiment, plus the competitors ChatGPT named and the sources it cited. Leave out --engine to compare ChatGPT with Perplexity, Gemini and Google AI Mode.
The AEO audit is free and needs no key: npx geo-aeo-tracker audit <url> checks a page for AI search readiness. Checking your brand inside AI answers calls Bright Data, which bills per call.
Yes. GEO/AEO Tracker is an MIT-licensed, self-hosted AI visibility tracker. It runs on your own API keys, keeps results in your browser or your own Supabase project, and you can change the code. Prices for paid tools are in AEO and GEO tools compared.
Results are stored in your browser (IndexedDB) by default. You can sync them to your own Supabase project. Prompts are sent to Bright Data and OpenRouter to collect and analyze the AI answers.
Yes, for live tracking: set BRIGHT_DATA_KEY. Without it the dashboard shows a sample dataset. An OpenRouter key adds the LLM analysis panels.
Yes. The Automation tab has an in-app scheduler (hourly, every 6 hours, every 12 hours or daily) that runs while the browser tab is open, and explains how to set up Vercel Cron or GitHub Actions for unattended runs.
Yes. GEO/AEO Tracker is MIT licensed and self-hosted. It tracks 4 engines, scores your visibility from 0 to 100, and shows citations and competitor battlecards. Paid plans are in AEO and GEO tools compared.
CLAUDE.md imports AGENTS.md.Accept: text/markdown.MIT — use it, fork it, ship it.
Built by Daniel Shashko
Powered by Bright Data
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
D4D4Vinci/Scrapling107k1,730 new stars in the last 7 days
Fetches web content and converts it to Markdown for an LLM to read
MOmodelcontextprotocol/servers92k166 new stars in the last 7 days
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
EVevery-app/open-seo29k533 new stars in the last 7 days
Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.
AGagentskills/agentskills28k175 new stars in the last 7 days
The search engine for AI agents: cited answers from your local code, docs, specs and logs.
XExerj-org/xerj23k1,626 new stars in the last 7 days
Run ready-made Apify scrapers to extract data from social media, maps and e-commerce sites.
APapify/apify-mcp-server19k873 new stars in the last 7 days