Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from saury1120/pdf-mcp

一个强大的 PDF 处理 MCP(Model Context Protocol)服务,提供全面的 PDF 文档分析功能

License

voyokee/pdf-mcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF-MCP GitHub stars

中文 | English

📄 PDF-MCP 服务

高性能 PDF 文档处理服务,支持文本、图片、表格提取及高级分析。

✨ 主要特性

  • 📜 文本提取:多语言支持,保留格式。
  • 🖼️ 图片处理:提取与优化。
  • 📊 表格识别:结构化数据输出。
  • 🧠 智能分类:基于深度学习。
  • 🔍 相似度分析:跨语言比较。
  • 🌐 多语言支持:100+ 种语言。

💻 系统要求

  • 🖥️ 硬件:2 核 CPU,4GB 内存。
  • ⚙️ 软件:Python 3.10+,可选 CUDA 支持。

🚀 快速开始

  1. 🗂️ 克隆仓库并进入目录:
    git clone https://github.com/saury1120/pdf-mcp.git
    cd pdf-mcp
  2. 🛠️ 创建虚拟环境并安装依赖:
    uv venv
    source .venv/bin/activate
    uv pip install -r requirements.txt
  3. ▶️ 启动服务:
    uv run pdf_reader
    
    

Claude Desktop 配置

  1. 找到配置文件:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %AppData%/Claude/claude_desktop_config.json
  2. 添加以下配置:
{
    "mcpServers": {
        "pdf_reader": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/pdf-mcp",  # 替换为实际路径
                "run",
                "pdf_reader"
            ]
        }
    }
}

PDF-MCP Service

A high-performance PDF document processing service supporting text, image, table extraction, and advanced analysis.

✨ Key Features

  • 📜 Text Extraction: Multilingual support, retains formatting.
  • 🖼️ Image Processing: Extraction and optimization.
  • 📊 Table Recognition: Structured data output.
  • 🧠 Intelligent Classification: Based on deep learning.
  • 🔍 Similarity Analysis: Cross-language comparison.
  • 🌐 Multilingual Support: 100+ languages.

💻 System Requirements

  • 🖥️ Hardware: 2-core CPU, 4GB RAM.
  • ⚙️ Software: Python 3.10+, optional CUDA support.

🚀 Quick Start

  1. 🗂️ Clone the repository and enter the directory:
    git clone https://github.com/saury1120/pdf-mcp.git
    cd pdf-mcp
  2. 🛠️ Create a virtual environment and install dependencies:
    uv venv
    source .venv/bin/activate
    uv pip install -r requirements.txt
  3. ▶️ Start the service:
    uv run pdf_reader
    
    

Claude Desktop

{
    "mcpServers": {
        "pdf_reader": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/pdf-mcp",  # 替换为实际路径
                "run",
                "pdf_reader"
            ]
        }
    }
}

About

一个强大的 PDF 处理 MCP(Model Context Protocol)服务,提供全面的 PDF 文档分析功能

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%