Back to Apps

Summarization Functions
by braffolk
Prevent context window overflow by providing intelligent summaries of large command outputs, files, and directories.
0 stars
Works in:claude
Exposes:Tools
What it does
This MCP server acts as a context window optimizer for AI agents. It prevents crashes and token exhaustion by replacing large, raw outputs from command executions, file reads, and directory listings with concise, focused summaries while caching the full content for later retrieval if needed.
Tools
summarize_command: Executes a shell command and summarizes the output.summarize_files: Analyzes and summarizes the content of one or more files.summarize_directory: Provides a structured overview of complex directory trees.summarize_text: Summarizes arbitrary text blocks like logs or API responses.get_full_content: Retrieves the original raw content using a summary ID.
Installation
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"summarization": {
"command": "node",
"args": ["path/to/summarization-functions/build/index.js"],
"env": {
"PROVIDER": "ANTHROPIC",
"API_KEY": "your-api-key",
"MODEL_ID": "claude-3-5-sonnet-20241022"
}
}
}
}
Supported hosts
- claude
Quick install
npm i mcp-summarization-functionsInformation
- Pricing
- free
- Published
- 7/30/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
{
"mcpServers": {
"summarization": {
"command": "node",
"args": ["path/to/summarization-functions/build/index.js"],
"env": {
"PROVIDER": "ANTHROPIC",
"API_KEY": "your-api-key"
}
}
}
}





