1. Conduid
  2. Blockchain
  3. Token Goat
MCP server · Blockchain

Token Goat

Auto AI improver. Cost and token burn reducer, turn saver, and focus keeper for Claude Code, Codex, Copilot, Gemini, and more: surgical read hints, PDF/Office/CSV/md file interception, 255+ filter & interception rules, compact manifest injection, image shrinking, cache and compact skills, cache MCPs, prompt injection protection, and much more.

67Good

Scored 8 hours ago · breakdown

About Token Goat

Token Goat is an MCP server published by DFKHelper in the Blockchain category: auto AI improver. Cost and token burn reducer, turn saver, and focus keeper for Claude Code, Codex, Copilot, Gemini, and more: surgical read hints, PDF/Office/CSV/md file interception, 255+ filter & interception rules, compact manifest injection, image shrinking, cache and compact skills, cache MCPs, prompt injection protection, and much more. Conduid read 18 tools from its source: brief, changed, compress_text, exports, grep, handoff_create and 12 more. It is published to npm as token-goat and starts with npx.

The repository has 149 stars and 20 forks, and its last commit was on 1 Dec 2026. The latest release is v2.9.35 (11 Nov 2026): read and section accept separate positional arguments, and hint suggestions quote safely in PowerShell. It follows v2.9.34 (3 Nov 2026), and the 5 most recent releases go back to v2.9.31 (16 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ai-coding, cli-tool, codex-cli, context-window, developer-productivity and hooks.

Install

Claude Code
claude mcp add token-goat -- npx -y token-goat
npx
npx -y token-goat
From source
git clone https://github.com/DFKHelper/token-goat

Tools (18)

briefUnderstand a symbol in one call: signature, location, token count, body, callers and containing doc section. Prefer it to read plus refs. Spec file::symbol, file::a,b or a.ts::x,b.ts::y; a bare name without a file is not accepted.
ParameterTypeDescription
contextnumbercall-site lines to show around each caller (default 0)
excludeTestsbooleanhide callers in test files
grepstringonly callers whose enclosing symbol matches this regex (a literal substring if it is not valid regex)
jsonbooleanoutput as JSON
limitnumbermax callers to show (default: 20)
spec *stringfile::symbol, file::a,b, or a.ts::x,b.ts::y
changedList files or symbols changed since a git ref.
ParameterTypeDescription
jsonbooleanoutput as JSON
refstringgit ref to compare against (default: HEAD~5)
symbolModebooleanlist symbols instead of files
compress_textCompress arbitrary local text, persist it in the bounded local cache, and return an opaque recovery ID plus metadata.
ParameterTypeDescription
text *stringtext to compress
exportsList exported (public) symbols in a file.
ParameterTypeDescription
file *stringfile path
jsonbooleanoutput as JSON
grepRegex search over files, caching nothing (session-aware grep).
ParameterTypeDescription
contextnumberlines of context to show before and after each match
jsonbooleanoutput as JSON
maxLinesnumbermax matching lines to print
patharrayfiles or directories to search; defaults to this server process's cwd
pattern *stringregex pattern to search for
recursivebooleandescend into subdirectories (default: true)
handoff_createCreate a bounded, project-local named compressed handoff for another agent.
ParameterTypeDescription
name *stringhandoff name
text *stringhandoff text
handoff_resolveResolve a project-local handoff compactly or in full. MCP does not intercept built-in file reads.
ParameterTypeDescription
fullbooleanreturn full text instead of a compact payload
name *stringhandoff name
importsList the modules a file imports.
ParameterTypeDescription
file *stringfile path
jsonbooleanoutput as JSON
index_statusWhether the project index can be trusted now: indexed at all, file and symbol counts, reindex queue depth, worker alive, and embeddings available (without them semantic falls back to full-text search). Call it when another token-goat tool returns nothing, to tell "no match" from "index not ready".
mapProject overview: file count, languages, headline symbols, and recently modified files.
ParameterTypeDescription
compactbooleancompact, low-token summary
outlineList symbols in a file with line ranges and docstrings.
ParameterTypeDescription
file *stringfile path
forceRefreshbooleanreparse file from disk before querying (ignore stale index)
jsonbooleanoutput as JSON
minLinesnumberonly show symbols at least N lines long
statsbooleanadd per-symbol reference count and doc-coverage flag
readRead a symbol's full body (file::symbol), several from one file (file::a,b), a line range (file@N-M, file@N), or a file.
ParameterTypeDescription
forceRefreshbooleanreparse file from disk before querying (ignore stale index)
jsonbooleanoutput as JSON
spec *stringfile::symbol, file::a,b, file@N-M, file@N, or a file path
statsbooleanadd per-symbol reference count and doc-coverage flag
refsFind references to symbols. An unambiguous TypeScript symbol is type-resolved, dropping same-named symbols; anything else matches by name.
ParameterTypeDescription
callersbooleangroup references by their enclosing caller symbol
jsonbooleanoutput as JSON
limitnumbermax results
spec *stringfile::symbol, symbol, a,b,c, or file::a,b
topnumberlist only the top N files by reference count, instead of every reference
retrieve_textRetrieve original text from a token-goat compression ID.
ParameterTypeDescription
id *stringopaque token-goat content ID
sectionRead one section from a file, given a spec of the form file::Heading.
ParameterTypeDescription
jsonbooleanoutput as JSON
spec *stringfile::Heading
semanticSemantic search over the indexed project; falls back to full-text search without an embedding index.
ParameterTypeDescription
excludeTestsbooleanhide hits in test files
grepstringonly hits whose file path matches this regex (a literal substring if it is not valid regex)
jsonbooleanoutput as JSON
limitnumbermax results (default: 20)
preflightbooleanreport whether embeddings are ready, instead of searching
query *stringnatural-language search query
warmbooleanload the embedding model before the query
skeletonList all symbols in a file without bodies (name, kind, line range).
ParameterTypeDescription
file *stringfile path
forceRefreshbooleanreparse file from disk before querying (ignore stale index)
jsonbooleanoutput as JSON
minLinesnumberonly show symbols at least N lines long
statsbooleanadd per-symbol reference count and doc-coverage flag
symbolSearch for a symbol by name across the indexed project.
ParameterTypeDescription
filestringrestrict to one file
jsonbooleanoutput as JSON
kindstringrestrict to one kind (function, class, ...)
limitnumbermax results (default: 20)
name *stringsymbol name to search for

Security checks

  • ✓README presentThe repository's README runs to about 16K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.

2 checks have not been run yet.

Releases

v2.9.352.9.35 · 11 Nov 2026Added `read` and `section` accept separate positional arguments, and hint suggestions quote safely in PowerShell. `manifest-sweep` inspects the dependencies declared by nested package manifests in one command. `--batch-serve` accepts a…
v2.9.34v2.9.34 · 3 Nov 2026Search now retries near-miss names, and Markdown folds stop printing pointers that cannot run A search that finds nothing retries a name that is a few letters off, on the symbol, heading and text channels only. With `--json` you get a…
v2.9.33v2.9.33 · 26 Oct 2026Added `session-audit` counts cold-cache re-writes. A new section lists requests that followed a gap longer than their cache TTL and wrote the prefix again. For each, it shows billed-equivalent tokens, the share of billed tokens, and a…
v2.9.32v2.9.32 · 21 Oct 2026Aider support, a grep that accepts inline regex flags, and a large batch of fixes for what happens when git is slow or does not answer. `token-goat install --aider` writes a block into Aider's coding conventions that points Aider (and the…
v2.9.31v2.9.31 · 16 Oct 2026Shell searches that walk a whole disk are now refused, and the routing text and MCP tool list token-goat sends to the model are smaller. The pre-shell hook now refuses a command such as `find / -name x` that starts at a filesystem root or…

README

The repository's README runs to about 16K words, fetched 13 days ago. The original in the repository is authoritative.

Read full README
Questions

About Token Goat

How do I install Token Goat?

In Claude Code, run claude mcp add token-goat -- npx -y token-goat. Other MCP clients take the command after "--" in their server configuration.

Is Token Goat safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Token Goat still maintained?

Yes — the latest release is v2.9.35 (11 Nov 2026), and the last commit was 23 hours ago. The repository has 149 stars.

What tools does Token Goat provide?

Conduid read 18 tools from the source: brief, changed, compress_text, exports, grep, handoff_create, handoff_resolve, imports and 10 more. 17 of them publish their parameters, listed under Tools above.