mcp-summarizer

MCP.Pizza Chef: 0xshellming

One tool does one thing: you hand over text, Google's Gemini writes a shorter version, and you can name the language and a rough length. Despite what the project page advertises, it cannot open a web link, a PDF, an EPUB, or an HTML file, and the promised bullet-point and focus options do not exist in the code at all. You supply your own Google AI key, which the setup instructions forget to mention. The code has not changed since February 2025.

Unmaintained · no changes since February 2025; locked to retired Gemini 1.5 Pro
Writing

Use This MCP server To

Shorten a long email thread I pasted in Get a two-line version of a report I am reading Summarize something in Spanish instead of English Condense my meeting notes before I file them Trim a long article I already copied into the chat

README

MCP Content Summarizer Server

A Model Context Protocol (MCP) server that provides intelligent summarization capabilities for various types of content using Google's Gemini 1.5 Pro model. This server can help you generate concise summaries while maintaining key information from different content formats.

MCP Content Summarizer Server

Powered by 3MinTop

The summarization service is powered by 3MinTop, an AI-powered reading tool that helps you understand a chapter's content in just three minutes. 3MinTop transforms complex content into clear summaries, making learning efficient and helping build lasting reading habits.

Features

  • Universal content summarization using Google's Gemini 1.5 Pro model
  • Support for multiple content types:
    • Plain text
    • Web pages
    • PDF documents
    • EPUB books
    • HTML content
  • Customizable summary length
  • Multi-language support
  • Smart context preservation
  • Dynamic greeting resource for testing

Getting Started

  1. Clone this repository

  2. Install dependencies:

    pnpm install
    
  3. Build the project:

    pnpm run build
    
  4. Start the server:

    pnpm start
    

Development

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

Usage with Desktop App

To integrate this server with a desktop app, add the following to your app's server configuration:

{
  "mcpServers": {
    "content-summarizer": {
      "command": "node",
      "args": [
        "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
      ]
    }
  }
}

Available Tools

summarize

Summarizes content from various sources using the following parameters:

  • content (string | object): The input content to summarize. Can be:
    • Text string
    • URL for web pages
    • Base64 encoded PDF
    • EPUB file content
  • type (string): Content type ("text", "url", "pdf", "epub")
  • maxLength (number, optional): Maximum length of the summary in characters (default: 200)
  • language (string, optional): Target language for the summary (default: "en")
  • focus (string, optional): Specific aspect to focus on in the summary
  • style (string, optional): Summary style ("concise", "detailed", "bullet-points")

Example usage:

// Summarize a webpage
const result = await server.invoke("summarize", {
  content: "https://example.com/article",
  type: "url",
  maxLength: 300,
  style: "bullet-points"
});

// Summarize a PDF document
const result = await server.invoke("summarize", {
  content: pdfBase64Content,
  type: "pdf",
  language: "zh",
  style: "detailed"
});

greeting

A dynamic resource that demonstrates basic MCP resource functionality:

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

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

mcp-summarizer FAQ

Do I need a key?
Yes, a Google AI key, which has a free tier. The setup snippet in the project's own instructions leaves it out, so a fresh install errors on the first summary until you add it yourself.
Can I use this to summarize a PDF or a web page?
No, even though the project page claims PDF, EPUB, web page, and HTML support. The tool accepts plain text only. You have to paste the words in yourself.
Can I ask for bullet points, or tell it what to focus on?
No. Those settings are advertised but were never built. The only options that exist are a rough length and the output language.
How much does it cost?
The connector is free. Summaries run on your own Google account, so you pay Google's rates once you pass the free allowance.
Is it still being maintained?
It has not changed since February 2025, and it is locked to Gemini 1.5 Pro, a model Google has since retired for new accounts, so recently created keys are likely to fail outright.
Does my text leave my computer?
Yes. Whatever you pass in is sent to Google under your own account, so do not feed it anything confidential.
Can I use this to summarize a long report?
Yes, within limits — paste the text and ask for a short version. Very long documents may exceed what one request can carry.
How hard is setup?
Harder than most. The documented route is downloading the code, installing its parts, and building it before your assistant can use it.
My assistant can already summarize things. Why add this?
Mostly to hand the work to a second model on your own Google account. If that is not something you want, you are not missing much.