Labsco
vlad-ds logo

PDF Agent MCP

β˜… 12

from vlad-ds

A server for AI agents to selectively process and extract content from PDF documents.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeNeeds API keys

PDF Agent MCP

🌐 Visit the Landing Page for an overview and easy download

Features

  • Metadata Extraction: Get PDF properties, page count, and file information
  • Text Extraction: Native text extraction with hybrid processing for better results
  • Image Conversion: Convert PDF pages to optimized images for visual analysis
  • Content Search: Pattern/regex search with context snippets
  • Table of Contents: Extract bookmarks and document outline
  • Flexible Path Support: Use absolute paths or relative paths from ~/pdf-agent/

Development

Copy & paste β€” that's it
# Install dependencies
npm install

# Build the project
npm run build

# Create DXT package
npm run build:dxt

# Pack the final .dxt file for distribution
dxt pack

Viewing Logs

To debug issues, you can view the MCP server logs:

Copy & paste β€” that's it
# View logs (macOS)
open "$HOME/Library/Logs/Claude/mcp-server-PDF Agent MCP.log"

# Stream logs in real-time (macOS)
tail -f "$HOME/Library/Logs/Claude/mcp-server-PDF Agent MCP.log"

# Clear/delete logs (macOS)
rm "$HOME/Library/Logs/Claude/mcp-server-PDF Agent MCP.log"

# View logs (Windows)
notepad "%LOCALAPPDATA%\Claude\Logs\mcp-server-PDF Agent MCP.log"

# Clear/delete logs (Windows)
del "%LOCALAPPDATA%\Claude\Logs\mcp-server-PDF Agent MCP.log"

License

MIT