pdf-agent-toolkit-mcp
PDF Agent Toolkit & MCP Server (inspired by ihatepdf.cv)
Eine umfassende, datenschutzorientierte PDF-Bearbeitungssuite und ein Model Context Protocol (MCP)-Server für KI-Agenten (Claude Desktop, Cursor, Windsurf, LangChain, Claude Code).
Kernphilosophie
Keine Cloud-Uploads: Alle PDF-Verarbeitung (Komprimierung, Seitenneuordnung, Rotation, Schwärzung und Textextraktion) erfolgt zu 100 % lokal in reinem TypeScript und WebAssembly.
Agent-Token-Optimierung: Vermeidet Kontextaufblähung, indem rohe PDF-Base64-Dumps in Prompts vermieden werden; liefert strukturierte Gliederungen und Seitenausschnitte auf Abruf.
Universelle Kompatibilität: Funktioniert sofort mit
stdioJSON-RPC 2.0.
Related MCP server: filewash
🛠️ Verfügbare MCP-Tools
Werkzeugname | Kategorie | Beschreibung | Agent-Optimierung |
| Optimierung | Reduziert die Dateigröße durch Stream-Defragmentierung und DPI-Voreinstellungen ( | Reduziert das Token-Gewicht nachgelagerter OCR-/Vision-Prozesse um bis zu 70 %. |
| Intelligenz | Extrahiert Inhaltsverzeichnis, Gliederung, Wortanzahl und sauberen Markdown-Text. | Spart ~90 % Kontext-Tokens im Vergleich zum rohen Stream-Dumping. |
| Sicherheit | Erkennt SSNs, E-Mails, Kreditkarten, Aadhaar-Nummern und benutzerdefinierte Schlüsselwörter und stempelt schwarze Schwärzungsfelder. | Stellt die Einhaltung von DSGVO/HIPAA sicher, bevor Dokumente an externe LLMs gesendet werden. |
| Struktur | Kombiniertes Werkzeug: sortiert um, löscht, dreht (90/180/270°) und fügt Seitenzahlen in einem atomaren Durchgang hinzu. | Verhindert mehrstufige Roundtrips. |
| Struktur | Extrahiert bestimmte Seitenbereiche (z. B. | Ermöglicht Agenten, bestimmte Kapitel zu prüfen. |
| Struktur | Kombiniert mehrere Eingabe-PDFs zu einem einzigen Dokument. | Schnelle Zusammenstellung von Dokumenten aus mehreren Dateien. |
| Sicherheit | Stempelt visuelle Textwasserzeichen (z. B. | Visuelles Statusstempeln. |
| Erstellung | Formatiert sauberes Markdown/Text in ein A4-PDF mit stilisierten Kopfzeilen-Bannern. | Leichte Dokumentgenerierung ohne Headless-Browser-Aufblähung. |
| Formulare | Prüft AcroForm-Felder und füllt Formulardaten aus. | Automatisiert die Verarbeitung von Rechnungen, Steuern und Verträgen. |
🚀 Schnellstart-Konfigurationen für Agenten
1. Cursor IDE (.cursor/mcp.json)
{
"mcpServers": {
"pdf-agent-toolkit": {
"command": "npx",
"args": ["-y", "pdf-agent-toolkit-mcp@latest"]
}
}
}2. Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"pdf-tools": {
"command": "npx",
"args": ["-y", "pdf-agent-toolkit-mcp"]
}
}
}3. LangChain & LangGraph (Python)
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_google_genai import ChatGoogleGenerativeAI
async def main():
async with MultiServerMCPClient({
"pdf_tools": {
"command": "npx",
"args": ["-y", "pdf-agent-toolkit-mcp"],
"transport": "stdio",
}
}) as client:
tools = client.get_tools()
model = ChatGoogleGenerativeAI(model="gemini-2.5-flash")
agent = create_react_agent(model, tools)
response = await agent.ainvoke({
"messages": [("user", "Compress ./financials.pdf and blackout sensitive SSNs")]
})
print(response)💻 Server lokal ausführen
# Run MCP server on stdio
npm run mcp
# Start the interactive visual testing studio and playground
npm run devThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and users to process documents through natural language, supporting PDF operations like text extraction, redaction, splitting, form filling, annotations, and content search.20561MIT
- AlicenseNot gradedqualityBmaintenancePrivacy-first file tools for AI agents, enabling operations like PDF merge/split, image compression/convert, metadata stripping, and background removal without storing files.46MIT
- FlicenseNot gradedqualityCmaintenanceA local PDF manipulation server for AI agents that provides tools for merging, splitting, extracting info, and converting images to PDF, all without uploading files.
- AlicenseAqualityAmaintenanceEnterprise-grade PDF engine for AI agents. Pure TypeScript, zero-dependency, and local-first. Allows agents to generate ISO-compliant PDF/A documents, handle digital signatures (PKCS#7), and process high-performance layouts (800+ pages in seconds).288342MIT
Related MCP Connectors
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhishektangudu/pdf-toolkit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server