Knocklog

v1.0.1
io.github.leonlesenechal/knocklog Checked 2 days ago Published 25 days ago

See how a website treats AI agents, and check whether a ChatGPT, Claude or Perplexity visit is real.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_site Scan a site for AI-agent readiness

Checks a public website from the outside: which AI agents its robots.txt allows or blocks (training crawlers, AI search crawlers, user-triggered assistants), whether its content is readable without JavaScript, and whether it offers llms.txt and markdown. Returns a 0–100 score, a grade and prioritised findings with recommendations. Takes a few seconds.

ParameterTypeDescription
domain *stringDomain or URL, e.g. example.com

classify_request Identify and verify one HTTP request

Identifies whether a request comes from an AI agent, which one, what kind (training, AI search, user-triggered, agentic browser…) and whether its identity is verified or spoofed, using what each operator publishes (IP lists, reverse DNS, Web Bot Auth signatures; see https://knocklog.ai/agents). Pass the client IP, the full request URL and all request headers for the most complete check.

ParameterTypeDescription
headersobjectRequest headers
ipstringClient IP as seen by the server
methodstringHTTP method of the request (default GET)
urlstringFull request URL
user_agentstringThe User-Agent header of the request, exactly as received

list_known_agents List known AI agents

Returns the directory of known AI agents and crawlers: operator, class, robots.txt token, whether they honour robots.txt, and how each can be verified. Optionally filter by agent_class.

ParameterTypeDescription
agent_classstringOnly agents of this kind, e.g. training_crawler, ai_search_crawler or user_action_agent