automatelab-tech avatar

Citation Intelligence

automatelab-tech/citation-intelligence

Gives your agent real citation data from Perplexity, Claude, ChatGPT, Gemini, and Google AI Overviews without subscribing to a $300/mo dashboard. Self-hosted via stdio, bring your own API keys. Built around seven tool namespaces: citations.provenance for cross-engine consensus on who cites what, domain.am_i_cited to check if your site shows up, competitors.compete for side-by-side visibility, and audit.schema for structured data diagnostics. Also surfaces Google Search Console gaps, Wikipedia backlinks, and bot access checks. Designed for SEO practitioners who want programmatic citation tracking in their workflow and agents that need to know which sources LLMs already trust.

GitHub stars
8
tools
24
transport
STDIO
last updated
Oct 13, 2026

Tools

24 tools

Public tool metadata for what this MCP can expose to an agent.

citations.checkReturn URLs cited by an AI engine (Perplexity, Claude, ChatGPT, Gemini, or Bing) for a query. Use this when an agent or user wants to see what sources an AI search engine grounds answers on. Requires at least one engine API key; auto-picks the first available.4 params

Return URLs cited by an AI engine (Perplexity, Claude, ChatGPT, Gemini, or Bing) for a query. Use this when an agent or user wants to see what sources an AI search engine grounds answers on. Requires at least one engine API key; auto-picks the first available.

Parameters* required
enginestring
Engine to query. • perplexity / google_ai_mode — consumer_scrape: closest to real product behavior. • claude / openai / gemini — api_proxy: API-tier call, may differ from consumer product. • bing_s...one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
max_resultsinteger
Maximum citations to return.default: 10
perplexity_modelstring
Perplexity model override (e.g. 'sonar', 'sonar-pro', 'sonar-reasoning'). Only used when engine='perplexity'. Defaults to 'sonar-pro'.
querystring
The search query to test (what would a user ask an AI?)
domain.am_i_citedCheck whether a domain is cited by an AI engine across a cluster of queries. Returns per-query presence, rank, and a citation-rate summary. Use to measure visibility for a brand, product, or content site in AI search.3 params

Check whether a domain is cited by an AI engine across a cluster of queries. Returns per-query presence, rank, and a citation-rate summary. Use to measure visibility for a brand, product, or content site in AI search.

Parameters* required
domainstring
Domain to check, e.g. 'automatelab.tech' (without protocol).
enginestring
LLM engine to check for citations. 'auto' runs all available LLM engines and returns per-engine breakdown + cross-engine consensus. Pin to a specific engine to reduce cost. 'bing_serp' and 'brave_s...one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
queriesarray
Queries to test the domain against. 1-20 queries per call.
signals.ai_overviewCheck whether Google shows an AI Overview for a query, and which URLs it cites. Uses SerpAPI (free tier: 100/month). Set SERPAPI_KEY.3 params

Check whether Google shows an AI Overview for a query, and which URLs it cites. Uses SerpAPI (free tier: 100/month). Set SERPAPI_KEY.

Parameters* required
hlstring
Language code, default 'en'.default: en
locationstring
Location string, e.g. 'United States'. Affects AI Overview eligibility.
querystring
Search query to check for Google AI Overview.
domain.cited_forList queries that the given domain has been cited for, served from the local cache. Build up a corpus by calling check_citations or am_i_cited first; cited_for queries it without spending API budget.4 params

List queries that the given domain has been cited for, served from the local cache. Build up a corpus by calling check_citations or am_i_cited first; cited_for queries it without spending API budget.

Parameters* required
domainstring
Domain to look up, e.g. 'automatelab.tech'.
enginestring
Filter by engine. Omit to include all.one of perplexity · claude · openai · gemini · bing_serp · brave_serp
limitinteger
Maximum results.default: 50
sincestring
ISO date floor, e.g. '2026-01-01'. Only return entries fetched on or after this date.
citations.predictScore citation likelihood for a URL from public signals (Wikipedia link presence, schema.org markup, /llms.txt, GitHub and Reddit references, canonical hygiene, HTTPS). No LLM fired - all heuristic. Returns 0-100 score, grade, signal breakdown, and ranked fixes.1 params

Score citation likelihood for a URL from public signals (Wikipedia link presence, schema.org markup, /llms.txt, GitHub and Reddit references, canonical hygiene, HTTPS). No LLM fired - all heuristic. Returns 0-100 score, grade, signal breakdown, and ranked fixes.

Parameters* required
urlstring
URL to score for citation likelihood. Must be absolute http(s).
panel.trackSave, load, or list named query panels. A panel is a persisted set of queries you want to monitor over time (e.g. editorial-watchlist). Use action=save with queries[] to create, action=load to read, action=list to enumerate. Panels live under <config>/panels/<name>.json.4 params

Save, load, or list named query panels. A panel is a persisted set of queries you want to monitor over time (e.g. editorial-watchlist). Use action=save with queries[] to create, action=load to read, action=list to enumerate. Panels live under <config>/panels/<name>.json.

Parameters* required
actionstring
'save' writes the panel, 'load' returns an existing panel, 'list' enumerates all panels.one of save · load · listdefault: save
domainstring
Default domain to track for this panel, e.g. 'automatelab.tech'.
namestring
Panel name, e.g. 'editorial-watchlist'. Used to save and recall the query set.
queriesarray
Queries to save under this panel. Omit to read the existing panel.
panel.runRun a saved panel through am_i_cited and append a timestamped snapshot. Snapshots live under <config>/snapshots/<panel>/<iso>.json. Feeds citation_trend.3 params

Run a saved panel through am_i_cited and append a timestamped snapshot. Snapshots live under <config>/snapshots/<panel>/<iso>.json. Feeds citation_trend.

Parameters* required
domainstring
Override the panel's default domain for this run.
enginestring
AI engine to query. Use bing_serp/brave_serp for web_rank comparison only — am_i_cited will refuse them.one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
namestring
Panel name previously saved via track_queries.
citations.trendReport citation rate over time for a panel from stored snapshots. Returns the series of citation_rate per snapshot plus per-query deltas (gained/lost/unchanged) between first and last snapshot.2 params

Report citation rate over time for a panel from stored snapshots. Returns the series of citation_rate per snapshot plus per-query deltas (gained/lost/unchanged) between first and last snapshot.

Parameters* required
panelstring
Panel name to report on.
sincestring
ISO date floor, e.g. '2026-01-01'. Only include snapshots on or after.
competitors.compareRun predict_citation on 2-10 URLs and return a side-by-side signal table plus a list of signals where the URLs diverge. Use to compare your URL to top-cited competitors for the same query.1 params

Run predict_citation on 2-10 URLs and return a side-by-side signal table plus a list of signals where the URLs diverge. Use to compare your URL to top-cited competitors for the same query.

Parameters* required
urlsarray
URLs to compare side-by-side. 2-10 URLs. One is typically yours and the rest are cited competitors.
signals.wikipediaList Wikipedia articles that reference the given domain. Wikipedia citation is the highest-lift signal for LLM training corpora. Zero keys required.3 params

List Wikipedia articles that reference the given domain. Wikipedia citation is the highest-lift signal for LLM training corpora. Zero keys required.

Parameters* required
domainstring
Domain to search for, e.g. 'automatelab.tech' (without protocol).
langstring
Wikipedia language subdomain, e.g. 'en', 'de', 'fr'.default: en
limitinteger
Maximum mention rows to return.default: 20
audit.sitemapFetch a sitemap.xml (or sitemap index) and run predict_citation on every URL. Returns results sorted worst-score-first. Surfaces systemic issues across a whole site in one pass. Zero engine keys needed.3 params

Fetch a sitemap.xml (or sitemap index) and run predict_citation on every URL. Returns results sorted worst-score-first. Surfaces systemic issues across a whole site in one pass. Zero engine keys needed.

Parameters* required
concurrencyinteger
Parallel predict_citation calls. Higher is faster but more rate-limit risk.default: 3
limitinteger
Max URLs to score. Sitemap is sliced after parsing.default: 50
sitemap_urlstring
URL of sitemap.xml (or a sitemap index). Nested sitemaps are followed.
competitors.competeEnd-to-end competitive snapshot for a single query. Calls check_citations to get the cited URLs, then runs compare_domains on your_url vs the top cited competitors. Returns your score, the average competitor score, and the gap.4 params

End-to-end competitive snapshot for a single query. Calls check_citations to get the cited URLs, then runs compare_domains on your_url vs the top cited competitors. Returns your score, the average competitor score, and the gap.

Parameters* required
enginestring
AI engine to query for the citation set. 'auto' picks the first available key.one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
max_competitorsinteger
How many cited URLs to compare against your_url. Capped at 9 (compare_domains accepts max 10 URLs total including yours).default: 4
querystring
Search query to test (what would a user ask an AI?).
your_urlstring
Your URL to benchmark against the cited competitors.
citations.freshnessScore how recent the pages cited for a query are. Calls check_citations, then collects dateModified for each cited URL, returns a 0-100 recency_score (halflife=365d) plus per-URL freshness bucket (fresh/current/stale/ancient/unknown). Surfaces queries where AI cites old conten...3 params

Score how recent the pages cited for a query are. Calls check_citations, then collects dateModified for each cited URL, returns a 0-100 recency_score (halflife=365d) plus per-URL freshness bucket (fresh/current/stale/ancient/unknown). Surfaces queries where AI cites old conten...

Parameters* required
enginestring
AI engine to query for the citation set.one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
max_resultsinteger
How many cited URLs to inspect.default: 10
querystring
Search query whose cited URLs to score for freshness.
domain.cited_for_diffDiff cited_for between two time windows for a domain. Returns queries gained (cited now, not before baseline_until) and queries lost (cited before, not since current_since). Cache-only, no API spend. Use to track citation drift over time after publishing or migrating content.4 params

Diff cited_for between two time windows for a domain. Returns queries gained (cited now, not before baseline_until) and queries lost (cited before, not since current_since). Cache-only, no API spend. Use to track citation drift over time after publishing or migrating content.

Parameters* required
baseline_untilstring
ISO date (or ISO datetime). Baseline window = all cache entries fetched on or before this timestamp.
current_sincestring
ISO date floor for the 'current' window. Defaults to baseline_until.
domainstring
Domain to diff, e.g. 'automatelab.tech'.
enginestring
Filter by engine. Omit to include all.one of perplexity · claude · openai · gemini · bing_serp · brave_serp
signals.gsc_gapJoin Google Search Console performance with am_i_cited per query. Surfaces queries where the domain ranks well in Google but is not cited in AI - the closest editorial wins. Requires GCP service account creds (credentials_path or GOOGLE_APPLICATION_CREDENTIALS env).7 params

Join Google Search Console performance with am_i_cited per query. Surfaces queries where the domain ranks well in Google but is not cited in AI - the closest editorial wins. Requires GCP service account creds (credentials_path or GOOGLE_APPLICATION_CREDENTIALS env).

Parameters* required
credentials_pathstring
Path to GCP service account JSON. Defaults to env GOOGLE_APPLICATION_CREDENTIALS.
domainstring
Domain to analyze, e.g. 'automatelab.tech'. Used both for the GSC site URL and the citation check.
end_datestring
ISO date for GSC range end, e.g. '2026-05-01'.
enginestring
AI engine for the citation check.one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
queriesarray
Queries to cross-reference. 1-20 per call.
site_urlstring
Override the GSC siteUrl. Defaults to 'sc-domain:<domain>'.
start_datestring
ISO date for GSC range start, e.g. '2026-04-01'.
audit.schemaDeep schema.org validation for a URL. Parses every JSON-LD block and microdata node, checks required fields per @type (Article needs headline+author+datePublished, FAQPage needs mainEntity, HowTo needs step, etc.), and flags missing fields and malformed JSON-LD. Returns issues...1 params

Deep schema.org validation for a URL. Parses every JSON-LD block and microdata node, checks required fields per @type (Article needs headline+author+datePublished, FAQPage needs mainEntity, HowTo needs step, etc.), and flags missing fields and malformed JSON-LD. Returns issues...

Parameters* required
urlstring
URL whose JSON-LD and microdata to validate against schema.org expected fields.
audit.llms_txtGenerate an llms.txt file (https://llmstxt.org spec) from a sitemap. Parses sitemap.xml + nested indexes, groups URLs by top-level path, and emits a Markdown document with H1+description+sectioned link lists. Set fetch_titles=true to pull <title> per URL (slower, richer output).5 params

Generate an llms.txt file (https://llmstxt.org spec) from a sitemap. Parses sitemap.xml + nested indexes, groups URLs by top-level path, and emits a Markdown document with H1+description+sectioned link lists. Set fetch_titles=true to pull <title> per URL (slower, richer output).

Parameters* required
fetch_titlesboolean
If true, fetch each URL to extract <title> for richer links. Slower (one HEAD-ish GET per URL). Default false uses the URL path as the link text.default: false
limitinteger
Max URLs to include. Truncated after sitemap parse, before title fetch.default: 100
site_descriptionstring
One-paragraph site description placed under the H1. Optional but strongly recommended.
site_titlestring
Site title - top H1 in the generated llms.txt file.
sitemap_urlstring
URL of sitemap.xml (or sitemap index). Nested sitemaps are followed.
signals.answer_boxLocate where each cited URL appears in the AI's raw answer text. Calls check_citations, finds the first mention of each citation's URL (or hostname) in raw_answer, and bins by char position into early/middle/late thirds. Surfaces whether your URL is cited up-front or buried ne...3 params

Locate where each cited URL appears in the AI's raw answer text. Calls check_citations, finds the first mention of each citation's URL (or hostname) in raw_answer, and bins by char position into early/middle/late thirds. Surfaces whether your URL is cited up-front or buried ne...

Parameters* required
enginestring
AI engine to query. web_rank engines (bing_serp, brave_serp) lack raw_answer and will return position 'unknown'.one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
max_resultsinteger
Max citations to locate.default: 10
querystring
Search query whose AI answer to measure citation positions on.
citations.provenanceFan a query out across multiple AI engines and report per-URL cross-engine consensus. Returns each unique cited URL with the list of engines that cited it, plus a consensus_urls list (URLs cited by ALL engines). High engine_count = strong cross-engine citation signal; engine_c...3 params

Fan a query out across multiple AI engines and report per-URL cross-engine consensus. Returns each unique cited URL with the list of engines that cited it, plus a consensus_urls list (URLs cited by ALL engines). High engine_count = strong cross-engine citation signal; engine_c...

Parameters* required
enginesarray
Engines to query. If omitted, uses all LLM engines with a configured API key (perplexity, claude, openai, gemini, google_ai_mode). Include bing_serp/brave_serp only when you explicitly want web_ran...
max_resultsinteger
Max citations per engine.default: 10
querystring
Search query to fan out across multiple engines.
citations.evidenceExtract the cited snippet from the AI engine's raw answer for each citation. Calls check_citations, then for each returned URL finds the first mention in raw_answer and returns a context window plus the nearest quoted span or containing sentence. Use to see *why* an engine cit...4 params

Extract the cited snippet from the AI engine's raw answer for each citation. Calls check_citations, then for each returned URL finds the first mention in raw_answer and returns a context window plus the nearest quoted span or containing sentence. Use to see *why* an engine cit...

Parameters* required
context_charsinteger
Half-width of the snippet window around each citation mention (chars). Total snippet is up to 2x this.default: 240
enginestring
AI engine to query. web_rank engines (bing_serp, brave_serp) lack raw_answer and return no evidence.one of perplexity · claude · openai · gemini · bing_serp · brave_serpdefault: auto
max_resultsinteger
Max citations to extract evidence for.default: 10
querystring
Search query whose AI answer to extract citation evidence from.
audit.crawler_accessVerify that major AI crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended, Applebot-Extended, Bytespider, Meta-ExternalAgent, plus real-time fetch UAs) can fetch a URL. Parses robots.txt and does a live GET with each bot's User-Agent. Surfaces robo...3 params

Verify that major AI crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended, Applebot-Extended, Bytespider, Meta-ExternalAgent, plus real-time fetch UAs) can fetch a URL. Parses robots.txt and does a live GET with each bot's User-Agent. Surfaces robo...

Parameters* required
botsarray
Override the default bot list. Each entry is a User-Agent token (e.g. 'GPTBot', 'ClaudeBot').
fetch_with_uaboolean
If true, do a live GET as each bot's User-Agent and report status. Disable to only parse robots.txt (no extra requests).default: true
urlstring
Page URL to test for AI crawler access.
audit.sitemap_mapCross-reference a sitemap with the citation cache. For each sitemap URL, reports whether it appears in cached citations (and how many queries/engines cited it). Inverse of audit_sitemap: not 'how citable is each URL', but 'has each URL actually been cited yet'. Cache must be p...4 params

Cross-reference a sitemap with the citation cache. For each sitemap URL, reports whether it appears in cached citations (and how many queries/engines cited it). Inverse of audit_sitemap: not 'how citable is each URL', but 'has each URL actually been cited yet'. Cache must be p...

Parameters* required
domainstring
Domain to look up citations for. If omitted, inferred from the sitemap host.
limitinteger
Max sitemap URLs to consider.default: 500
sincestring
ISO date floor; only count citations recorded on or after this date.
sitemap_urlstring
URL of sitemap.xml (or a sitemap index). Nested sitemaps are followed.
competitors.canonical_setFan a query across engines and aggregate citations by registered domain (not URL). Returns top competitor domains ranked by cross-engine consensus, with per-engine breakdown and top URLs per domain. Use to identify the canonical competitor set for a query - the domains every e...5 params

Fan a query across engines and aggregate citations by registered domain (not URL). Returns top competitor domains ranked by cross-engine consensus, with per-engine breakdown and top URLs per domain. Use to identify the canonical competitor set for a query - the domains every e...

Parameters* required
enginesarray
Engines to query. If omitted, uses all LLM engines with a configured API key (google_ai_mode, perplexity, claude, openai, gemini). Include bing_serp/brave_serp only for web_rank comparison.
exclude_domainsarray
Domains to filter out (e.g. your own brand, Wikipedia, Reddit). Suffix-match.
max_resultsinteger
Max citations per engine.default: 10
querystring
Search query to fan out across engines.
top_ninteger
Max competitor domains to return.default: 10
audit.structured_dataSuggest missing JSON-LD additions for a URL. Fetches the page, detects existing schema types, and returns ready-to-paste templates for types that are missing but signalled by page content (BlogPosting from og:type=article or bylines, FAQPage from Q&A pairs, HowTo from numbered...1 params

Suggest missing JSON-LD additions for a URL. Fetches the page, detects existing schema types, and returns ready-to-paste templates for types that are missing but signalled by page content (BlogPosting from og:type=article or bylines, FAQPage from Q&A pairs, HowTo from numbered...

Parameters* required
urlstring
URL to inspect for missing JSON-LD. The page is fetched and its content signals are used to suggest schema types.

Sponsors

Readme

Citation Intelligence MCP

A free, self-hosted MCP server that tells your agent what LLMs cite - across Perplexity, Google AI Overviews, ChatGPT, Claude, Gemini, and Bing.

npm version license node CI

What this is

An MCP server for agents and developers who need to know which URLs get cited by AI search engines for any query. Install once, query from any MCP-compatible client (Claude Desktop, Cursor, Claude Code, Continue, Cline, n8n, LangGraph). Self-hosted, no account, no centralized backend. Bring your own API keys; nothing is stored on a remote server.

Who this is for

Install this if you're:


View the full README on GitHub

Details

Repository
github.com/automatelab-tech/citation-intelligence
Website
automatelab.tech/products/mcp/citation-intelligence
Category
AI & LLM Tools
Package
@automatelab/citation-intelligence
Transport
STDIO
Registry
MCP registry, active

More from automatelab-tech

Related AI & LLM Tools MCP servers

View all
1strato-space avatarMedia Gen Mcpstrato-space/media-gen-mcpMCP server for OpenAI Images/Videos and Google GenAI (Veo) media generation.8stars
2htmlcsstoimage avatarHTML/CSS to Image APIhtmlcsstoimage/agent-pluginsGenerate images and PDFs from HTML/CSS, live websites, and reusable templates.0stars
3jasondostal avatarCairnjasondostal/cairn-mcpPersistent memory for AI agents and humans. Store, search, and discover patterns.7stars
4louis49 avatarMelchizedeklouis49/melchizedekPersistent memory for Claude Code — offline, single-file, hybrid search.7stars
5paarths-collab avatarGitHub PR Contextpaarths-collab/github-pr-context-mcpRetrieves GitHub PR history as context material; the connected IDE agent does the reasoning.7stars
6agenerationforwordz-tech avatarStrataagenerationforwordz-tech/strataSelf-hosted AI memory server. Persistent memory on your hardware, not the cloud.6stars