WORK IN PROGRESS - USE WITH CAUTION - Windows:
MCP server for working with PDF files
Overview
MCP PDF Tools is a server designed for manipulating PDF files using the Model Context Protocol (MCP). It allows users to perform various operations on PDFs, such as merging and extracting pages.
To use MCP PDF Tools, clone the repository, set up a virtual environment, and configure it with your application (e.g., Claude Desktop) to run PDF manipulation commands.
- Merge multiple PDF files into a single PDF in a specified order. - Extract specific pages from a PDF file. - Search PDFs using filesystem search or regex pattern matching. - Find and merge related PDFs based on text extraction.
- Merging reports into a single document for easier distribution.
- Extracting specific pages from a large PDF for presentations.
- Automating the organization of PDF files based on content.
Add to your AI client
Use these steps to connect WORK IN PROGRESS - USE WITH CAUTION - Windows: in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-pdf-tools-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pdf-tools-hanweg"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-pdf-tools-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pdf-tools-hanweg"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-pdf-tools-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pdf-tools-hanweg"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-pdf-tools-hanweg": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pdf-tools-hanweg"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-pdf-tools-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pdf-tools-hanweg"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-pdf-tools-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-pdf-tools-hanweg"
]
}
}
}FAQ
Is MCP PDF Tools safe to use?
Yes, but it is currently a work in progress, so use with caution.
Can I use MCP PDF Tools on any operating system?
The current setup is designed for Windows.
How do I install MCP PDF Tools?
Follow the installation instructions provided in the repository.