Skip to content
MCP server

TokenKnows

Distill AI coding sessions into weekly reports, ADRs and a knowledge graph - self-hosted

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.0
Listing updated
5 days ago

About TokenKnows

TokenKnows is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add tokenknows --env TOKENKNOWS_API_TOKEN='<TOKENKNOWS_API_TOKEN>' -- uvx tokenknows-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "tokenknows": {
      "command": "uvx",
      "args": [
        "tokenknows-mcp"
      ],
      "env": {
        "TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tokenknows": {
      "command": "uvx",
      "args": [
        "tokenknows-mcp"
      ],
      "env": {
        "TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "tokenknows": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tokenknows-mcp"
      ],
      "env": {
        "TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tokenknows": {
      "command": "uvx",
      "args": [
        "tokenknows-mcp"
      ],
      "env": {
        "TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "tokenknows": {
      "command": "uvx",
      "args": [
        "tokenknows-mcp"
      ],
      "env": {
        "TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • TOKENKNOWS_API_BASESelf-hosted TokenKnows backend URL
  • TOKENKNOWS_API_TOKENAPI 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_PROJECTDefault project_id for event submission and distill
  • TOKENKNOWS_WEB_BASEWeb UI base URL used to build view_url links returned by distill/list tools (login required to open them)

Pricing

Open source

TokenKnows FAQ

Is TokenKnows free?

Yes. TokenKnows is open source, so you can use and self-host it for free.

How do I add TokenKnows to Claude Code?

Run this command in your terminal: claude mcp add tokenknows --env TOKENKNOWS_API_TOKEN='<TOKENKNOWS_API_TOKEN>' -- uvx tokenknows-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers