Skip to content
Agentmart
Submit a tool

Token Optimizer MCP

Context-window optimization: caching, compression & smart file tools that cut tokens 60-90%.

Connector by ooples · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 561
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/ooples-token-optimizer-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Context-window optimization: caching, compression & smart file tools that cut tokens 60-90%.

Use cases: monitoring-observability

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Runs code on install

Its package runs an install script (such as npm postinstall or setup.py code) as soon as you install it, before any tool is called. Read the script first.

Tools
49 read · 20 write · 2 delete · 47 not yet classified
Secrets
None asked for
Install scripts
Runs code on install
Runs as
Node.js package

Tools by what they do 118

Read from the source code; the running server may list different tools.

Read 49 · Look things up without changing anything.

  • analyze_optimization
  • analyze_project_tokens
  • anomaly_explainer
  • cache_audit
  • context_delta
  • context_receipt_verify
  • count_tokens
  • expand
  • fleet_audit
  • get_action_analytics
  • get_cache_stats
  • get_cached
Show 37 more tools
  • get_hook_analytics
  • get_mcp_server_analytics
  • get_optimization_report
  • get_session_stats
  • headroom_retrieve
  • health_monitor
  • health-monitor
  • intelligent-assistant
  • list_files
  • list_workspace
  • monitoring_integration
  • natural-language-query
  • optimize_session
  • Read
  • read_file
  • sentiment_analysis
  • smart_ast_grep
  • smart_branch
  • smart_complexity
  • smart_config_read
  • smart_dependencies
  • smart_diff
  • smart_exports
  • smart_glob
  • smart_grep
  • smart_log
  • smart_package_json
  • smart_processes
  • smart_read
  • smart_status
  • smart_symbols
  • smart_tsconfig
  • smart_workflow
  • token_audit
  • waste_audit
  • wiki_query
  • wiki_read

Write 20 · Create, change, send or run things.

  • checkpoint_handoff
  • cognition_record
  • compress_text
  • custom_widget
  • data_visualizer
  • decompress_text
  • install_doctor
  • knowledge_graph
  • optimize_text
  • outcome_report
  • smart_build
  • smart_edit
Show 8 more tools
  • smart_imports
  • smart_install
  • smart_merge
  • smart_test
  • smart_typecheck
  • smart_write
  • wiki_write
  • write_result

Delete 2 · Delete, drop, revoke or wipe things.

  • Bash
  • clear_cache

Not yet classified 47 · We could not tell from the name and description.

  • alert_manager
  • cache_analytics
  • cache_benchmark
  • cache_compression
  • cache_invalidation
  • cache_optimizer
  • cache_partition
  • cache_replication
  • cache_warmup
  • context_page
  • export_analytics
  • log_dashboard
Show 35 more tools
  • metric_collector
  • model_routing
  • optimization_storage
  • pattern-recognition
  • performance-tracker
  • predictive_cache
  • predictive-analytics
  • recommendation-engine
  • smart_api_fetch
  • smart_cache
  • smart_cache_api
  • smart_cron
  • smart_database
  • smart_docker
  • smart_env
  • smart_graphql
  • smart_lint
  • smart_logs
  • smart_migration
  • smart_network
  • smart_orm
  • smart_pretty
  • smart_process
  • smart_refactor
  • smart_rest
  • smart_schema
  • smart_security
  • smart_service
  • smart_sql
  • smart_system_metrics
  • smart_typescript
  • smart_user
  • smart_websocket
  • smart-dashboard
  • smart-summarization

Secrets and settings it asks for

Other settings (environment variables or headers).

  • TOKEN_OPTIMIZER_CACHE_DIR

Files it touches

  • Any path the agent passes to its tools

Tools (118)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • alert_manager

    Comprehensive alerting system with multi-channel notifications, intelligent routing, and an unmeasured design target of 89% token reduction through aggressive caching and history aggregation

  • analyze_optimization

    Analyze text and provide recommendations for optimization including compression benefits and token savings.

  • analyze_project_tokens

    Analyze observed token usage across multiple sessions within a project. Aggregates session logs and identifies top contributors. Cost is Not priced unless the caller supplies an effective input-token rate; any resulting value is a cost equivalent, not an invoice.

  • anomaly_explainer

    Explain anomalies with root cause analysis, hypothesis generation, and remediation suggestions

  • Bash

    Execute a shell command and return stdout, stderr, and exit status.

  • cache_analytics

    Comprehensive cache analytics with an unmeasured design target of 88%+ token reduction. Real-time dashboards, trend analysis, alerting, heatmaps, bottleneck detection, and cost optimization.

  • cache_audit

    Report Anthropic prompt-cache economics for this project: measured cache-read input, cache-write input, hit rate, and warm prefix size read from a Claude Code transcript, plus likely invalidation sources. Cost equivalents are labeled Anthropic-specific, excluded from universal savings, and are not invoices.

  • cache_benchmark

    Cache Performance Benchmarking with 89% token reduction through comprehensive testing and analysis. Features: - Strategy comparison (LRU vs LFU vs FIFO vs TTL vs size vs hybrid) - Load testing with configurable concurrency and ramp-up - Latency profiling with percentiles (p50, p90, p95, p99, p99.9) - Throughput testing (operations per second) - Comprehensive reports in markdown, HTML, JSON, PDF - Workload simulation (read-heavy, write-heavy, mixed, realistic) Operations: - run-benchmark: Execute complete benchmark suite - compare: Compare multiple cache configurations - load-test: Stress tes…

  • cache_compression

    Advanced compression strategies for cache optimization with an unmeasured design target of 89%+ token reduction. Supports 6 algorithms (gzip, brotli, lz4, zstd, snappy, custom), adaptive selection, dictionary-based compression, and delta compression for time-series data.

  • cache_invalidation

    Comprehensive cache invalidation with an unmeasured design target of 88%+ token reduction, dependency tracking, pattern matching, scheduled invalidation, and distributed coordination

  • cache_optimizer

    Advanced cache optimization with an unmeasured design target of 89%+ token reduction. Analyzes performance, benchmarks strategies, provides ML-based recommendations, detects bottlenecks, and performs cost-benefit analysis.

  • cache_partition

    Advanced cache partitioning and sharding with an unmeasured design target of 87%+ token reduction through consistent hashing, automatic rebalancing, and partition isolation

  • cache_replication

    Distributed cache replication with an unmeasured design target of 88%+ token reduction. Supports primary-replica and multi-primary modes, strong/eventual consistency, automatic conflict resolution, failover, incremental sync, and health monitoring.

  • cache_warmup

    Intelligent cache pre-warming with an unmeasured design target of 87%+ token reduction, featuring schedule-based warming, pattern analysis, dependency resolution, and progressive warming strategies

  • checkpoint_handoff

    Create or restore a resumable checkpoint and return a takeover receipt.

Show 103 more tools
  • clear_cache

    Clear all cached data. Use with caution.

  • cognition_record

    Verify external grader evidence, then propose and activate evidence-backed cognition authored by the active model. Use operation=verify-evidence before recording unfamiliar evidence.

  • compress_text

    Compress text using Brotli, returned as a base64 string. Intended for AT-REST STORAGE/caching (reduces bytes ~50%). NOTE: base64 tokenizes poorly, so the output usually has MORE LLM tokens than the input — do NOT feed the result into a model context expecting savings. The response includes originalTokens/compressedTokens and a warning when the output would increase tokens.

  • context_delta

    Compute a unified-diff delta for a file in a given session so the model only sees changes since the last snapshot. Operations: compute-delta, seed, clear.

  • context_page

    Obtain bounded decision-specific cognition. Returns an explicit empty result when nothing safe applies.

  • context_receipt_verify

    Verify that one adapter-delivered context receipt and its correction trace to authenticated external grader evidence.

  • count_tokens

    Count tokens in text using the pluggable tokenizer framework (#124). Picks a model-specific tokenizer (tiktoken for GPT/Claude, Google AI REST for Gemini, content-aware heuristic fallback).

  • custom_widget

    Create and manage custom dashboard widgets with an unmeasured design target of 88% token reduction through template caching and configuration compression

  • data_visualizer

    Create and manage interactive data visualizations with an unmeasured design target of 92% token reduction through SVG/Canvas optimization and configuration caching

  • decompress_text

    Decompress base64-encoded Brotli-compressed text.

  • expand

    Retrieve the full output behind a preview reference, served from the local store rather than by re-running anything. Pass `section` to say which named part of the preview you needed -- that is what teaches the next preview to keep it. Pass `claim` and `anchor` to record what you learned, so the same expansion never happens again.

  • export_analytics

    Export all analytics data in JSON or CSV format. Supports filtering by date range, hook phase, tool name, and MCP server. Useful for external analysis, reporting, and data integration.

  • fleet_audit

    Look across every project on this machine at once: which projects hold the cost (ranked with dollar figures), which fixes proven in one project apply to others containing the SAME FILE CONTENTS, and how enforcing clients compare with directive ones as a natural experiment (reported with its confound). Reads transcripts and graphs locally, uploads nothing, and names every directory it opened. Use dryRun=true to see what it would read before it reads anything; mode="explicit" with `projects` to scan only what you name.

  • get_action_analytics

    Get detailed token usage analytics broken down by tool/action (Read, Write, Grep, Bash, count_tokens, etc.). Shows which tools consume the most tokens and identifies optimization opportunities for specific operations.

  • get_cache_stats

    Get cache statistics including hit rate, compression ratio, and token savings.

  • get_cached

    Retrieve previously cached and optimized text. Returns the original text if found in cache.

  • get_hook_analytics

    Get detailed token usage analytics broken down by hook phase (PreToolUse, PostToolUse, SessionStart, PreCompact, UserPromptSubmit). Shows which hook phases consume the most tokens and where optimization efforts should be focused.

  • get_mcp_server_analytics

    Get detailed token usage analytics broken down by MCP server (token-optimizer, filesystem, github, etc.). Shows which MCP servers are contributing the most to token usage and helps identify cross-server optimization opportunities.

  • get_optimization_report

    Get a provenance-gated token report. Verified savings require a materialized MCP payload before and after optimization; historical and tool-reported estimates are excluded. Direct API-price equivalents use each exact captured model and route; ambiguous operations remain unpriced.

  • get_session_stats

    Get comprehensive statistics from the PowerShell wrapper session tracker including system reminders, tool operations, and total tokens with accurate tiktoken-based counting.

  • headroom_retrieve

    Retrieve the original, uncompressed content for a compression marker. Call this when you need the full data behind a <<ccr:...>> marker.

  • health_monitor

    Monitor system and application health with an unmeasured design target of 91% token reduction through health state compression and metric aggregation

  • health-monitor

    Monitor health status of systems, services, and applications with dependency tracking. Supports 8 operations: check, register-check, update-check, delete-check, get-status, get-history, configure-dependencies, get-impact. Achieves 87% token reduction through status caching and dependency graph compression.

  • install_doctor

    Check that this installation actually works. Runs the real hook binaries with synthetic payloads and asserts a large read is refused and a small one is not, that session-start emits the policy, and that the graph directory is writable and private -- rather than checking that config files exist, which can pass while the plugin saves nothing. Every failure names its fix. Pass uninstallPlan=true to see exactly what a removal would delete and what it would refuse to touch.

  • intelligent-assistant

    Answers questions from a document corpus the caller supplies, quoting sentences with the id of the document they came from. Ranks by an idf cosine, reports the question terms the corpus does not contain, and refuses rather than composing an answer it cannot quote.

  • knowledge_graph

    Build a directed graph of entities and relations you supply, then query it by pattern, find paths between nodes, detect communities, rank nodes, infer relations, visualize it, merge two graphs, or export it. The graph is held in the cache between calls, so a query does not have to resend the entities. This is a general-purpose graph over data you provide; it does not read your codebase.

  • list_files

    List every file path in the repository.

  • list_workspace

    List files in the isolated evaluation workspace. Returns relative paths and byte sizes.

  • log_dashboard

    Interactive log analysis dashboard with filtering, searching, pattern detection, and an unmeasured design target of 90% token reduction through intelligent caching and compression

  • metric_collector

    Comprehensive metrics collection and aggregation with multi-source support, time-series compression, and an unmeasured design target of 88% token reduction through delta encoding and intelligent caching

  • model_routing

    Which model tier this project's work actually goes better on, measured from episode outcomes in the client transcript rather than guessed from task size. Reports expected cost per tier including retries, and prices BOTH mistakes: what an overpowered model wastes and what an underpowered one costs in retries. Pass `shape` (multi-file-change, single-file-change, investigation, build-or-test, conversation) and `currentModel` for a decision note that also states what switching would cost in discarded prompt cache.

  • monitoring_integration

    External monitoring platform integration with an unmeasured design target of 87% token reduction through data compression and intelligent caching

  • natural-language-query

    Parse, translate, optimize and validate queries written in a published restricted grammar, and describe a result set against the query that produced it

  • optimization_storage

    Persist and retrieve brotli-compressed optimization results keyed by text hash. Operations: store, retrieve.

  • optimize_session

    Analyzes operations in the current session from the session JSONL log, identifies large text blocks from file-based tools (Read, Write, Edit), compresses them, and stores them in the cache to reduce future token usage. Returns a summary of the optimization.

  • optimize_text

    Compress and cache text to reduce token usage. Returns compressed version and saves to cache for future use.

  • outcome_report

    Record correctness-first task outcome and deterministic grader evidence.

  • pattern-recognition

    Frequency, clustering, correlation, sequence and trend analysis over event and metric arrays you supply

  • performance-tracker

    Tracks and analyzes performance metrics (CPU, memory, response times, throughput) with advanced statistical capabilities. Supports 8 operations: track, query, analyze-trends, forecast, compare, detect-regressions, get-baseline, generate-report. Achieves 89%+ token reduction through intelligent caching and data aggregation.

  • predictive_cache

    ML-based predictive caching with an unmeasured design target of 91%+ token reduction using ARIMA, exponential smoothing, LSTM, and collaborative filtering

  • predictive-analytics

    Least-squares fitting, forecasting, anomaly detection and prediction scoring over numeric series you supply

  • Read

    Read a file by absolute path, optionally selecting a line range.

  • read_file

    Read one file from the repository.

  • recommendation-engine

    Item-based collaborative filtering, workflow transition analysis, proportional allocation and config trial comparison over records you supply

  • sentiment_analysis

    Score the sentiment of text you supply -- logs, review comments, issue threads, survey answers -- and derive emotions, topics, a feedback classification, a trend over timestamped samples, or a comparison between two sets. Scoring is lexicon-based and runs locally; results are cached so a second pass over the same text is free.

  • smart_api_fetch

    Execute HTTP requests with intelligent caching and retry logic. Features: - Automatic retry with exponential backoff (1s, 2s, 4s, 8s) - Response caching with TTL-based invalidation (default: 5 minutes) - Request deduplication for in-flight requests - Circuit breaker pattern (opens after 5 consecutive failures) - ETag/Cache-Control header support - 83% average token reduction through intelligent output formatting Token Reduction Strategy: - Cached responses: 95% reduction (summary only) - Error responses: 90% reduction (error details only) - Retried requests: 85% reduction (success summary wi…

  • smart_ast_grep

    Perform structural code search with an unmeasured design target of 83% token reduction through AST indexing and caching

  • smart_branch

    List and manage git branches with an unmeasured design target of 60% token reduction through structured JSON output and smart filtering

  • smart_build

    Run TypeScript build with intelligent caching, diff-based change detection, and token-optimized output

  • smart_cache

    Advanced multi-tier cache with an unmeasured design target of 90%+ token reduction, 6 eviction strategies, stampede prevention, and automatic tier management

  • smart_cache_api

    API Response Caching with 83% token reduction through intelligent cache management. Features: - Multiple caching strategies (TTL, ETag, Event-based, LRU, Size-based) - Intelligent cache key generation with query normalization - Pattern-based and tag-based invalidation - Stale-while-revalidate support - Cache hit rate analysis and recommendations - Cache warming and preloading Actions: - get: Retrieve cached API response - set: Cache an API response - invalidate: Remove cached entries (pattern/tag/manual) - analyze: Get cache performance metrics - warm: Pre-cache specific endpoints Token Red…

  • smart_complexity

    Analyze code complexity metrics including cyclomatic, cognitive, Halstead, and maintainability index. Measured token reduction vs reading the file: 31-73% first read, 31-73% repeated (bench/tools, 3 fixtures).

  • smart_config_read

    Read and parse configuration files (JSON, YAML, TOML) with schema-aware caching and intelligent diffing. Measured token reduction vs reading the file: 18-30% first read, 84-99.3% repeated (bench/tools, 2 fixtures) -- a first read pays little, because it returns the parsed config as well as what is wrong with it: 30% on a minimal package.json and 18% on a 5,198-token one; the saving is on the repeat, where an unchanged file is answered with a diff rather than its contents.

  • smart_cron

    Intelligent scheduled task management with smart caching (unmeasured design target: 85%+ token reduction). Manage cron jobs (Linux/macOS) and Windows Task Scheduler with validation, history tracking, and next run predictions.

  • smart_database

    Database query optimizer with connection pooling, circuit breaking, and an unmeasured design target of 83% token reduction. Supports query execution, EXPLAIN analysis, performance optimization, health monitoring, slow query detection, and batch operations.

  • smart_dependencies

    Analyze project dependencies through graph caching and incremental updates. Measured token reduction vs reading the file: 97-99% first read, 97-99% repeated (bench/tools, 2 fixtures) -- it resolves the imports of the files it is pointed at, so a scope matching no source file is refused rather than answered with an empty graph.

  • smart_diff

    Get git diffs with an unmeasured design target of 85% token reduction through diff-only output and smart filtering

  • smart_docker

    Docker operations with build/run/stop/logs support, image layer analysis, and optimization suggestions

  • smart_edit

    Edit files with an unmeasured design target of 90% token reduction through line-based operations and diff-only output

  • smart_env

    Smart environment variable analyzer with security checking and suggestions. Measured token reduction vs reading the file: -27% to 37% first read, -27% to 37% repeated (bench/tools, 4 fixtures) -- it names every variable without returning any value, which is where the saving comes from; the loss is the other mode, because `includeLocations` adds each line and the length of each value back and costs 32-48% more.

  • smart_exports

    Analyze TypeScript/JavaScript export statements with intelligent caching. Tracks exports, detects unused exports, and provides optimization suggestions. Measured token reduction vs reading the file: 70-98% first read, 70-98% repeated (bench/tools, 3 fixtures).

  • smart_globFind files efficientlyread-only

    Search files with glob patterns and an unmeasured design target of 75% token reduction through path-only results and smart filtering

  • smart_graphql

    GraphQL query optimizer with complexity analysis and caching (unmeasured design target: 83% token reduction)

  • smart_grepSearch file contents efficientlyread-only

    Search file contents with an unmeasured design target of 80% token reduction through match-only output and smart filtering

  • smart_imports

    Analyze TypeScript/JavaScript import statements with intelligent caching. Detects unused imports, missing imports, and provides optimization suggestions. Measured token reduction vs reading the file: 92-97% first read, 92-97% repeated (bench/tools, 3 fixtures).

  • smart_install

    Package installation with dependency analysis, conflict detection, and smart caching for npm/yarn/pnpm

  • smart_lint

    Run ESLint with intelligent caching, incremental analysis, and auto-fix suggestions

  • smart_log

    Get git commit history with an unmeasured design target of 75% token reduction through structured JSON output and smart filtering

  • smart_logs

    System log aggregation and analysis with multi-source support, pattern filtering, error detection, and insights

  • smart_merge

    Manage git merges with an unmeasured design target of 80% token reduction through structured status and conflict management

  • smart_migration

    Database migration tracker with status monitoring and an unmeasured design target of 83% token reduction. Supports listing migrations, checking status, viewing history, rollback operations, and migration generation.

  • smart_network

    Network diagnostics and monitoring with connectivity testing, port scanning, DNS resolution, and anomaly detection

  • smart_orm

    ORM query optimizer with N+1 detection (unmeasured design target: 83% token reduction)

  • smart_package_json

    Analyze package.json with dependency resolution, version conflict detection, and security scanning. Measured token reduction vs reading the file: -2% to 91% first read, 8-92% repeated (bench/tools, 2 fixtures) -- the loss is on a minimal package.json, the saving on a real one.

  • smart_pretty

    Syntax highlighting and code formatting. Supports 50+ languages, ANSI/HTML output, multiple themes, and Prettier integration. Measured token reduction vs reading the file: -2% to 1% first read, -2% to 1% repeated (bench/tools, 3 fixtures) -- both operations hand the code itself back, so there is nothing here to reduce: two fixtures cost 1-2% more than the file, and the third comes back four tokens shorter because Prettier collapsed something. The earlier 94% was an elided payload counted as economy.

  • smart_process

    Intelligent process management with smart caching (unmeasured design target: 88%+ token reduction). Start, stop, monitor processes with resource tracking and cross-platform support. TRUST BOUNDARY: the "start" operation launches an arbitrary executable of the caller's choosing, with caller-supplied arguments, working directory and environment. It runs in argv mode with no shell, so there is no command injection, but granting this tool is equivalent to granting local command execution as the user running the server. Operators who do not want that should expose smart_processes (read-only monitor…

  • smart_processes

    Monitor and analyze system processes with anomaly detection and resource tracking

  • smart_readRead a file efficientlyread-only

    Read files with intelligent caching, diff-based updates, and syntax-aware optimization. Measured token reduction vs reading the file: -2% to 0% first read, 99-99.9% repeated on an unchanged file (bench/tools, 3 fixtures) -- a first read returns the file plus a one-field header, so it still costs a little more than reading the file; the saving is on the repeat.

  • smart_refactor

    Provides intelligent refactoring suggestions with code examples and impact analysis. Measured token reduction vs reading the file: 2-85% first read, 2-85% repeated (bench/tools, 3 fixtures) -- the floor is the smallest fixture, where 19 findings and a code example for each very nearly outweigh the file they are about: 1,631 tokens of answer against 1,676 of file.

  • smart_rest

    REST API analyzer with endpoint discovery and health scoring (unmeasured design target: 83% token reduction)

  • smart_schema

    Database schema analyzer with intelligent caching and an unmeasured design target of 83% token reduction. Supports PostgreSQL, MySQL, and SQLite. Provides schema introspection, relationship analysis, index recommendations, and schema diff.

  • smart_security

    Security vulnerability scanner with pattern detection and intelligent caching. Measured token reduction vs reading the file: 23-99% first read, 22-99% repeated (bench/tools, 4 fixtures) -- the three clean fixtures cost a flat 84 tokens each, because a scan that finds nothing says so in the same words whatever it was pointed at; the fourth is the floor, where six findings and a remediation for each are reported against a 597-token file.

  • smart_service

    Intelligent service management with smart caching (unmeasured design target: 86%+ token reduction). Manage systemd, Windows Services, and Docker containers with health monitoring and dependency tracking.

  • smart_sql

    SQL query analyzer with optimization suggestions and execution plan analysis (unmeasured design target: 83% token reduction)

  • smart_status

    Get git status with an unmeasured design target of 70% token reduction through status-only output and smart filtering

  • smart_symbols

    Extract and analyze TypeScript/JavaScript symbols with scope, type, and reference information. Measured token reduction vs reading the file: 78-95% first read, 78-95% repeated (bench/tools, 3 fixtures).

  • smart_system_metrics

    System resource monitoring with CPU, memory, disk usage tracking, anomaly detection, and performance recommendations

  • smart_test

    Run the project's tests (Jest, Vitest, Mocha, AVA or node --test) with intelligent caching, coverage tracking, and incremental test execution

  • smart_tsconfig

    Parse and analyze TypeScript configuration. Resolves extends chains, detects issues, and caches results for 7 days. Measured token reduction vs reading the file: 40-92% first read, 40-92% repeated (bench/tools, 3 fixtures) -- it answers what the resolved config is and what is wrong with it, and sends the merge only where there was one: a config that extends nothing is answered with that fact and its suggestions, because the caller already holds the file.

  • smart_typecheck

    Run TypeScript type checking with intelligent caching and categorized error reporting

  • smart_typescript

    Incremental TypeScript compilation with dependency tracking and intelligent caching. Measured token reduction vs reading the file: 92-93% first read, 92-93% repeated (bench/tools, 1 fixture).

  • smart_user

    Intelligent user and permission management with smart caching (unmeasured design target: 86%+ token reduction). Manage users, groups, permissions, ACLs, and perform security audits across Windows, Linux, and macOS.

  • smart_websocket

    WebSocket connection manager with message tracking (unmeasured design target: 83% token reduction)

  • smart_workflow

    Parse a CI/CD workflow file and answer questions about it without reading the file into the conversation: GitHub Actions, GitLab CI, CircleCI and Azure Pipelines. Returns jobs, triggers, the dependency graph, syntax validation, hardcoded-secret and unsafe-action findings, and caching or parallelization suggestions. Parses are cached against the file hash for 24 hours.

  • smart_write

    Write files with an unmeasured design target of 85% token reduction through verification, atomic operations, and change tracking

  • smart-dashboard

    Unified dashboard management with widget management and multi-source data integration. Supports 8 operations: check, register-check, update-check, delete-check, get-status, get-history, configure-dependencies, get-impact. Achieves 87% token reduction through status caching and dependency graph compression.

  • smart-summarization

    Extractive summarisation, digests, period comparison and categorisation over text you supply. Selects sentences from the input; never generates prose.

  • token_audit

    The one thing to run. A single ranked queue of what is costing the most in this project -- waste detectors, prompt-cache invalidation attributed to a file and line, and model routing -- each priced per session and per month, each naming how to act on it. Reports what already-applied fixes actually saved, whether habits improved since the advice, and its own token cost; findings worth less than their printing cost are withheld unless full=true. Pass decline="<id>" to stop being told about something.

  • waste_audit

    Report behavioural token waste in this project, ranked by cost per session and compared against the previous week. Detectors are a shipped floor plus patterns derived from this project's own history, each carrying what it has actually saved. Use action="apply" to put the fixes we own into force (reversible and measured), or action="revert" with an id to undo one. Changes to your own files are only ever proposed as a diff.

  • wiki_queryRead project knowledgeread-only

    Read the project's knowledge graph: fetch a finding by key, search findings by terms, inspect a node and its neighbours, or get the graph's audit, token balance and overall shape. Use it when the session index mentions a finding you want in full, or to find out what the graph holds at all. NOT for anchored retrieval: to ask what is known about a particular file or symbol, call wiki_read, which does exactly that and is the tool the enforcement layer points at.

  • wiki_readRead project knowledgeread-only

    Retrieve what this project's knowledge graph already records about the files you are about to work on, so you do not re-derive it. Call it BEFORE reading a file you have not seen: it returns prior conclusions anchored to that file — dead ends and why, decisions and what was rejected, commands that worked — plus lessons carried from other repositories on this machine. Subagents especially: you never receive the session-start briefing, so this is the only way to reach the graph. Costs nothing and sends nothing off the machine.

  • wiki_writeRecord project knowledge

    Record a durable finding in this project's knowledge graph so a later session retrieves it instead of re-deriving it. Use it the moment you conclude something that cost real work and is not obvious from the code: a dead end and why, a decision and its rejected alternatives, a command that finally worked, or how a subsystem fits together. Anchor it to the files it is about — the anchor is what lets the claim be invalidated when that code changes, and what makes it surface automatically when the file is next touched. Costs nothing and sends nothing off the machine.

  • write_result

    Write the final result.json. This is the only allowed workspace mutation.

Compare and alternatives

    Featured in

    Signals

    Stars
    561
    Forks
    71
    Open issues
    1
    Weekly downloads
    1,323
    Last commit
    Oct 23, 2026 (5 days ago)
    Last release
    Oct 26, 2026 (2 days ago)
    Last package publish
    Oct 21, 2026 (7 days ago)

    From GitHub (fetched Oct 24, 2026) and the package registry.

    Details

    Registry name
    io.github.ooples/token-optimizer-mcp
    Version
    7.7.1
    Auth
    No auth
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 26, 2026

    More from ooples

    Cite this page

    Token Optimizer MCP. Agent Mart. https://agentmart.dev/connectors/ooples-token-optimizer-mcp (last updated 2026-10-26)