Providers cache the prompt prefix: cached tokens re-read at 0.1x, rewritten ones bill at 1.25x. Most compressors optimise bytes removed and ignore that multiplier. This one optimises the bill.
Token-optimizer-mcp source profile. From the maintainer documentation: “Providers cache the prompt prefix: cached tokens re-read at 0.1x, rewritten ones bill at 1.25x. Most compressors optimise bytes removed and ignore that multiplier. This one optimises the bill.”
The documented npm package is @ooples/token-optimizer-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| optimize_text | Compress and cache text (primary tool for token reduction) |
| get_cached | Retrieve previously cached text |
| compress_text | Compress text using Brotli |
| decompress_text | Decompress Brotli-compressed text |
| count_tokens | Count tokens using tiktoken (GPT-4 tokenizer) |
| analyze_optimization | Analyze text and get optimization recommendations |
| get_cache_stats | View cache hit rates and compression ratios |
| clear_cache | Clear all cached data |
| smart_read | Read files with 80% token reduction through caching and diffs |
| smart_write | Write files with verification and change tracking |
| smart_edit | Line-based file editing with diff-only output (90% reduction) |
| smart_grep | Search file contents with match-only output (80% reduction) |
| smart_glob | File pattern matching with path-only results (75% reduction) |
| smart_diff | Git diffs with diff-only output (85% reduction) |
| smart_branch | Git branch listing with structured JSON (60% reduction) |
| smart_log | Git commit history with smart filtering (75% reduction) |
| smart_merge | Git merge management with conflict analysis (80% reduction) |
| smart_status | Git status with status-only output (70% reduction) |
| smart_api_fetch | HTTP requests with caching and retry logic (83% reduction on cache hits) |
| smart-cache-api | API response caching with TTL/ETag/event-based strategies |
| smart_database | Database queries with connection pooling and caching (83% reduction) |
| smart_sql | SQL query analysis with optimization suggestions (83% reduction) |
| smart_schema | Database schema analysis with intelligent caching |
| smart_graphql | GraphQL query optimization with complexity analysis (83% reduction) |
| smart_rest | REST API analysis with endpoint discovery (83% reduction) |
| smart_orm | ORM query optimization with N+1 detection (83% reduction) |
| smart_migration | Database migration tracking (83% reduction) |
| smart_websocket | WebSocket connection management with message tracking |
| smart_build | TypeScript builds with diff-based change detection |
| smart_test | Test execution with incremental test selection |
| smart_lint | ESLint with incremental analysis and auto-fix |
| smart_typecheck | TypeScript type checking with caching |
| smart_install | Package installation with dependency analysis |
| smart_docker | Docker operations with layer analysis |
| smart_logs | Log aggregation with pattern filtering |
| smart_network | Network diagnostics with anomaly detection |
| smart_processes | Process monitoring with resource tracking |
| smart_system_metrics | System resource monitoring with performance recommendations |
| smart_cache | Multi-tier cache (L1/L2/L3) with 6 eviction strategies (90% reduction) |
| cache_warmup | Intelligent cache pre-warming with schedule support (87% reduction) |
| cache_analytics | Real-time dashboards and trend analysis (88% reduction) |
| cache-benchmark | Performance testing and strategy comparison (89% reduction) |
| cache_compression | 6 compression algorithms with adaptive selection (89% reduction) |
| cache_invalidation | Dependency tracking and pattern-based invalidation (88% reduction) |
| cache_optimizer | ML-based recommendations and bottleneck detection (89% reduction) |
| cache_partition | Sharding and consistent hashing (87% reduction) |
| cache_replication | Distributed replication with conflict resolution (88% reduction) |
| predictive_cache | ML-based predictive caching with ARIMA/LSTM (91% reduction) |
| alert_manager | Multi-channel alerting (email, Slack, webhook) with routing (89% reduction) |
| metric_collector | Time-series metrics with multi-source support (88% reduction) |
| monitoring_integration | External platform integration (Prometheus, Grafana, Datadog) (87% reduction) |
| custom_widget | Dashboard widgets with template caching (88% reduction) |
| data_visualizer | Interactive visualizations with SVG optimization (92% reduction) |
| health_monitor | System health checks with state compression (91% reduction) |
| log_dashboard | Log analysis with pattern detection (90% reduction) |
| smart_cron | Scheduled task management (cron/Windows Task Scheduler) (85% reduction) |
| smart_user | User and permission management across platforms (86% reduction) |
| smart_ast_grep | Structural code search with AST indexing (83% reduction) |
| get_session_stats | Session-level token usage statistics |
| analyze_project_tokens | Project-wide token analysis and cost estimation |
| optimize_session | Compress large file operations from current session |
| intelligent-assistant | Context-aware assistance with compact recommendations |
| natural-language-query | Natural-language querying over structured data |
| pattern-recognition | Pattern discovery with summarized findings |
| predictive-analytics | Predictive analysis with concise results |
| recommendation-engine | Ranked, context-aware recommendations |
| smart-summarization | Token-aware summarization for large content |
| get_optimization_report | Complete savings report with totals and breakdowns |
| get_action_analytics | Savings aggregated by action or tool |
| get_hook_analytics | Savings aggregated by hook phase |
| get_mcp_server_analytics | Savings aggregated by MCP server |
| export_analytics | Export recorded analytics for external analysis |
| optimization_storage | Persist and retrieve optimized content |
| context_delta | Track compact context changes between states |
{
"mcpServers": {
"token-optimizer": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@ooples/token-optimizer-mcp@latest"
],
"tools": [
"*"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.