Skills/PyPI/tokendiet-mcp

tokendiet-mcp@0.1.1

VERIFIED· not started

Publisher claims: "Local code graph for coding agents (Claude Code, Codex, Cursor) over MCP, with notes that carry across sessions" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher genga28 · publishing for 22 daysInstalls 300Last detonated 1 h ago
$claude mcp add tokendiet-mcp -- uvx tokendiet-mcp
WatchReport an issue

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
TOKENDIET_NO_AUTO_UPDATEConfiguration, not credentials: CLAUDE_PROJECT_DIR
Where it talks to
no vendor host named in the code
What we saw when it ran
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard. It asks for TOKENDIET_NO_AUTO_UPDATE and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.

$vet-skills run --net declared -- uvx tokendiet-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-20 and scored it 90/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

MEDIUM
Python subprocess execution detectedtokendiet/update.py:85 · Python subprocess execution detectedsubprocess.Popen([sys.executable, "-m", "tokendiet", "update", "--auto"], **kw)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filestokendiet/setup_agents.py:215 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction fileprint("\nCodex reads AGENTS.md automatically. To give it the tools too, add to ~/.codex/config.toml")Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Instructs the agent to modify its persistent memory or instruction filestokendiet/setup_agents.py:167 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction filedone.append("CLAUDE.md (tokendiet section)")Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python subprocess execution detectedtokendiet/indexer.py:42 · Python subprocess execution detectedout = subprocess.run(["git", "-C", str(repo), "ls-files", "-co", "--exclude-standard", "-z"],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filestokendiet/setup_agents.py:185 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction filedone.append("AGENTS.md (tokendiet section; also read by other AGENTS.md agents)")Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python subprocess execution detectedtokendiet/cli.py:64 · Python subprocess execution detectedsubprocess.run([sys.executable, "-m", "tokendiet", "sync", a.repo])Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtokendiet/update.py:54 · Python subprocess execution detectedsubprocess.run([sys.executable, "-m", "pip", "install", "-q", "--disable-pip-version-check", "--upgrade",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈65 tok
1 file · 25 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for tokendiet-mcp@0.1.1 as of 28 min ago. This is the package itself, not its dependencies.