Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Token-slimming AST code outliner, log compressor & context budget analyzer for AI coding agents (Cursor, Claude, Cline, Antigravity). Slashes token usage & LLM API bills up to 85%.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: AI & machine learning.
.prompts, the home to all your AI prompts, everywhere you need them.
Same catalog task: AI & machine learning.
Real MCP server (stdio + @modelcontextprotocol/sdk) that exposes x402-paywalled HTTP endpoints as MCP tools. Drop into Claude Desktop, Cursor, or any MCP client.
Same catalog task: AI & machine learning.
Standalone MCP (Model Context Protocol) server - stdio/http/websocket transports, connection pooling, tool registry
Fetched from the repository for this visit.
Token-slimming AST code outliner, surgical symbol extractor, and log compressor cutting AI agent context usage and API bills by up to 85%.
Designed for Cursor, Claude Desktop, Cline, and Antigravity. Works seamlessly as an MCP stdio server or standalone terminal CLI.
Feeding entire 1,000–3,000 line source files into Claude 3.7 Sonnet or GPT-4o context windows causes two critical issues:
Most agent interactions only need exported interfaces, type signatures, or one specific helper function.
| Tool / Command | Description | Token Reduction |
|---|---|---|
condense_source / outline | Generates type-safe AST code skeletons preserving imports, interfaces, types, and method signatures while condensing function bodies. | Up to 85% |
extract_symbol / symbol | Surgically extracts only the requested class, interface, or function with relevant file-level imports. | Up to 95% |
compress_log / log | Strips noisy terminal passes and boilerplate, pinpointing failing assertions, compiler errors, and app stack frames. | Up to 90% |
token_budget / budget | Calculates token weight (~3.8 chars/token) and provides context-window safety warnings before ingesting huge files. | Proactive Guardrail |
Ingesting a 450-line TypeScript payment gateway service (PaymentGatewayService.ts):
- RAW FULL FILE DUMP:
- Lines: 450 lines
- Token Weight: ~4,820 tokens
- Latency / Cost: High token latency, potential context degradation
- Cost per 100 queries: $1.44 (Sonnet 3.7)
+ MCP CONTEXT CONDENSER (AST SKELETON):
+ Lines: 58 lines
+ Token Weight: ~680 tokens (85.9% reduction)
+ Latency / Cost: Instant TTFT, razor-sharp instruction following
+ Cost per 100 queries: $0.20 (Sonnet 3.7)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"context-condenser": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/mcp-context-condenser/dist/index.js"]
}
}
}
Add to your .cursor/mcp.json:
{
"mcpServers": {
"context-condenser": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/mcp-context-condenser/dist/index.js"]
}
}
}
Run directly from your terminal:
# Outline an entire file into a compact skeleton
node dist/index.js outline src/services/auth.ts
# Surgically extract a single function or class
node dist/index.js symbol src/services/auth.ts validateToken
# Compress voluminous test or build logs
node dist/index.js log test_output.log
# Check token budget of a file
node dist/index.js budget src/large_file.ts
condense_sourcesourceCode (string): Raw code to outline.preserveDocstrings (boolean, optional): Whether to preserve JSDoc / TSDoc comments.extract_symbolsourceCode (string): Full source code.symbolName (string): Name of function, class, interface, or type.compress_lograwLog (string): Raw test, compiler, or build output.token_budgetfilePath (string): File path being evaluated.content (string): Raw file content.Unlike standard MCP servers with hundreds of nested node_modules, mcp-context-condenser is pre-bundled with esbuild into a single, self-contained standalone binary (dist/index.js).
Released under the MIT License. Available on:
Loading reviews...
GitHub checked 959h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.