MCP ExplorerExplorer

Mcp Pdf Reader

@Safe-Swiss-Cloud-AGon 20 days ago
1 Apache-2.0
FreeCommunity
AI Systems
Model Context Protocol (MCP) server to read a single pdf document

Overview

What is Mcp Pdf Reader

mcp_pdf_reader is a Model Context Protocol (MCP) server designed to read a single PDF document using the read_pdf tool.

Use cases

Use cases include extracting text from PDFs for analysis, summarizing content, and facilitating document review processes in professional settings.

How to use

To use mcp_pdf_reader, install Claude Desktop or another MCP-enabled AI tool, ensure Python 3.10 or higher is installed, and then install the ‘uv’ package. Configure the ‘claude_desktop_config.json’ file to include the mcp_pdf_reader server settings.

Key features

Key features include the ability to read any size PDF document (limited by token count), compatibility with Claude Desktop and LibreChat, and easy installation and configuration.

Where to use

mcp_pdf_reader can be used in various fields such as education for reading academic papers, business for reviewing contracts, and research for analyzing documents.

Content

MCP Enabled PDF Reader

Model Context Protocol (MCP) server exposes a tool called read_pdf to read a single pdf document. This has been tested on Claude Desktop and LibreChat with Ollama. Although there is no maximum size to the pdf file that can be read, the number of tokens passed to the model will be the limiting factor.

Installation

Prerequisites

Windows

  1. Install Claude Desktop (or another MCP-enabled AI tool)

  2. Install Python 3.10 or higher:

    • Download the latest Python installer from python.org
    • Run the installer, checking “Add Python to PATH”
    • Open Command Prompt and verify installation with python --version
  3. Install uv:

    • Open Command Prompt as Administrator
    • Run pip install --user uv
    • Verify installation with uv --version

macOS

  1. Install Claude Desktop (or another MCP-enabled AI tool)

  2. Install Python 3.10 or higher:

    • Using Homebrew: brew install python
    • Verify installation with python3 --version
  3. Install uv:

    • Using Homebrew: brew install uv
    • Alternatively: pip3 install --user uv
    • Verify installation with uv --version

Configuration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-pdf-reader": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Safe-Swiss-Cloud-AG/mcp_pdf_reader@main",
        "mcp_pdf_reader"
      ]
    }
  }
}

Attribution

This software package implements the ability to read a pdf file into a MCP enabled framework and is developed by Safe Swiss Cloud.

Contributing

We welcome contributions to improve these tools. Please submit issues and pull requests through our repository.

Support

For questions and support:

  1. Check our documentation
  2. Submit an issue in our repository

Tools

No tools

Comments