PDF Card MCP logo

PDF Card MCP

by velyan

Converts local PDFs into standalone, source-linked HTML readers with cards, annotations, images, and optional OCR.

Install PDF Card MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "velyan-pdf-card-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "pdf-card-mcp",
        "pdf-card-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

velyan/pdf-card-mcp MCP server converts local PDF files into standalone HTML readers organized as source-linked cards. It preserves source text, renders page previews, crops detected tables, figures, and formulas, and includes navigation, search, annotations, and Markdown export. Configure processing through PDF paths and optional limits, OCR, themes, extraction engines, table detection, and local model caching. Reach for it when a developer needs to read, cite, annotate, or statically publish a local PDF without relying on a hosted service.

Use cases

  • Convert research papers into source-linked reading cards
  • Annotate local PDFs and export notes as Markdown
  • Inspect tables, figures, and formulas beside source-page previews
  • Publish a read-only static reader with selected annotations

Key features

  • Standalone HTML reader generation
  • Source-linked cards and page previews
  • Local notes, highlights, and Markdown export
  • Optional OCR fallback
  • Configurable text, table, style, and postprocessing engines
  • Static publishing with selected annotations

Tools3

What PDF Card MCP lets your agent do. Expand a tool for its parameters.

Verified live~991 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/26 checks healthy over the last 111d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 3
Network at startup2 connections
Files written at startup15

Observed 2026-11-13 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · pdf-card-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How PDF Card MCP works

What velyan/pdf-card-mcp does

velyan/pdf-card-mcp MCP server turns a local PDF into a portable HTML reader. The output keeps document content connected to its source pages and divides long material into smaller reading cards. It also writes a manifest containing card, page, warning, and source-anchor metadata.

The generated reader embeds its CSS, JavaScript, page images, and detected visual crops in one HTML file. Tables, figures, and display formulas can be represented as image crops so readers can compare them with the original page. The interface includes search, section navigation, previous and next controls, keyboard navigation, a font-size slider, and source-page previews.

Readers support a local annotation overlay. Users can highlight selected source text or attach typed notes to selected text, then export their notes and highlights as Markdown. The project also supports validating annotations and publishing a read-only static reader with selected public annotations.

How it works

The MCP host supplies a local PDF path and optional processing settings. The converter extracts text, renders PDF pages, detects visual elements, derives reader styling from the source palette, and writes the HTML reader plus a manifest. Default processing is local and does not require a hosted service.

Text extraction can use char_geometry or pdfplumber_words, with char_geometry as the default. Table handling accepts auto, pdfplumber, or gmft; automatic selection uses gmft when it is installed. The fixed, pdf, and sampling style engines control how reader styling is produced, while postprocessing can remain disabled or use sampling.

Optional MCP sampling is restricted to validated style tokens or suggestions for card-boundary polish. Raw CSS and source-text rewrites are rejected. OCR is available as a fallback when pytesseract is installed, which makes it relevant for scanned PDFs but not a guaranteed default path.

Setup and configuration

velyan/pdf-card-mcp can be installed from PyPI with pip, run through uvx, installed from the repository, or packaged as a Claude Desktop MCPB extension. The documented Python range is 3.11 through 3.13. The recommended uv setup manages the Python runtime for the command-line and MCP server paths.

A generic stdio configuration runs pdf-card-mcp-server through uvx. A local checkout can instead be started with python -m pdf_card_mcp.server. Claude Desktop users can install the MCPB file from the latest GitHub release. After installation, reload or restart the MCP client.

The main conversion inputs are pdf_path, optional output_path, and an optional title. Other settings include standalone, ocr, max_pages, theme, style_engine, table_engine, text_engine, postprocess_engine, model_cache_dir, and offline. Standalone output defaults to enabled; asset-folder output is reserved for a later release. offline restricts processing to already-cached optional machine-learning models.

Tools and capabilities

  • Convert local PDFs into standalone HTML readers.
  • Limit processing to a selected number of pages.
  • Apply PDF-derived, fixed, or sampling-based reader styling.
  • Select text, table, and postprocessing engines.
  • Use optional OCR and local machine-learning table detection.
  • Generate source-page previews and crops for tables, figures, and formulas.
  • Validate notes and highlights, export annotations as Markdown, and publish selected annotations as read-only static output.

Limitations and notes

velyan/pdf-card-mcp is an early open-source implementation. Its current strengths are text-layer PDFs, best-effort table detection through pdfplumber, and permissive raster rendering through pypdfium2. Scanned documents require optional OCR support.

The optional richer table detector requires the table-ml extra. If the server runs inside Docker, the PDFs and output directories must be mounted into the container because processing still uses local file paths. The standalone reader is the primary output; asset-folder output is not yet available through the documented standalone option.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about PDF Card MCP

velyan/pdf-card-mcp is an MCP server that connects an MCP host to local PDF files and converts them into source-linked standalone HTML readers. Its main capabilities include PDF conversion, configurable text and table extraction, optional OCR, annotation validation, and static publishing with selected notes or highlights.

Install it from PyPI with pip, run it through uvx, or install the MCPB bundle for Claude Desktop. The documented package supports Python 3.11 through 3.13. For a local checkout, run the server module from the repository; reload the MCP client after installation.

Yes, Cursor is listed as an installation target. Install uv first, then use the provided Cursor MCP installation link or configure the server with uvx and the pdf-card-mcp-server entry point.

Yes, scanned PDFs can use an optional OCR fallback when pytesseract is installed. The project describes scanned-document support as dependent on that optional OCR setup, while text-layer PDFs are the current primary use case.

Install the optional table-ml extra and select the gmft table engine. Automatic table selection uses gmft when it is installed; otherwise, the server can use pdfplumber according to the configured table engine.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPDF Card MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/velyan-pdf-card-mcp?style=directory)](https://allmcps.com/mcp/velyan-pdf-card-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/velyan-pdf-card-mcp"><img src="https://allmcps.com/api/badge/velyan-pdf-card-mcp?style=directory" alt="PDF Card MCP on AllMCPs" /></a>