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.
Install Claude Desktop (or another MCP-enabled AI tool)
Install Python 3.10 or higher:
python --version
Install uv:
pip install --user uv
uv --version
Install Claude Desktop (or another MCP-enabled AI tool)
Install Python 3.10 or higher:
brew install python
python3 --version
Install uv:
brew install uv
pip3 install --user uv
uv --version
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"
]
}
}
}
This software package implements the ability to read a pdf file into a MCP enabled framework and is developed by Safe Swiss Cloud.
We welcome contributions to improve these tools. Please submit issues and pull requests through our repository.
For questions and support:
{
"mcpServers": {
"mcp-pdf-reader": {
"env": {},
"args": [
"--from",
"git+https://github.com/Safe-Swiss-Cloud-AG/mcp_pdf_reader@main",
"mcp_pdf_reader"
],
"command": "uvx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.