Privacy policy
headlesson is operated by GOTOKU Co., Ltd. (https://gotoq.jp/).
The privacy contact is privacy@headlesson.com (fixed on 2026-10-10). Mail is forwarded to the operator's inbox. On 2026-10-14 we confirmed that a message sent from an outside address was received. Written and checked: 2026-10-14. Usage counts section added: 2026-10-15. This is an English translation of the Japanese privacy policy.
What we collect and why
To improve the catalog, headlesson records the tool arguments and feedback that are explicitly sent to it. It does not take whole conversations. Do not put personal information, conversation text or secrets in free text such as query or feedback. Free text is not removed automatically.
Search records store the inputs query / where / axes / sort / ids. Get records store id / sections. Change-list records store since / kinds / about / limit. We also store a record ID, the time, the tool name, the returned IDs, not_found, unknown_axes, curated_not_found (no curated match for a search), and the Mcp-Session-Id sent by the client. No session is created under the new MCP protocol. The search limit, IP address, User-Agent, authorization header and other protocol metadata are not stored in the app's D1 records (except entry, cli_version, operator_tag and agent_class, which the usage counts below reduce to fixed forms).
Feedback is stored once in a separate table and includes text / kind / optional about, client and model / a receipt ID and the time. Its text is not stored again in query_log. Feedback about headlesson itself is sufficient. The text is treated as data, not as instructions to execute. Receipt does not mean independent verification, adoption or publication.
Usage counts (usage_events)
To learn how headlesson is used and improve the catalog and its entry points, we count web fetches, and MCP tool calls that reach the tool handler, as rows of fixed category values. The columns are day (the UTC date only) / entry (web, mcp or cli) / command (the tool name, or the fetch method and the type of public path, such as GET /apps/:slug) / record_id (a public record ID, or a fixed label such as other or registry_live) / lesson_requested (whether a get asked for the lesson; whether a lesson was actually returned is not recorded) / result_count (the number of results) / duration_ms (the time taken, rounded down to a fixed step) / error_kind (the kind of failure) / not_found_kind (the kind of search with no curated match) / registry_status (the state of the Registry lookup) / cli_version (the version the CLI declares; other if it is not in the fixed form) / operator_tag (the operator's check tag, only in the form op- followed by 12 hex digits; any other Mcp-Session-Id is not put in this table) / agent_class (web page fetches only: a rough kind decided from the User-Agent, one of browser, ai_user (fetched by an AI at a person's request, such as ChatGPT-User or Claude-User), crawler (search or AI crawlers), tool (tools such as curl, or an automated browser) or unknown; the User-Agent value itself is not stored; it is decided from a self-declared value, so it is not proof; it is empty for MCP and CLI rows, for fetches of robots.txt, sitemap.xml and llms.txt, and for rows before 31 October 2026). Failed writes are counted per day in usage_write_failures.
An entry of cli is a self-declared category taken from the name the client declares (MCP clientInfo, or the X-Headlesson-Client header). It does not show whether a person or an AI made the call, or whether users are distinct. Web counts are page fetches, not pages read. The favicon and images are not counted. Fetches of robots.txt, sitemap.xml and llms.txt are counted in the same table, but the report shows them apart from page fetches, as auxiliary file fetches, and does not treat them as page views.
What is counted has limits. Calls rejected before the tool handler, at the MCP protocol level or by argument type checks (an unknown tool, or an argument of the wrong type or out of range), are not counted, so failure rates are over handled calls only. usage_events and usage_write_failures are in the same database, and the failure count cannot be recorded when the same database is unavailable. The counts are a lower bound, and completeness is not guaranteed. A day with no rows is not treated as a day of zero use.
This table does not store search text, response bodies, feedback text, conversations, environment variables, file locations, arbitrary header values (other than the fixed forms of operator_tag and cli_version above and the agent_class kind decided from the User-Agent), referrers, IP addresses, User-Agent, URL query strings or any time finer than the day. No long-lived device ID or fingerprint is created. agent_class is one of five labels and is not used to identify devices or people. Because there is no evidence linking search, get and lesson into one sequence, only the count at each stage is kept. Failures where the CLI never reaches the server cannot be measured on the server.
The search records (query_log) above still store the inputs, including the search text. Adding usage counts does not change what query_log stores.
How long we keep it
query_log entries older than 90 days are eligible for deletion. Deletion is set to run daily at 03:00 UTC, so while the daily job works normally the longest retention is about 91 days. If it fails, the operator restores it and runs the deletion again. The usage counts (usage_events and usage_write_failures) are deleted by the same daily job once their day is more than 90 days old. Because they hold only the date, the longest retention is also about 91 days. Cloudflare's run records show that the scheduled deletion in production started and succeeded every day from 10 to 14 October 2026. Because the oldest record is from 9 October 2026, we have not yet confirmed that a record older than 90 days was actually deleted.
Restore copies made by Cloudflare D1 Time Travel are separate from deletion in the live table. The Free plan keeps up to 7 days for restoring. The roughly 91 days above is the deletion limit for the live query_log when it works normally; it does not guarantee removal from restore copies at the same time. The actual settings for restore copies are still being checked.
Feedback is kept for editing and improvement, with no automatic retention limit. This is separate from the 90 days for search records.
Where it is stored and third parties
headlesson runs on Cloudflare Workers, and records are stored in Cloudflare D1. Checking the storage and deletion operations in production is not yet complete. The app does not give these records to third parties for advertising or analytics, and does not publish record text. The operator does review it for editing. The usage counts are for the operator to read by day and week; there is no public dashboard and rows are not distributed.
We use the Official MCP Registry's name search as a supplement. Only when there are no curated candidates, or when registry is requested with include, we remove common words from the query and send one longest ASCII word (ties broken in dictionary order), or a specified public namespace name (up to 200 characters), to registry.modelcontextprotocol.io with a GET request. The full query is not sent; only the one extracted word is sent. Queries matching known patterns such as URLs, email addresses, phone numbers or credentials, and searches with only IDs, only common words or only where, are not forwarded. A get on a live Registry ID sends the official name recovered from the ID to the same upstream detail API. This is not a feature that detects or removes secrets automatically. Do not put secrets or personal information in public names either.
The app does not permanently store Registry response bodies, a candidate catalog or an ID-to-name mapping, and does not keep them in an app cache. The usual search records, such as the query and returned IDs, are stored. A live ID is in a form from which the official name can be recovered, so that name can be read from a recorded returned ID. We do not forward users' authorization, User-Agent, MCP session or conversation text upstream. The lookup word and the traffic are processed by the upstream service and the hosting provider, and headlesson does not guarantee how they are stored upstream.
Cloudflare processes traffic and data as the hosting provider. "The app does not store IP addresses and the like in D1" does not mean the platform handles none of the information needed for the traffic. Worker stored logs, invocation logs, traces and logpush are disabled in the production settings. Checking the account-side settings and actual operation is not yet complete.
Privacy contact: privacy@headlesson.com. Official public channel for humans: Threads @head.lesson.