pdf-lite-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
pdf-lite-mcp
Features
Read PDFs from local files or URLs
Extract specific pages or full content
Metadata extraction (title, author, page count)
Batch processing support
Security-focused with path validation
Related MCP server: PDF Reader MCP Server
Installation
From PyPI (recommended)
# Install using uvx (no need to clone repository)
uvx pdf-lite-mcp
# Or install globally
pip install pdf-lite-mcpFrom source
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone and install
git clone https://github.com/tsaol/pdf-lite-mcp.git
cd pdf-lite-mcp
uv syncAmazon Q CLI Configuration
Using PyPI package (recommended)
{
"mcpServers": {
"pdf-lite": {
"command": "uvx",
"args": ["pdf-lite-mcp"],
"disabled": false,
"autoApprove": ["read_pdf"]
}
}
}Using local development version
{
"mcpServers": {
"pdf-lite": {
"command": "uv",
"args": ["run", "python", "src/main.py"],
"cwd": "/path/to/pdf-lite-mcp",
"env": {
"PYTHONPATH": "."
}
}
}
}Using Git URL
{
"mcpServers": {
"pdf-lite": {
"command": "uvx",
"args": ["--from", "git+https://github.com/tsaol/pdf-lite-mcp.git", "pdf-lite-mcp"],
"env": {
"PYTHONPATH": "."
}
}
}
}Usage
Basic PDF Reading
{
"tool_name": "read_pdf",
"arguments": {
"sources": [{"path": "./document.pdf"}],
"include_full_text": true
}
}Specific Pages
{
"tool_name": "read_pdf",
"arguments": {
"sources": [{"path": "./report.pdf", "pages": [1, 3, 5]}]
}
}Multiple PDFs
{
"tool_name": "read_pdf",
"arguments": {
"sources": [
{"path": "./doc1.pdf"},
{"url": "https://example.com/doc2.pdf"}
]
}
}Testing
# Basic tests
uv run python tests/simple_test.py
# Server tests
uv run python tests/test_server.py
# PDF processing tests (requires network)
uv run python tests/test_with_pdf.pyLicense
MIT License - see LICENSE file for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Extract text, Markdown and metadata from PDF URLs or uploads via Apify, per document or per page.
Extract text, pages and metadata from PDFs in bulk, with OCR for scanned files.
PDF URLs to per-page text, tables as rows, Markdown, metadata and OCR for scanned pages.
Convert PDF URLs to clean text or LLM-ready Markdown, with RAG chunks and OCR in 100+ languages.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceProvides tools for reading and extracting text from PDF files, supporting both local files and URLs.47-
- FlicenseNot gradedqualityDmaintenanceEnables reading and extracting text content from PDF files, supporting both local file system access and remote PDF URLs with automatic encoding detection.2-
- FlicenseAqualityDmaintenanceEnables reading and extracting content from PDF documents including text (as Markdown), images, tables, and metadata from both local files and URLs, with OCR support for scanned documents.2-
- AlicenseAqualityDmaintenanceEnables AI agents to securely read and extract information from PDF files including text content, metadata, and page counts from both local files and URLs within the project context.1MIT