# context-optimizer

Source: https://glimind.com/server/npm%2Fcontext-optimizer
Registry id: `npm/context-optimizer`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "context-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "context-optimizer"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add context-optimizer -- npx -y context-optimizer
```

## Tools (13)

- `analyze_git_diff`: Comprehensive commit history and diff analysis
- `extract_function`: Extract a specific function from source code
- `generate_master_package`: Generate comprehensive context package for Master AI
- `generate_performance_report`: Detailed performance reports with recommendations
- `generate_worker_package`: Generate task-specific context package for Worker AI
- `get_context_analytics`: Comprehensive analysis and visualization of context operations
- `get_context_pack`: Automatically extract relevant files for a given context
- `get_efficiency_dashboard`: Real-time efficiency dashboard with performance metrics
- `optimize_performance`: Analyze and optimize current performance
- `parse_ast`: JavaScript/TypeScript code analysis via AST parsing
- `read_file_content`: Efficient file content reading with size limits and extension filtering
- `search_files`: Intelligent file discovery with blacklist-based filtering
- `suggest_context_optimization`: Intelligent suggestions for context optimization

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
