I-CAN-hack

pdf-mcp

Community I-CAN-hack
Updated

PDF MCP server with image rendering capabilities. Useful for automatically searching datasheets, manuals, etc...

pdf-mcp

An MCP server for reading, rendering, and searching PDF files. Built with PyMuPDF and PyMuPDF4LLM.

Designed for use with LLMs that need to read datasheets and other PDFs containing diagrams, tables, and technical content.

Tools

Tool Description
get_pdf_info Get metadata about a PDF (page count, author, title, etc.)
get_table_of_contents Get the outline/bookmarks with page numbers for each section
get_page_text Extract text from a page range in json (default), text, markdown, or html format. Optionally exclude headers/footers
get_page_image Render a single page as a PNG image, returned as base64 or written to a temp file. Configurable DPI (default 150)
search_text Case-insensitive text search across the entire PDF, returning page numbers and surrounding context

All requests are stateless and take the PDF filename as a parameter.

Setup

Add the following to your .mcp.json:

{
  "mcpServers": {
    "pdf-mcp": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/I-CAN-hack/pdf-mcp.git", "pdf-mcp"]
    }
  }
}

This will automatically install and run the server using uvx.

Development

# Install dependencies
uv sync

# Generate test PDFs
uv run python assets/generate.py

# Run tests
uv run pytest tests/ -v

# Run the server locally
uv run pdf-mcp

MCP Server ยท Populars

MCP Server ยท New

    smart-mcp-proxy

    MCPProxy โ€“ Smart Proxy for AI Agents

    Supercharge AI Agents, Safely

    Community smart-mcp-proxy
    wowyuarm

    File Ops

    A local file operations skill for AI agents: convert, inspect, archive, and extract text

    Community wowyuarm
    cyanheads

    @cyanheads/mcp-ts-core

    TypeScript template for building Model Context Protocol (MCP) servers. Ships with declarative tools/resources, pluggable auth, multi-backend storage, OpenTelemetry observability, and first-class support for both local and edge (Cloudflare Workers) runtimes.

    Community cyanheads
    bitbonsai

    MCP-Vault

    A lightweight Model Context Protocol (MCP) server for safe Obsidian vault access

    Community bitbonsai
    KeyID-AI

    @keyid/agent-kit

    Give Claude/Cursor email powers. 27 MCP tools โ€” inbox, send, reply, contacts, search. Free, no signup.

    Community KeyID-AI