PDF.co
v0.0.13Official PDF.co MCP server: convert, merge, split, OCR, search and fill PDFs through the PDF.co API
Values you need
| Variable | What it is | |
|---|---|---|
X_API_KEY | required secret | Your PDF.co API key (from https://app.pdf.co) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add pdfco-mcp -e 'X_API_KEY=<X_API_KEY>' -- uvx pdfco-mcp==0.0.13Add to
claude_desktop_config.json{
"mcpServers": {
"pdfco-mcp": {
"args": [
"pdfco-mcp==0.0.13"
],
"command": "uvx",
"env": {
"X_API_KEY": "<X_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"pdfco-mcp": {
"args": [
"pdfco-mcp==0.0.13"
],
"command": "uvx",
"env": {
"X_API_KEY": "<X_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "X_API_KEY",
"id": "x-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"pdfco-mcp": {
"args": [
"pdfco-mcp==0.0.13"
],
"command": "uvx",
"env": {
"X_API_KEY": "${input:x-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.pdfco-mcp]
command = "uvx"
args = ["pdfco-mcp==0.0.13"]
env = { "X_API_KEY" = "<X_API_KEY>" }For AI agents
- Ask the user for: X_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: pdf_to_json, pdf_to_csv, pdf_to_text, pdf_to_xls, pdf_to_xlsx, pdf_to_xml, pdf_to_html, pdf_to_image, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json