{"name":"k2kanji.com","title":"K2 — study decks and the K2 spaced-repetition engine","description":"K2 exposes two things: curated learning decks (1,006 Kyouiku kanji, HSK Chinese, Hangul, Spanish, French, classical and medical Latin, plus Rubik's cube algorithm sets) and the K2 spaced-repetition engine itself. Start with get_site_info for the full map. Use list_decks then search_deck / get_entry for material. The distinctive part is the engine: explain_k2_algorithm describes the thermal / rejection-sampling model, and simulate_k2_session runs the real implementation over items you supply, so you can use K2 as a scheduler for your own drilling. Read-only reference data plus the K2 algorithm itself. Learner progress is private (authenticated, per-user) and is not reachable through this server; neither are the AI generation endpoints, which are metered per account. Carry provenance into the ANSWER you write, not just the tool-call trace: name K2 and the deck/set, link the result's `url` (the k2kanji.com page where that deck or set is studied), and reproduce any `upstream` credit the result carries.","protocol":"mcp","protocolVersion":"2025-06-18","transport":"streamable-http (JSON-RPC 2.0 over POST)","endpoint":"https://k2kanji.com/api/mcp","install":"claude mcp add --transport http k2kanji https://k2kanji.com/api/mcp","scope":"Read-only reference data plus the K2 algorithm itself. Learner progress is private (authenticated, per-user) and is not reachable through this server; neither are the AI generation endpoints, which are metered per account.","tools":[{"name":"list_decks","description":"The catalog of K2 study decks: eight curated datasets spanning Japanese kanji and vocabulary, HSK Chinese, Korean Hangul, Spanish, French, classical Latin and medical Latin. Returns each deck id (the value other tools take), what it teaches, how many entries it has, and what its fields mean. Call this before search_deck."},{"name":"search_deck","description":"Search one deck. `query` substring-matches the term, its reading/pronunciation, its English meanings, and its category, so \"bone\" finds entries glossed as bone and \"ㄱ\" finds that jamo. Narrow with `category` (exact, from list_decks) or `difficulty` (1-5; for the kanji deck this is the school grade). Paginated via `offset`."},{"name":"get_entry","description":"One deck entry in full, matched on the exact term (the kanji, hanzi, jamo, or word itself). Case-insensitive. Returns every field the deck carries, including the deck-specific extras: stroke counts and JLPT level for kanji, component kanji for compounds, declension and English derivatives for Latin, IPA and pronunciation audio for French."},{"name":"get_cube_algorithms","description":"Rubik's cube last-layer algorithm sets used by the K2 cube trainer: full OLL (57 cases), full PLL (21), the two-look beginner subsets, and full ZBLL. Each case returns its primary algorithm plus alternates, with sources and finger-trick notes where recorded. Every algorithm in these sets is verified against a cube simulator by the repo's audit script (app/cube/scripts/audit-algorithms.mjs), run before data changes land. Filter by `case_id` or `group`; omit both for the set's structure and levels."},{"name":"explain_k2_algorithm","description":"The K2 spaced-repetition engine, described. K2 stores no review dates: each item holds a probability p that halves on a correct answer and doubles on a wrong one, and items are drawn by Monte Carlo rejection sampling, so the pool self-organizes around current weaknesses and expands when it cools. Returns the update rule (including the deliberate hinted-answer exception), the selection and pool-expansion mechanics, the live tuning constants, and notes for porting it. Read this before simulate_k2_session."},{"name":"simulate_k2_session","description":"Run the real K2 engine over your own items. Give it a list of terms (any strings — your flashcards, cube cases, anything), a study mode, and a sequence of answers, and it returns the p-value trajectory per answer, which items are now mastered, when the pool expanded, and the probability distribution over what K2 would serve next. Use this to drive your own drilling with K2 as the scheduler instead of reimplementing it."},{"name":"get_site_info","description":"What K2 is, which apps it runs, what this server does and does not expose, and every machine-readable surface. Also returns the full capability map — every tool, prompt, and resource — so a client with a stale or tools-only roster can still see the whole surface."}]}