Skip to main content
Glama

citewatch

Watch who AI answers cite. citewatch measures whether AI answer engines — Perplexity, ChatGPT/OpenAI, Doubao, and more — cite your brand or website, how often, in what position, and against which competitors. It ships as an MCP server, a Claude Code skill, and a CLI, all running locally on your own API keys.

中文说明

Why another GEO tool?

Most tools score your site's readiness or scrape consumer apps through grey-area services. citewatch measures actual citation outcomes over time, with a methodology extracted from four rounds of real retests against production engines:

  • Per-channel denominators, never merged. api:perplexity-sonar and manual:doubao-app are different systems; their rates are reported separately, always with denominators (2/9, not just 22%).

  • Unmeasured ≠ zero. A question blocked by a login wall, captcha or rate limit is excluded from the denominator and disclosed — never scored as 0%. A fully blocked round is unobservable.

  • Inline vs source-list grading, with source-list positions.

  • Continuity: cited days ÷ observable days per page. One round is a sample; continuity is the trend.

  • Competitor share of voice plus the "competitor cited, you weren't" question list — your content gaps, in order.

  • Official APIs + manual import only. No consumer-UI automation, no login-wall bypassing, no scraping. Consumer surfaces (Doubao app, ChatGPT app) are measured by importing answers you collected yourself.

Related MCP server: gaio

See it on real data

examples/aiunlockhub/ contains four real retest rounds (2025-11-30 → 2025-12-05) measuring a live content site across Perplexity, ChatGPT and Doubao — including the round where every platform was behind a login wall. The generated report reproduces the hand-kept log exactly:

  • Observable days: 3 (the fully blocked 2025-12-01 round is excluded, not zeroed)

  • Page 022 (childcare subsidy guide): cited 3/3 observable days, position improving 5 → 5 → 3, upgraded from list-only to inline

  • Page 035 (gold futures V-reversal): cited 3/3

  • Page 013 (A-share rally): cited 1/3 — appeared once at position 20/20, gone next round

Run it yourself: npm run demo.

Quick start

Requires Node ≥ 20.

export PERPLEXITY_API_KEY=...   # and/or OPENAI_API_KEY
npx citewatch init --brand "Acme" --domains acme.com --competitors "Rival:rival.io"
npx citewatch questions --template --category "widgets"
npx citewatch estimate --platforms perplexity,openai
npx citewatch run --platforms perplexity,openai --yes
npx citewatch report --site-check

Reports land in .citewatch/reports/ as Markdown and single-file HTML. All state is JSON in .citewatch/ — git-friendly, diffable, yours. Raw API responses are archived per round so detection can be replayed later.

Measure a consumer surface (e.g. the Doubao app) by asking the questions yourself and importing:

npx citewatch import --label doubao-app --file entries.json

MCP server

{
  "mcpServers": {
    "citewatch": { "command": "npx", "args": ["-y", "citewatch", "mcp"] }
  }
}

11 tools: geo_init_project, geo_set_questions, geo_estimate_cost, geo_run_audit (requires cost confirmation), geo_import_manual, geo_get_metrics, geo_compare_rounds, geo_check_site, geo_suggest_fixes, geo_generate_report, geo_list_rounds.

Claude Code skill

The geo-audit skill (skills/geo-audit/) walks an agent through the full loop: question design → cost estimate → audit → interpretation → fixes → re-test scheduling, with the methodology discipline built in. Install via the plugin manifest (.claude-plugin/plugin.json) or copy the folder into .claude/skills/. The skill format is the cross-tool Agent Skills standard, so it also works in Codex, Cursor and other compatible agents.

What it measures / what it doesn't

Measures: citation rate, inline citation rate, mention rate, competitor share of voice, source-list positions, cited pages, multi-round continuity — per channel, with denominators, from official APIs and human-collected consumer data.

Doesn't: guarantee citations, automate consumer apps, bypass login walls or captchas, scrape Google AI Overviews, or collapse everything into a single "AI score". API surfaces are not consumer surfaces, and every report says so. See docs/methodology.md.

Cost

citewatch is free. API runs cost your provider's prices (≈ $0.28 per 30-question Perplexity round at the 2025-12-05 verified table); every run prints an estimate first and requires confirmation. See docs/pricing.md.

Roadmap

  • v0.2: DeepSeek and Qwen runners (interfaces reserved; parsers pending live-response verification)

  • v1.1: Claude and Grok runners; Doubao Search API channel (labelled as the API surface, never the app)

  • Not planned: Gemini grounding (terms restrict link storage), any consumer-UI automation

See docs/runners-roadmap.md.

Development

npm install
npm run demo   # builds the demo project + report, verifies acceptance numbers
npm test       # 32 tests: detection, denominators, continuity, runners, reports

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables auditing a site for SEO and AI-engine visibility, working the queue of measured problems, and checking whether fixes moved rankings or citations.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents to onboard a brand, generate and edit prompts, launch AI-visibility runs across multiple engines in the background, and pull daily reports, trends, gaps and raw answers. It exposes brand positioning metrics such as visibility, sentiment, citations and share of voice as callable tools.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables asking real customer prompts to AI engines with web search (OpenAI, Gemini, and optionally DataForSEO) and storing every answer with its cited sources, then scoring them into mention rate, citation rate, share of voice against competitors, most-cited domains, and prompts where competitors appear but the brand does not. Includes dry-run-by-default cost planning, spend caps and resumable per-day caching so tracking can be run repeatedly as a trend over time.
      15
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables read-only audits of AI crawler access, llms.txt and agent readiness, brand presence across Wikidata, Wikipedia, news, research and developer communities, and Search Console, Bing and Brave reporting.
      13
      -