SuperAPI AI Directory

mcp-summarizer

Summarize plain text, web pages, PDF documents, EPUB books and HTML content.

Open website

About this tool

Purpose

MCP Content Summarizer Server is an MCP server that provides intelligent summarization capabilities, designed to help users generate concise summaries for content in different formats while preserving key information. It is suitable for scenarios that require quickly understanding long texts, web pages, PDFs, EPUBs, or HTML content.

Main Capabilities

  • General-purpose content summarization using Google's Gemini 1.5 Pro model.
  • Supports multiple content types: plain text, web pages, PDF documents, EPUB e-books, and HTML content.
  • Customizable summary length.
  • Multilingual support.
  • Intelligent context preservation.
  • Provides a dynamic greeting resource for testing.

Usage

Installation and Startup

  1. Clone this repository.
  2. Install dependencies:pnpm install
  3. Build the project:pnpm run build
  4. Start the server:pnpm start

You can use pnpm run dev to start the TypeScript compiler in watch mode. Modify src/index.ts to customize server behavior or add new tools.

Integration with Desktop Applications

To integrate this server with a desktop application, add the corresponding configuration to the application's server configuration.

Available Tools

The summarization tool uses the following parameters:

  • content (string | object): The input content to summarize. It can be: a text string, a web page URL, Base64-encoded PDF, or EPUB file content.
  • type (string): Content type ("text", "url", "pdf", "epub").
  • maxLength (number, optional): The maximum number of characters in the summary (default: 200).
  • language (string, optional): The target language of the summary (default: "en").
  • focus (string, optional): The specific aspect to focus on in the summary.
  • style (string, optional): Summary style ("concise", "detailed", "bullet-points").

Dynamic Resource

A dynamic resource that demonstrates basic MCP resource functionality:

  • URI format:greeting://{name}
  • Returns a greeting message with the provided name.

Use Cases

  • Quickly read and understand long documents, web pages, or e-books.
  • Generate multilingual summaries for cross-language information access.
  • Integrate summarization capabilities into AI workflows or desktop applications.

Limitations

  • Depends on Google's Gemini 1.5 Pro model and may require the corresponding API access permissions.
  • Other specific limitations (such as performance, quotas, etc.) are not provided yet.