Citelog
v0.1.0Can ChatGPT, Claude, Perplexity and Gemini crawl, read and cite your site?
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ai_view What AI crawlers see on a page
Fetch one page the way AI crawlers do (no JavaScript) and report what they get: words of text, headline, title, empty app root, structured data, robots.txt blocks on the main AI crawlers, and whether a firewall turns an AI-crawler request away (one extra request sent "as GPTBot"). Ends with PASS/FAIL and the fix. Use it first for "can ChatGPT/Claude/Perplexity read my page?".
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL or domain, e.g. https://example.com/pricing or example.com. |
check_readiness AI answer readiness checks
Run the ten readiness checks (indexable, robots.txt for AI crawlers, content without JavaScript, short direct answer, JSON-LD, canonical, title and description, question headings, updated date, llms.txt) on a page URL, a sitemap URL (or a site URL whose sitemap is found), or a local folder of built HTML. Returns a 0-100 score per page and for the site, worst pages first, with the fix for each failed check. Citelog has no telemetry: it fetches only the site you name.
| Parameter | Type | Description |
|---|---|---|
target * | string | A page URL, a site URL or domain (its sitemap is read), a sitemap.xml URL, or a folder of built HTML (e.g. ./dist), relative to the server's folder. |
format | string | md (default): a readable report. json: the full report with every check. |
max_pages | integer | Pages to read from a sitemap or folder (1-50, default 50). |
robots_ai robots.txt vs AI crawlers
Check a site's robots.txt (fetched from the URL's origin, or pasted text) against the catalog of AI crawlers: allowed or blocked per bot for a path, grouped as search, user-triggered and training crawlers, the readiness verdict, and a starter robots.txt block that lets AI search in and keeps training crawlers out. Answers "how do I allow GPTBot but block training?"-type questions.
| Parameter | Type | Description |
|---|---|---|
path | string | Path to evaluate, e.g. /blog/post (default: the URL's path, else /). |
robots_txt | string | robots.txt text to evaluate instead of fetching one. |
url | string | Site or page URL (or domain); robots.txt is read from its origin. Give this or robots_txt. |
llms_txt llms.txt check
Fetch a site's /llms.txt (and see whether /llms-full.txt exists) and compare it with the llmstxt.org format: H1 name, summary, link sections, Optional section. Informational, like the readiness check: evidence that AI engines read llms.txt is thin, so it never affects the score.
| Parameter | Type | Description |
|---|---|---|
url * | string | Site URL or domain; /llms.txt is read from its origin. |
crawler_info AI crawler catalog
Look up AI crawlers in the bundled catalog: name, vendor, purpose (search, user-triggered or training), robots.txt token, User-Agent substring, whether the readiness check requires it to be allowed, its official docs, and whether its published IP ranges are in the bundled snapshot (with the snapshot date). Pass a bot name, id or a full User-Agent header; omit it to list every crawler. No network.
| Parameter | Type | Description |
|---|---|---|
bot | string | Bot name or id (GPTBot, claude-searchbot) or a User-Agent string. |
purpose | string | List only crawlers with this purpose. |
parse_logs AI crawler visits from an access log
Read a local access log (nginx/Apache combined, Cloudflare Logpush JSON, Vercel log drain JSON; .gz too) and report AI crawler visits by bot and page, each verified or not against the vendors' published IP ranges (a dated snapshot bundled with the tool; nothing is looked up online). Only the counts are returned, never the log lines.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the log file, absolute or relative to the server's folder. |
format | string | Log format (default: detected from the first lines). |
prompts_plan Plan a prompt check (sends nothing)
Show what run_prompts would ask: the prompts by topic and stage, which engines have an API key set in the server's environment, and the estimated cost per engine. Sends nothing to any engine and costs nothing. Prompts and site come from the arguments or citelog.config.json in the server's folder.
| Parameter | Type | Description |
|---|---|---|
brand_terms | array | Words that count as "named" in an answer (default: brandTerms in the config, else the domain and its name). |
engines | array | Engines to ask (default: every engine whose API key is set in the server's environment). |
perception | boolean | Also judge answers that name or cite the site as positive, neutral or negative, on the OpenAI or Anthropic key (costs a little per answer). Default false. |
prompts | array | Questions people ask AI about your field. Default: "prompts" in citelog.config.json. |
site | string | Site to look for in answers (URL or domain). Default: "site" in citelog.config.json in the server's folder. |
explain_check Explain a readiness check
Why a readiness check matters for AI answers, exactly what it tests, what passes, warns and fails, its weight in the score, and how to fix it. No network.
| Parameter | Type | Description |
|---|---|---|
check * | string | Check id: indexable, robots_ai, canonical, title_meta, direct_answer, question_headings, updated_date, json_ld, no_js_content, llms_txt. |
run_prompts Ask AI engines your prompts (spends your API credit)
Ask ChatGPT, Claude, Perplexity and Gemini (each only if its API key is set in the server's environment: OPENAI_API_KEY, ANTHROPIC_API_KEY, PERPLEXITY_API_KEY, GOOGLE_API_KEY or GEMINI_API_KEY) the prompts, and report per answer whether the site was cited (linked) or named, who was cited instead, and the pages engines considered. This SPENDS the user's API credit. Without confirm: true it only returns the plan and estimated cost; show that to the user and call again with confirm: true only after they agree. API answers can differ from what people see in the consumer apps.
| Parameter | Type | Description |
|---|---|---|
brand_terms | array | Words that count as "named" in an answer (default: brandTerms in the config, else the domain and its name). |
confirm | boolean | Must be true to send anything. Ask the user first: it spends their API credit. |
engines | array | Engines to ask (default: every engine whose API key is set in the server's environment). |
perception | boolean | Also judge answers that name or cite the site as positive, neutral or negative, on the OpenAI or Anthropic key (costs a little per answer). Default false. |
prompts | array | Questions people ask AI about your field. Default: "prompts" in citelog.config.json. |
site | string | Site to look for in answers (URL or domain). Default: "site" in citelog.config.json in the server's folder. |