- Video Content Summarization MCP Server
Video Content Summarization MCP Server
A Model Context Protocol (MCP) server that extracts content from multiple video platforms (Douyin, Bilibili, Xiaohongshu, Zhihu) and generates intelligent knowledge graphs with OCR support.
Content
Video Content Summarization MCP Server
A Model Context Protocol (MCP) server that extracts content from multiple video platforms and generates intelligent knowledge graphs.
Features
🌐 Multi-Platform Support
- Douyin (TikTok China) - Short video content extraction
- Bilibili - Video and live streaming content
- Xiaohongshu (Little Red Book) - Social media posts with OCR support
- Zhihu - Q&A platform content
✨ Advanced Capabilities
- OCR Text Recognition - Extract text from images using PaddleOCR
- Knowledge Graph Generation - Intelligent content structuring
- Chinese Content Optimization - Specialized processing for Chinese text
- Context-Aware Extraction - Smart content understanding and quality control
Installation
Prerequisites
- Python 3.8 or higher
- Anaconda (recommended for dependency management)
Setup
- Clone the repository:
git clone https://github.com/fakad/video-sum-mcp.git
cd video-sum-mcp
- Create and activate conda environment:
conda create -n vsc python=3.8
conda activate vsc
- Install dependencies:
pip install -r requirements.txt
Configuration
For Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"video-sum-mcp": {
"command": "python",
"args": ["/path/to/video-sum-mcp/main.py"],
"cwd": "/path/to/video-sum-mcp",
"env": {
"CONDA_DEFAULT_ENV": "vsc"
}
}
}
}
For Other MCP Clients
The server can be started directly:
python main.py
Usage
Basic Video Processing
# Example: Process a Bilibili video
result = process_video(
url="https://www.bilibili.com/video/BV1234567890",
output_format="markdown"
)
Supported URL Formats
- Douyin:
https://v.douyin.com/...or full URLs - Bilibili:
https://www.bilibili.com/video/... - Xiaohongshu:
https://www.xiaohongshu.com/discovery/item/... - Zhihu:
https://www.zhihu.com/question/...
Context-Enhanced Processing
For platforms with anti-crawling measures, you can provide context:
result = process_video(
url="https://...",
context_text="Additional context information..."
)
Features in Detail
OCR Integration
- Automatic image text extraction from Xiaohongshu posts
- PaddleOCR for accurate Chinese character recognition
- Batch processing for multiple images
Knowledge Graph Generation
- Structured content analysis
- Intelligent relationship mapping
- Quality control and validation
Anti-Crawling Strategies
- Smart fallback mechanisms
- Context-based extraction
- User guidance for optimal results
Development
Project Structure
video-sum-mcp/
├── core/ # Core functionality modules
│ ├── extractors/ # Platform-specific extractors
│ ├── processors/ # Content processing logic
│ ├── knowledge_graph/ # Knowledge graph generation
│ └── managers/ # Resource management
├── scripts/ # MCP server implementation
├── main.py # Main entry point
├── requirements.txt # Python dependencies
└── pyproject.toml # Project configuration
Running Tests
python -m pytest
Dependencies
Key dependencies include:
bilibili-api-python- Bilibili API integrationyt-dlp- Video downloading capabilitiesPaddleOCR- OCR text recognitionbeautifulsoup4- Web scrapingrequests- HTTP requests
See requirements.txt for complete list.
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built using the Model Context Protocol
- OCR powered by PaddleOCR
- Platform integrations using various open-source APIs
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Amap Maps高德地图官方 MCP Server