MCP Hub
Back to servers

mcp-pdf-tools

An MCP server that enables users to read, search, and analyze PDF documents. It provides tools for extracting text, viewing metadata, searching content with context, and generating word statistics.

Updated
Jan 28, 2026

mcp-pdf-tools

MCP server for extracting text, searching, and analyzing PDF files

npm version License: MIT

Give Claude the ability to read, search, and analyze PDF documents through MCP.


Features

  • pdf_info - Get metadata (title, author, pages, text length)
  • pdf_extract_text - Extract all text from a PDF
  • pdf_extract_pages - Extract text from specific page ranges
  • pdf_search - Search for text within a PDF with context
  • pdf_word_stats - Word count and top word frequencies

Quick Start

With Claude Desktop

{
  "mcpServers": {
    "pdf-tools": {
      "command": "npx",
      "args": ["-y", "mcp-pdf-tools"]
    }
  }
}

With Claude Code

claude mcp add pdf-tools npx mcp-pdf-tools

Tools

pdf_info

Get metadata about a PDF.

pdf_extract_text

Extract all text. Supports max_chars to limit output size.

pdf_extract_pages

Extract text from page range (start_page to end_page, 1-indexed).

pdf_search

Search for text with surrounding context. Case-insensitive.

pdf_word_stats

Get word count and top N most frequent words.

Example Conversation

You: Summarize the key points in /documents/report.pdf

Claude: Let me read that PDF... Uses pdf_info to check the document Uses pdf_extract_text to read the content

Here are the key points from the 24-page report...

License

MIT

Reviews

No reviews yet

Sign in to write a review