TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph MCP Server
Basic information
About TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph MCP Server
Distill AI coding sessions (Claude Code / Codex / Cursor) into weekly reports, ADRs, incident reviews and a knowledge graph — local-first, evidence-linked.
TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by johnnywuj81. Runtime: python. License: MIT. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: ai-agents, claude, claude-code, codex, cursor.
Setup
{
"mcpServers": {
"tokenknows": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
".venv/bin/pip",
"install",
"-e",
".[dev]"
]
}
}
}
{
"mcpServers": {
"tokenknows": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
".venv/bin/pip",
"install",
"-e",
".[dev]"
]
}
}
}
{
"servers": {
"tokenknows": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
".venv/bin/pip",
"install",
"-e",
".[dev]"
]
}
}
}
TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tokenknows": {
"command": "python3",
"args": [
"-m",
"venv",
".venv",
"&&",
".venv/bin/pip",
"install",
"-e",
".[dev]"
]
}
}
}
TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph?
TokenKnows automatically captures AI coding sessions (from tools like Claude Code, Codex, and Cursor) and distills them into structured knowledge assets such as weekly reports, ADRs, and a knowledge graph. It is for developers who want to preserve decisions and insights from AI pair-programming sessions.
How to use TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph?
Install the TokenKnows backend (FastAPI) and web UI, then add the MCP plugin for your AI tool (Claude Code, Codex, Cursor, or VS Code). The plugin provides MCP tools like submit_session_events and distill_document, plus slash commands like /tokenknows:weekly. Run the backend with uvicorn app.main:app and frontend with npm run dev.
Key features of TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph
- Captures AI coding sessions from Claude Code, Codex, Cursor, and more.
- Distills into seven asset types including weekly reports, ADRs, and incident reviews.
- Every paragraph traces back to original PR, conversation, or commit.
- Local-first with three-layer LLM egress gate for privacy.
- Can run fully offline with Ollama and zero cloud keys.
- All collectors run locally without webhooks or tunnels.
Use cases of TokenKnows — distill AI coding sessions into weekly reports, ADRs and a knowledge graph
- Automatically generate weekly reports from AI coding sessions.
- Create Architecture Decision Records (ADRs) from design discussions.
- Produce incident reviews with evidence from PRs and commits.
- Build a knowledge graph of entities from multiple sessions.
- Reusable agent skills (SKILL.md) for future automation.
Frequently asked questions
1 Which AI tools does TokenKnows support?
It captures sessions from Claude Code, Codex, Cursor, VS Code, GitHub (PRs/commits/issues), and local documents.
2 Does TokenKnows require cloud LLM keys?
No. It can run fully locally with Ollama; optional cloud providers (Anthropic, OpenAI, MiniMax) require all three egress switches to be on.
3 How are citations ranked in documents?
Citations are ranked by cosine × trust × recency, requiring at least two distinct sources. Each paragraph links back to the original evidence.
4 Is TokenKnows local-first?
Yes. Zero egress by default; a three-layer LLM egress gate (instance, project, task) controls any cloud calls, with full audit logging.
5 What platforms are supported?
macOS provides a full experience with auto-starting collectors. Linux runs backend, frontend, and collectors manually. Windows is untested; WSL2 is recommended.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In