Skip to content
Cursor

token lens for Cursor

io.github.mdfifty50-boop/token-lens

Context window token analysis and budget management

client:Cursor transport:stdio runtime:npm

Install token lens in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "token-lens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "token-lens-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

token lens in other clients