Citelog

v0.1.0
io.github.kunoluapps/citelog Checked 2 days ago Published 8 days ago

Can 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?".

ParameterTypeDescription
url *stringPage 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.

ParameterTypeDescription
target *stringA 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.
formatstringmd (default): a readable report. json: the full report with every check.
max_pagesintegerPages 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.

ParameterTypeDescription
pathstringPath to evaluate, e.g. /blog/post (default: the URL's path, else /).
robots_txtstringrobots.txt text to evaluate instead of fetching one.
urlstringSite 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.

ParameterTypeDescription
url *stringSite 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.

ParameterTypeDescription
botstringBot name or id (GPTBot, claude-searchbot) or a User-Agent string.
purposestringList 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.

ParameterTypeDescription
path *stringPath to the log file, absolute or relative to the server's folder.
formatstringLog 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.

ParameterTypeDescription
brand_termsarrayWords that count as "named" in an answer (default: brandTerms in the config, else the domain and its name).
enginesarrayEngines to ask (default: every engine whose API key is set in the server's environment).
perceptionbooleanAlso 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.
promptsarrayQuestions people ask AI about your field. Default: "prompts" in citelog.config.json.
sitestringSite 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.

ParameterTypeDescription
check *stringCheck 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.

ParameterTypeDescription
brand_termsarrayWords that count as "named" in an answer (default: brandTerms in the config, else the domain and its name).
confirmbooleanMust be true to send anything. Ask the user first: it spends their API credit.
enginesarrayEngines to ask (default: every engine whose API key is set in the server's environment).
perceptionbooleanAlso 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.
promptsarrayQuestions people ask AI about your field. Default: "prompts" in citelog.config.json.
sitestringSite to look for in answers (URL or domain). Default: "site" in citelog.config.json in the server's folder.