TokenKnows runs on your own machine — the client starts it, so there is no endpoint to ping. 69 installs a week from pypi. Last commit 11 Jun 2026.
Distill AI coding sessions into weekly reports, ADRs and a knowledge graph - self-hosted
We read the source, 21 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
этот файл ставится пользователю, но в репозитории его нет
for root, dirs, names in os.walk(watch_dir):
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add tokenknows -- uvx tokenknows-mcp
{
"mcpServers": {
"tokenknows": {
"args": [
"tokenknows-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.tokenknows]
command = "uvx"
args = ["tokenknows-mcp"]
{
"mcpServers": {
"tokenknows": {
"args": [
"tokenknows-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"tokenknows": {
"args": [
"tokenknows-mcp"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
TOKENKNOWS_API_BASE (Self-hosted TokenKnows backend URL), TOKENKNOWS_API_TOKEN (API token (tkk_...) or JWT bearer for the backend; create one in the web UI under Project Settings - MCP Access (optional for default local deployments)), TOKENKNOWS_DEFAULT_PROJECT (Default project_id for event submission and distill), TOKENKNOWS_WEB_BASE (Web UI base URL used to build view_url links returned by distill/list tools (login required to open them)).
The author declared them in the registry entry; get the values from the project itself.
Code knowledge graph over MCP: token-budgeted context for AI coding agents.
Indexes codebase into a local knowledge graph with 40+ AI tools and codebase-guard.
Token-efficient code review knowledge graph: semantic search and call-graph resolution.
Graph-powered code intelligence with semantic search and knowledge graph for AI assistants
Read-only visualization for Cortex memory, knowledge, sessions, traces, and codebase graphs.
Intelligent code knowledge graph for AI coding agents — 71% cheaper, 72% faster
Persistent code knowledge graph + 9 composite MCP tools for AI coding agents.
AI-powered code indexer with semantic search and knowledge graphs
Answers built from our own checks of this server.