PDF MCP Server

by gstiebler

Not rated
GitHub

About

Extract text and data from PDF files using pdfplumber by providing local file paths.

Details

Author
gstiebler
Categories
File Management

Setup

Install PDF MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/gstiebler/pdf-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

A simple Model Context Protocol (MCP) server that provides PDF reading capabilities using pdfplumber.

- extract_text: Extract all text content from PDF files
- get_pdf_info: Get basic PDF information (page count, metadata, dimensions)
- extract_tables: Extract tables from PDF files

Option 1: Without installation (using uvx)

You can run the server directly without installing it:

uvx --from git+https://github.com/gstiebler/pdf-mcp-server.git pdf-mcp-server

Clone the repository and install dependencies:

git clone https://github.com/gstiebler/pdf-mcp-server.git cd pdf-mcp-server uv sync

The server runs using stdio transport and can be integrated with any MCP client.

Extracts all text content from a PDF file.

- file_path(string): Path to the PDF file

Gets basic information about a PDF file.

- file_path(string): Path to the PDF file

- Dictionary containing:

- page_count: Number of pages
- metadata: PDF metadata (if available)
- page_dimensions: Width and height of the first page

- file_path(string): Path to the PDF file
- page_number(integer, optional): Specific page number to extract from (1-indexed)

- List of tables with:

- page: Page number where the table was found
- data: Table data as a list of rows (each row is a list of cell values)

To use this server with Claude Desktop, add it to your Claude Desktop configuration:

Option 1: Direct from GitHub (recommended)

{ "mcpServers": { "pdf-reader": { "command": "uvx", "args": ["--from", "git+https://github.com/gstiebler/pdf-mcp-server.git", "pdf-mcp-server"] } } }
{ "mcpServers": { "pdf-reader": { "command": "python", "args": ["/path/to/pdf-mcp-server/main.py"] } } }

Parses various file formats using the 302.AI API, requiring a 302AI_API_KEY.

A local server that allows AI to execute Windows CMD commands, read/write files, and manage directories within a specified path.

Filesystem agent memory working with consolidation Daemon on your machine

An AI-powered MCP server for advanced file system operations, including search, comparison, and security analysis.

Securely browse and read files within an Android project, with built-in validation and access controls for sensitive directories.

Build a persistent, local knowledge base in Markdown files through conversations with LLMs.

A read-only MCP server for querying live FTP data using the CData JDBC Driver.

An MCP server for viewing, editing, and creating text files, based on the Claude built-in text editor tool.

Convert PDF, Word, Excel, PowerPoint, EPUB, HEIC and images from Claude or Cursor, with 35 converters exposed through just two MCP tools.

A cross-platform filesystem server for Linux, macOS, and Windows with secure path restrictions.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.