Extracts text from local PDF files, with OCR support and optional page selection.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add pdf-extraction -- python -m venv venv~/.codex/config.toml
[mcp_servers.pdf-extraction]
command = "python"
args = ["-m", "venv", "venv"]
# codex mcp add pdf-extraction -- python -m venv venv~/.cursor/mcp.json
{
"mcpServers": {
"pdf-extraction": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}.vscode/mcp.json
{
"servers": {
"pdf-extraction": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pdf-extraction": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pdf-extraction": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"pdf-extraction": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}