Skip to content
mcp/skillhub

KDAN PDF MCP Server

by kdan-pdfcom.kdandoc.mcp/kdan-pdf-mcpv1.0.0

Upload, edit, compress, protect, redact, and compare PDFs with KDAN PDF in Claude and ChatGPT.

57remoteofficial registry

context tax

~7,355 tok/turn16 tools

security

97/100

cold start

hosted

freshness

Active50d ago

Our reading of KDAN PDF, from the data

KDAN PDF is a ai & llm tools MCP server from kdan-pdf, listed in the official MCP Registry.

Its 16 tools add about 7,355 tokens to every model turn, heavier than the ai & llm tools median of 1,038 tokens across 276 measured servers (measured 2026-10-19).

Maintenance is active: the last public signal was 2 months ago (2026-09-23). For comparison, 58% of ai & llm tools servers are active or maintained.

With 57 GitHub stars it ranks #227 of 3,169 ai & llm tools servers we index.

It runs as a hosted endpoint, so there is nothing to install.

Install KDAN PDF MCP server

Install in Claude Code

claude mcp add --transport http kdan-pdf https://mcp.kdandoc.com/mcp

Remote endpoints

  • streamable-httphttps://mcp.kdandoc.com/mcp

Context tax

Connecting this server adds ~7,355 tokens of tool definitions to every model turn (heavy, 16 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$29.42$1.47
Claude Sonnet 5.5$14.71$1.47
Claude Haiku 5.5$0.736—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (16)

  • redact_by_text_range681 tok

    Redact PDF text by specifying the exact text to remove on each line. MANDATORY WORKFLOW — follow every step in order before calling this tool: Step 1 — Retrieve line text: Call list_redactable_line_text and note the exact 'text' string and 'line_index' for every line you intend to redact. Step 2 — Identify the text to redact: Provide the exact substring to remove. The value must appear verbatim in the line's 'text' field. - Non-CJK text (e.g. English): whole-word matching is enforced. "the" will NOT redact text inside "then", "there", or "either". - CJK text (e

  • upload_pdf514 tok

    Upload a PDF from a ChatGPT file attachment. MANDATORY WORKFLOW — follow EVERY step in order: 1. ALWAYS call check_upload_status FIRST — even if you think the file is new. 2. If a job with the same filename already exists, reuse its job_id — do NOT call upload_pdf. 3. Only call upload_pdf if the file is confirmed absent from check_upload_status. Skipping step 1 and calling upload_pdf directly is FORBIDDEN. Use this when the user provides a file attachment in ChatGPT. The host resolves the attachment and passes it to this tool; the tool then stores the PDF and returns session_id and job_id fo

  • check_upload_status446 tok

    Check existing uploads and determine which files still need uploading. Call this BEFORE upload_pdf or create_upload_page to avoid duplicate uploads. Also call it after the user uploads via the widget to discover the new file and its job_id. Returns 'session_id' (always — store it!), plus: - 'already_uploaded': files from pending_filenames that are already in this session, with reusable job_ids (empty when pending_filenames is omitted) - 'needs_upload': files not yet in this session (must be uploaded) - 'jobs' / 'count': every file currently stored in this session You MUST call this tool b

  • batch_upload_pdf412 tok

    Upload multiple PDF files from ChatGPT file attachments. Use this when the user provides multiple file attachments in ChatGPT. Downloads each PDF from its signed URL and stores it. Returns session_id and a list of job_ids. Like upload_pdf, this ONLY works on hosts that resolve chat attachments for you (ChatGPT). On Claude and other MCP clients, call create_upload_page instead. Never invent or guess a download_url or file_id. MANDATORY WORKFLOW before calling this tool: 1. ALWAYS call check_upload_status FIRST — even if you think the files are new. 2. Only include files confirmed absent from

  • view_pdf375 tok

    Display an already-uploaded PDF in an interactive viewer widget. Call this after delete_pdf_page, set_password, change_password, redact_pii, and redact_by_text_range to show the updated PDF. Also call when the user explicitly asks to (re-)display a specific PDF. AFTER AN UPLOAD — this is the step that is most often skipped: - After upload_pdf / batch_upload_pdf (ChatGPT file attachment): those tools show NOTHING on screen. If the user asked to see, open, view, read, or display the document, you MUST call view_pdf now — the upload alone does not display it. - After create_upload_page (wid

  • delete_pdf_page369 tok

    Delete one or more pages from a PDF and return a new versioned file. MANDATORY: Before calling this tool, call 'check_upload_status' with the session_id to confirm the file exists and retrieve the latest job_id. Skipping this check and calling delete_pdf_page directly is FORBIDDEN. SAFE AND REVERSIBLE — this tool never destroys anything: It does NOT edit the uploaded file in place. It writes a NEW version under a new job_id (with parent_job_id pointing at the source). The source PDF stays on the server byte-for-byte unchanged and remains viewable and downloadable via its own job_id, so the u

  • compare_pdfs275 tok

    MANDATORY for all document comparison requests. Compare two PDFs side-by-side. When the user asks to compare, diff, or find differences between two PDFs, you MUST call this tool — NEVER attempt to compare documents using text analysis. Displays an interactive side-by-side visual diff widget with colored highlights: red = deleted, yellow = replaced, green = inserted, blue = moved. Before calling, confirm both job_ids exist via check_upload_status. MANDATORY after this tool returns: 1. Report how many spots of each type were found ('spots' in the result), naming the highlight colour for ea

  • get_pdf_page_images262 tok

    Use this when you need to visually inspect PDF pages to identify content that cannot be detected from text alone — for example, pages containing a logo, a photograph, a watermark, a QR code, or any visual element. Returns rendered JPEG screenshots as images you can see. Returns at most 10 pages per call. ALWAYS start from start_page=1 and paginate through the ENTIRE document: check 'has_more' in structuredContent — if true, call again with start_page=next_start_page. Repeat until has_more is false. You must finish scanning all pages before answering the user's question or performing any action

  • create_upload_page251 tok

    Display an interactive PDF upload widget directly in the chat. Use this when the user wants to upload a local PDF file from their device. This is the standard upload method for MCP clients (e.g. Claude) where file attachments with download URLs are not available. Do NOT call upload_pdf when using this tool — the widget handles the upload automatically. The widget renders inline and the PDF viewer appears after the user selects a file. Do NOT call view_pdf after this tool; the widget manages the UI. Never tell the user the file is still uploading; the widget handles the spinner. After the us

  • change_password196 tok

    Change the password of an already-protected PDF file. Creates a NEW job_id (with parent_job_id linking to the source). After the operation completes, call 'view_pdf' with the new job_id to display the result. Do NOT call this on an unprotected PDF — use set_password instead.

  • compress_pdf195 tok

    Compress a PDF to reduce its file size and return a new versioned file. MANDATORY: Before calling this tool, call 'check_upload_status' with the session_id to confirm the file exists and retrieve the latest job_id. Skipping this check and calling compress_pdf directly is FORBIDDEN. Each call creates a NEW job_id (with parent_job_id linking to the source). The original PDF version is preserved unchanged — previous versions remain accessible. After compression completes, call 'view_pdf' with the new job_id to display the result.

  • set_password186 tok

    Add password protection to an unprotected PDF file. Creates a NEW job_id (with parent_job_id linking to the source). After the operation completes, call 'view_pdf' with the new job_id to display the result. Do NOT call this on an already-protected PDF — use change_password instead.

  • list_redactable_line_text156 tok

    Return per-page, per-line text for identifying redaction targets. Read-only: does not modify job state. ALWAYS call this before redact_by_text_range. The returned 'text' field for each line is the source of truth — you MUST use it to count exact character positions. Character positions within each line are 0-based from the start of that line.

  • get_pdf_info135 tok

    Use this when you need to read the text content of each page to decide which pages to delete. Returns page count and a text preview of every page. Use for text-based identification: table of contents, blank pages, cover page, etc. For visual content (logos, images, photos), use get_pdf_page_images instead.

  • get_latest_comparison104 tok

    Re-run the most recent PDF comparison for a session. For widget recovery only. The comparison widget calls this when the host did not hand it the comparison payload. Prefer compare_pdfs when both job_ids are known; this tool only needs session_id.

  • get_pdf_status89 tok

    Return current status of a PDF viewer job. Used internally by the viewer widget.

Security signals

97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No security policy (SECURITY.md)-3

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 50d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-09-23 · 50d ago · GitHub

  2. Latest release

    2026-07-29 · 4mo ago · GitHub · v1.0.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-28 · 4mo ago · official registry · v1.0.0

How it compares in AI & LLM Tools

Against the most-starred ai & llm tools servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
KDAN PDF (this)57167,355Activehosted
Memory91,3569949Activelocal
Claude Flow76,638—not measuredActivelocal
Next AI Draw.io36,318164,856Activelocal
Serena Agent30,371—not measuredActivelocal
Cua30,160—not measuredActive—
All ai & llm tools MCP servers

FAQ

›How do I install the KDAN PDF MCP server in Claude Code?

Run: claude mcp add --transport http kdan-pdf https://mcp.kdandoc.com/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does KDAN PDF require an API key?

No required environment variables are declared in its published metadata.

›Can I use KDAN PDF as a remote (hosted) MCP server?

Yes. It is a hosted MCP server; connect to its URL with any client that supports remote MCP.

›Is KDAN PDF in the official MCP registry?

Yes, as com.kdandoc.mcp/kdan-pdf-mcp.

›How many tokens does KDAN PDF add to my context?

Its tool definitions total about 7,355 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-07-28
GitHub repository
fetched 2026-10-19
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to KDAN PDF

Other ai & llm tools MCP servers.

View all