MCP Catalogs
Homemcp-summarization-functions screenshot

mcp-summarization-functions

by Braffolk·37·Score 41

MCP server providing intelligent text summarization for AI agents to optimize context usage.

ai-llmdeveloper-toolsproductivity
13
Forks
2
Open issues
11 mo ago
Last commit
2d ago
Indexed

Overview

Summarization Functions is a powerful MCP server that helps AI agents manage context windows by providing concise summaries of potentially large outputs. It supports summarizing command outputs, file contents, directory structures, and arbitrary text, with options for focused analysis and multiple output formats. The server supports multiple AI providers including Anthropic, OpenAI, Google, and OpenAI-compatible APIs, making it highly versatile for different AI workflows and environments.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Helping AI agents avoid context window overflow when processing large file contents or command outputs
you:Optimizing AI performance by replacing verbose responses with focused summaries
you:Providing multi-format summaries (text, JSON, markdown, outline) for different analysis needs
you:Which AI providers are supported?
you:How do I set up environment variables?
you:What output formats are available?

When to choose this

Choose this server when working with AI agents that process large outputs, file contents, or directory structures to prevent context window overflow and improve reliability.

When NOT to choose this

Avoid if you need access to raw file content without summarization, or if you're concerned about API costs from additional model calls for summarization.

Tools this server exposes

5 tools extracted from the README
  • summarize_commandcommand: string, cwd: string, hint?: string, output_format?: string

    Execute and summarize command output

  • summarize_filespaths: string[], cwd: string, hint?: string, output_format?: string

    Summarize contents of multiple files

  • summarize_directorypath: string, cwd: string, recursive?: boolean, hint?: string, output_format?: string

    Get an overview of directory structure and contents

  • summarize_textcontent: string, type: string, hint?: string, output_format?: string

    Summarize arbitrary text content

  • get_full_contentid: string

    Retrieve the full content for a given summary ID

Comparable tools

mcp-context-compressioncontext-optimizerai-summarizer

Installation

Installing via Smithery

For Claude Desktop:

npx -y @smithery/cli install mcp-summarization-functions --client claude

Manual Installation

  1. Install the package:
npm i mcp-summarization-functions
  1. Add to your MCP configuration:
{
  "mcpServers": {
    "MUST_USE_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",
        "MCP_WORKING_DIR": "default_working_directory"
      }
    }
  }
}

FAQ

Which AI providers are supported?
The server supports Anthropic (Claude), OpenAI (GPT), Google (Gemini), and OpenAI-compatible APIs (including Azure).
How do I set up environment variables?
Required variables are PROVIDER and API_KEY. Optional variables include MODEL_ID, PROVIDER_BASE_URL, MAX_TOKENS, and others. See the Configuration section for examples.
What output formats are available?
You can choose from text (default), JSON, markdown, and outline formats depending on your specific needs.

Compare mcp-summarization-functions with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.