Back to MCP Catalog

Content Summarizer MCP Server

Knowledge & MemoryJavaScript
AI-powered content summarization for text, web pages, PDFs, and EPUB files
Available Tools

summarize

Summarizes content from various sources including text, URLs, PDFs, and EPUB files

contenttypemaxLengthlanguagefocusstyle

greeting

A dynamic resource that returns a greeting message with the provided name

name

The Content Summarizer MCP provides intelligent summarization capabilities for various types of content using Google's Gemini 1.5 Pro model. It can generate concise summaries while maintaining key information from different content formats including plain text, web pages, PDF documents, and EPUB books. Powered by 3MinTop, this summarization service transforms complex content into clear summaries, making learning efficient and helping build lasting reading habits. The MCP supports customizable summary length, multi-language output, and smart context preservation to ensure the most important information is retained.

Installation

To use the Content Summarizer MCP, add the following configuration to your application:

{
  "mcpServers": {
    "content-summarizer": {
      "command": "node",
      "args": [
        "{ABSOLUTE_PATH_TO_REPO}/dist/index.js"
      ]
    }
  }
}

Replace {ABSOLUTE_PATH_TO_REPO} with the absolute path to where you've cloned the repository.

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/0xshellming/mcp-summarizer.git
    
  2. Navigate to the project directory:

    cd mcp-summarizer
    
  3. Install dependencies:

    pnpm install
    
  4. Build the project:

    pnpm run build
    
  5. Start the server:

    pnpm start
    

For development purposes, you can use pnpm run dev to start the TypeScript compiler in watch mode.

Usage

The Content Summarizer MCP provides tools for summarizing various types of content. You can customize the summary length, target language, and style to suit your needs.

Summarizing Content

To summarize content, use the summarize tool with the appropriate parameters:

// 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"
});

Testing with Greeting Resource

The MCP also includes a simple greeting resource for testing purposes:

// Access the greeting resource
const greeting = await server.resource("greeting://John");
console.log(greeting); // Returns a greeting message with the provided name

Configuration

The Content Summarizer MCP can be configured by modifying the source code in src/index.ts. You can customize the server behavior or add new tools as needed.

Related MCPs

Knowledge Graph Memory
Knowledge & MemoryTypeScript

A persistent memory system using a local knowledge graph

MemoryMesh
Knowledge & MemoryTypeScript

A knowledge graph server for structured memory persistence in AI models

Cognee
Knowledge & MemoryPython

Knowledge management and retrieval system with code graph capabilities

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.