MCP ExplorerExplorer

Pdf Mcp Server

@sirix-von a year ago
2 MIT
FreeCommunity
AI Systems
# A MCP Server for Reading Local PDF Format Papers

Overview

What is Pdf Mcp Server

pdf-mcp-server is a specialized MCP server designed for reading PDF format papers stored in a local directory.

Use cases

Use cases for pdf-mcp-server include reading research papers for study, managing a local library of academic articles, and facilitating access to PDF documents in collaborative research settings.

How to use

To use pdf-mcp-server, compile the server using ‘go build -o pdf-mcp-server main.go’, add the binary path to your environment variables, and start the server by specifying the directory containing your PDF papers with the command ‘pdf-mcp-server -pdfdir=your_paper_directory’.

Key features

Key features of pdf-mcp-server include the ability to read local PDF papers, customizable cursor settings for handling requests, and integration with other MCP tools for enhanced functionality.

Where to use

pdf-mcp-server can be used in academic research, educational institutions, and any environment where users need to access and read local PDF documents efficiently.

Content

MCP Server – Read Papers in the local Specified Directory

中文文档

Compile

go build -o pdf-mcp-server main.go

Installation

Add the path where the pdf-mcp-server binary is located to your environment variable.

Take macOS as an example:

export PATH=$PATH:/your/path/pdf-mcp-server
source ~/.zshrc

Start the MCP Server

pdf-mcp-server -pdfdir=your_paper_directory
For example: pdf-mcp-server -pdfdir=/Users/sirix/lunwen

Cursor Settings

{
  "mcpServers": {
    "pdf-mcp-server": {
      "url": "http://127.0.0.1:8080/sse"
    }
  }
}

Set Cursor Rules

Example:

When handling PDF-related requests, call the find_pdf tool of the mcp server named "pdf-mcp-server" to list all papers in the /Users/sirix/lunwen directory, search for the paper with the corresponding file name in this directory, and use the read_pdf tool of the pdf-mcp-server to read it.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers