Tokenscope runs on your own machine — the client starts it, so there is no endpoint to ping. 38 installs a week from npm. Last commit 28 Jul 2026.
Analyze Claude Code session cost & context attribution: output, cached re-reads, cache writes.
We read the source, 20 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.
этот файл ставится пользователю, но в репозитории его нет
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 tokenscope -- npx -y @wartzar-bee/tokenscope-mcp
{
"mcpServers": {
"tokenscope": {
"args": [
"-y",
"@wartzar-bee/tokenscope-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.tokenscope]
command = "npx"
args = ["-y", "@wartzar-bee/tokenscope-mcp"]
{
"mcpServers": {
"tokenscope": {
"args": [
"-y",
"@wartzar-bee/tokenscope-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"tokenscope": {
"args": [
"-y",
"@wartzar-bee/tokenscope-mcp"
],
"command": "npx"
}
}
}
Context hygiene for Claude Code: drift detection, re-read dedup, and token analytics.
Cost Guard for Claude Code: per-tool ROI, subagent attribution, anomaly/forecast/budget guards.
Self-hosted session relay. Shared threads across Claude Code, Cowork, and Claude.ai.
Pipes Claude Code session output into Claude Chat — no more copy-paste between tools
Cross-session memory for Claude Code — context capture, semantic search, recall
Retrieval over the folder the session opened: files, search, read, code_pack, write_note.
Persistent memory for Claude Code. Search, recall, and re-inject context from any session.
Persistent memory for Claude Code. Search, recall, and re-inject context from any session.
Answers built from our own checks of this server.