一个强大的 PDF 处理 MCP(Model Context Protocol)服务,提供全面的 PDF 文档分析功能
claude mcp add --transport stdio saury1120-pdf-mcp uv run pdf_reader
How to use
PDF-MCP provides a high-performance PDF document processing service. It supports extracting text from documents with multilingual retention, extracting and optimizing embedded images, recognizing tables to output structured data, and performing advanced analyses such as intelligent classification and cross-language similarity checks. The service is designed to handle large PDFs efficiently and can be integrated into your workflow via the MCP framework using the pdf_reader server name. You can leverage the built-in tools to programmatically extract content, analyze layout, and export structured results for downstream processing or integration with other systems.
How to install
Prerequisites:
- Python 3.10+ (optional CUDA support for acceleration)
- Internet access to install dependencies
Installation steps:
- Clone the repository and enter the project directory:
git clone https://github.com/saury1120/pdf-mcp.git
cd pdf-mcp
- Create and activate a Python virtual environment using the MCP workflow (uv):
uv venv
source .venv/bin/activate
- Install the required Python dependencies:
uv pip install -r requirements.txt
- Run the PDF reader MCP service:
uv run pdf_reader
Optional: If you are configuring Claude Desktop or other MCP clients, ensure the mcpServers entry matches the server name (pdf_reader) and uses the uv command as shown above.
Additional notes
Notes and tips:
- The service expects a Python 3.10+ environment; CUDA support is optional for acceleration if you have a compatible GPU.
- The MCP configuration uses the uv command with the run subcommand to start the pdf_reader server. If you modify the server name, ensure alignments in your MCP clients.
- When deploying in production, consider resource allocation for 2-core CPU and at least 4GB RAM as a baseline; scale up as needed for larger PDFs or concurrent requests.
- If you encounter environment issues, verify that the virtual environment is activated and that dependencies from requirements.txt are installed correctly.
- For Claude Desktop integration, ensure the path to pdf-mcp is correct and replace /path/to/pdf-mcp with the actual directory.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP