pdf-reader-mcp

ivanvanderbyl/pdf-reader-mcp

3.4

If you are the rightful owner of pdf-reader-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The PDF Reader MCP Server is a tool for reading and analyzing PDF documents using Google's Gemini API, enabling AI assistants to seamlessly interact with PDF content.

The PDF Reader MCP Server is designed to facilitate the interaction between AI assistants and PDF documents by leveraging Google's Gemini API. This server allows AI tools like Claude and Cursor to read, extract, and analyze PDF content directly from their interfaces. By acting as a bridge, it enables these assistants to perform tasks such as text extraction, content analysis, and information search within PDFs without the need for manual conversion. The server supports the `stdio` protocol for MCP communication, ensuring a seamless integration with AI platforms. It offers a straightforward installation process via Homebrew, Go, or pre-built binaries, making it accessible for users on various operating systems.

Features

  • Direct PDF access: Enables reading and analyzing PDF documents without manual conversion.
  • Advanced AI analysis: Utilizes Gemini's vision and language models for comprehensive document understanding.
  • Text extraction: Capable of extracting both structured and unstructured text from PDFs.
  • Content search: Allows searching for specific information within PDF documents.
  • Seamless integration: Compatible with Claude Code, Claude Desktop, and Cursor for native operation.

Usages

usage with Claude Code

sh
claude mcp add-json --scope user pdf-reader-mcp '{"type":"stdio","command":"pdf-reader-mcp","env":{"GEMINI_API_KEY":"YOUR-GEMINI-API-KEY-HERE"}}'

usage with Claude Desktop

{
  "mcpServers": {
    "pdf-reader-mcp": {
      "command": "pdf-reader-mcp",
      "args": [
        "--model",
        "gemini-1.5-flash"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR-GEMINI-API-KEY-HERE"
      }
    }
  }
}

Tools

  1. pdf_read

    Tool for reading and extracting text from PDF files.

  2. pdf_analyze

    Tool for analyzing PDF content using Gemini's vision capabilities.

  3. pdf_search

    Tool for searching within PDF documents for specific information.