Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"pdf": {
"command": "/path/to/mcp-server-pdf"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that exposes PDF operations — text extraction and metadata retrieval — to MCP-compatible clients such as Claude Desktop.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in productivity
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Pdf and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that exposes PDF operations — text extraction and metadata retrieval — to MCP-compatible clients such as Claude Desktop.
go install github.com/tkuramot/mcp-server-pdf@latest
git clone https://github.com/tkuramot/mcp-server-pdf.git
cd mcp-server-pdf
go build -o mcp-server-pdf .
git clone https://github.com/tkuramot/mcp-server-pdf.git
cd mcp-server-pdf
nix develop
go build -o mcp-server-pdf .
The server communicates over stdio following the MCP specification. It is not intended to be run directly in a terminal; instead, register it with your MCP client.
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"pdf": {
"command": "/path/to/mcp-server-pdf"
}
}
}
Replace /path/to/mcp-server-pdf with the absolute path to the binary.
extract_textExtracts plain text content from a PDF file.
| Parameter | Type | Required | Description |
|---|---|---|---|
file_path | string | yes | Absolute or relative path to the PDF file |
page | number | no | Page number to extract (1-based). Omit or set to 0 for all pages. |
Example response (all pages):
--- Page 1 ---
Lorem ipsum dolor sit amet...
--- Page 2 ---
Consectetur adipiscing elit...
get_metadataReturns metadata embedded in a PDF file as JSON.
| Parameter | Type | Required | Description |
|---|---|---|---|
file_path | string | yes | Absolute or relative path to the PDF file |
Example response:
{
"title": "Annual Report 2024",
"author": "Jane Doe",
"subject": "Finance",
"keywords": ["finance", "annual"],
"creator": "Microsoft Word",
"producer": "Adobe PDF Library",
"creation_date": "2024-01-15T09:00:00Z",
"modification_date": "2024-03-01T12:00:00Z",
"page_count": 42
}
# Run tests
go test ./...
# Lint
go vet ./...
With Nix:
nix develop
| Package | Purpose |
|---|---|
| mark3labs/mcp-go | MCP server framework |
| ledongthuc/pdf | PDF text extraction |
| pdfcpu/pdfcpu | PDF metadata reading |
MIT