Save up to 80% tokens when AI reads code via AST-aware structural reading
{
"mcpServers": {
"token-pilot": {
"args": [
"-y",
"token-pilot"
],
"command": "npx"
},
"context-mode": {
"args": [
"-y",
"claude-context-mode"
],
"command": "npx"
}
}
}Save up to 80% tokens when AI reads code via AST-aware structural reading
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 5 days ago.
Will it work with my client?
Transport: stdio, sse. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Context cost
16 tools. ~1,500 tokens (0.8% of 200K).
No automated test available for this server. Check the GitHub README for setup instructions.
smart_readAST structural overview: classes, functions, methods with signatures. Up to 90% savings on large files. Framework-aware: shows HTTP routes, column types, validation rules.
read_symbolLoad source of a specific symbol. Supports Class.method. show param: full/head/tail/outline.
read_symbolsBatch read multiple symbols from one file in a single call (max 10). One round-trip instead of N.
read_for_editMinimal RAW code around a symbol — copy directly as old_string for Edit tool. Batch mode: pass symbols array for multiple edit contexts.
read_rangeRead a specific line range from a file.
read_diffShow only changed hunks since last smart_read. Requires smart_read before editing (for baseline). Works with any edit tool.
smart_read_manyBatch smart_read for up to 20 files in one call.
find_usagesAll usages of a symbol: definitions, imports, references. Filters: scope, kind, lang, limit. Use context_lines to include surrounding source code.
project_overviewDual-detection (ast-index + config files) with confidence scoring. Project type, frameworks, quality tools, CI, architecture, directory map. Filter sections with include.
related_filesImport graph: what a file imports, what imports it, test files.
This server is missing a description.If you've used it, help the community.
Add informationNo known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.