smart_typecheck
TypeScript type checking with caching
How to use it
smart_typecheck is exposed by the Token Optimizer MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the smart_typecheck tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Token Optimizer MCP
npx token-optimizer-install # wire the hooksOther tools in Token Optimizer MCP (39)
Analyze text and get optimization recommendations
Intelligent cache pre-warming with schedule support (87% reduction)
Clear all cached data
Compress text using Brotli
Count tokens using tiktoken (GPT-4 tokenizer)
Decompress Brotli-compressed text
View cache hit rates and compression ratios
Retrieve previously cached text
Compress and cache text (primary tool for token reduction)
HTTP requests with caching and retry logic (83% reduction on cache hits)
Git branch listing with structured JSON (60% reduction)
TypeScript builds with diff-based change detection
Multi-tier cache (L1/L2/L3) with 6 eviction strategies (90% reduction)
Database queries with connection pooling and caching (83% reduction)
Git diffs with diff-only output (85% reduction)
Docker operations with layer analysis
Line-based file editing with diff-only output (90% reduction)
File pattern matching with path-only results (75% reduction)
GraphQL query optimization with complexity analysis (83% reduction)
Search file contents with match-only output (80% reduction)
Package installation with dependency analysis
ESLint with incremental analysis and auto-fix
Git commit history with smart filtering (75% reduction)
Log aggregation with pattern filtering
Git merge management with conflict analysis (80% reduction)
Database migration tracking (83% reduction)
Network diagnostics with anomaly detection
ORM query optimization with N+1 detection (83% reduction)
Process monitoring with resource tracking
Read files with 80% token reduction through caching and diffs
REST API analysis with endpoint discovery (83% reduction)
Database schema analysis with intelligent caching
SQL query analysis with optimization suggestions (83% reduction)
Git status with status-only output (70% reduction)
System resource monitoring with performance recommendations
Test execution with incremental test selection
WebSocket connection management with message tracking
Write files with verification and change tracking
API response caching with TTL/ETag/event-based strategies