Context Optimizer MCP Server
Provides AI coding assistants with context optimization tools including targeted file analysis, intelligent terminal command execution with LLM-powered output extraction, and web research capabilities. Helps reduce token usage by extracting only relevant information instead of processing entire files and command outputs.
Install
npx -y context-optimizer-mcp-server
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"context-optimizer-mcp-server": {
"command": "npx",
"args": [
"-y",
"context-optimizer-mcp-server"
],
"env": {
"CONTEXT_OPT_EXA_KEY": "<CONTEXT_OPT_EXA_KEY>",
"CONTEXT_OPT_CLAUDE_KEY": "<CONTEXT_OPT_CLAUDE_KEY>",
"CONTEXT_OPT_GEMINI_KEY": "<CONTEXT_OPT_GEMINI_KEY>",
"CONTEXT_OPT_OPENAI_KEY": "<CONTEXT_OPT_OPENAI_KEY>",
"CONTEXT_OPT_LLM_PROVIDER": "<CONTEXT_OPT_LLM_PROVIDER>",
"CONTEXT_OPT_ALLOWED_PATHS": "<CONTEXT_OPT_ALLOWED_PATHS>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.