https://github.com/0xshellming/mcp-summarizer
MCP Server for AI Summarization
https://github.com/0xshellming/mcp-summarizer
ai ai-summarizer book bookreader deepseek-r1 ebook gemini summarizer
Last synced: about 1 year ago
JSON representation
MCP Server for AI Summarization
- Host: GitHub
- URL: https://github.com/0xshellming/mcp-summarizer
- Owner: 0xshellming
- Created: 2025-02-28T08:34:32.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-28T12:10:58.000Z (about 1 year ago)
- Last Synced: 2025-02-28T17:55:34.174Z (about 1 year ago)
- Topics: ai, ai-summarizer, book, bookreader, deepseek-r1, ebook, gemini, summarizer
- Language: JavaScript
- Homepage: https://3min.top/en
- Size: 325 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp - 0xshellming/mcp-summarizer
- awesome-mcp-servers - Gemini Summarizer - MCP Server for AI Summarization (Table of Contents / AI Services)
- awesome-mcp-servers - mcp-summarizer - An AI summarization MCP server supporting multiple content types including plain text, web pages, PDFs, and EPUB books, exposing summarization tools over the MCP protocol. ([Read more](/details/mcp-summarizer.md)) `summarization` `documents` `web` (Content Extraction & Summarization Mcp Servers)
- awesome-mcp-servers - **mcp-summarizer** - MCP Server for AI Summarization `javascript` `ai` `ai-summarizer` `book` `bookreader` `npm install 0xshellming/mcp-summarizer` (🤖 AI/ML)
- awesome-mcp-zh - mcp-summarizer
- awesome-mcp-servers - mcp-summarizer - AI Summarization MCP Server, Support for multiple content types: Plain text, Web pages, PDF documents, EPUB books, HTML content (Legend / 🧠 <a name="knowledge--memory"></a>Knowledge & Memory)
- awesome-mcp-servers - 0xshellming/mcp-summarizer - سرور MCP خلاصهسازی هوش مصنوعی، پشتیبانی از انواع مختلف محتوا: متن ساده، صفحات وب، اسناد PDF، کتابهای EPUB، محتوای HTML (پیادهسازیهای سرور / 🧠 <a name="knowledge--memory"></a>دانش و حافظه)
- toolsdk-mcp-registry - ❌ summarizer
- metorial-index - Content Summarizer Server - The Content Summarizer Server helps users create brief summaries of various types of written content using advanced AI technology. It simplifies complex materials into easy-to-understand summaries, making it easier to grasp key ideas quickly. (Content Creation)
- best-of-mcp-servers - GitHub
- awesome-mcp-list - 0xshellming/mcp-summarizer - summarizer?style=social)](https://github.com/0xshellming/mcp-summarizer): Provides AI summarization for multiple content types. (Uncategorized / Uncategorized)
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.
## Powered by 3MinTop
The summarization service is powered by [3MinTop](https://3min.top), 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:
```js
{
"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:
```typescript
// 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](LICENSE) file for details.
