Basic information
About PDF Extraction MCP Server (Claude Code Fork)
MCP server to extract contents from a PDF file
PDF Extraction MCP Server (Claude Code Fork) is a MCP server in the Files & Storage category listed in the AddMCP.net directory, published by xraywu. Supported transport: stdio. Runtime: python. The repository has 31 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-pdf-extraction-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"mcpServers": {
"mcp-pdf-extraction-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"servers": {
"mcp-pdf-extraction-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
PDF Extraction MCP Server (Claude Code Fork) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-pdf-extraction-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
PDF Extraction MCP Server (Claude Code Fork) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is PDF Extraction MCP Server (Claude Code Fork)?
The PDF Extraction MCP Server (Claude Code Fork) is an MCP server that extracts text content from PDF files. It is a fork of the original server with critical fixes for installing and running with Claude Code CLI.
How to use PDF Extraction MCP Server (Claude Code Fork)?
Clone the repository, install in development mode with pip install -e ., then find the installed command path and add it to Claude Code using claude mcp add pdf-extraction /full/path/to/pdf-extraction. Once added, start a new Claude session and use /mcp to confirm connection; then ask Claude to extract content from a local PDF by specifying the file path and optionally a comma-separated list of pages (e.g., "1-3,-1").
Key features of PDF Extraction MCP Server (Claude Code Fork)
- Extracts text from local PDF files
- Supports OCR for scanned documents
- Optional page selection with comma-separated numbers
- Supports negative indexing (e.g., -1 for last page)
- Fixed for Claude Code CLI installation
- Runnable as a Python module via
python -m pdf_extraction
Use cases of PDF Extraction MCP Server (Claude Code Fork)
- Extract content from PDFs for analysis or summarization in Claude
- Process specific pages (including the last page) from a multi‑page document
- Handle scanned documents via OCR within Claude Code
- Automate PDF data extraction in MCP‑enabled workflows
Frequently asked questions
1 What are the required dependencies?
Python 3.11+ and the packages mcp>=1.2.0, pypdf2>=3.0.1, pytesseract>=0.3.10, Pillow>=10.0.0, pydantic>=2.10.1,<3.0.0, and pymupdf>=1.24.0.
2 How do I add the server to Claude Code?
After installing, run which pdf-extraction to get the full path, then execute claude mcp add pdf-extraction /full/path/to/pdf-extraction.
3 Does this fork work with Claude Desktop?
No, this fork is specifically for Claude Code CLI. For Claude Desktop, refer to the original repository.
4 What does the extract-pdf-contents tool accept?
It requires a pdf_path string (local file path
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In