Self-hostable context memory for LLMs, served as a remote MCP server on Cloudflare Workers.
Curate Markdown about yourself, your work, and your preferences — Claude pulls it automatically
instead of you re-pasting it every session.
What works
- Read tools:
get_context,list_sections,get_meta— pull curated context, gated byREAD_TOKEN - Write tools:
append_journal,list_journal— agents leave notes, gated byWRITE_TOKEN; never touches curated content - Manual promotion gate:
npm run promotereviews the journal, you hand-pick what becomes permanent - Dual auth: plain Bearer token (Claude Code CLI) and OAuth via DCR (claude.ai connector UI), both converging on
/mcp - OAuth login gate:
/authorizepage requires yourREAD_TOKENbefore issuing any grant — no anonymous token minting - 100/100 tests passing
Verified live
Connected and exercised end-to-end against a deployed Worker — both the Claude Code CLI bearer-token
path and the claude.ai OAuth connector path, KV bindings live, journal round-trip confirmed.
Docs
Full setup in README.md.
Threat model in SECURITY.md.
Live landing page: https://dkritarth.github.io/context-kernel/