PDF.co

v0.0.13
io.github.pdfdotco/pdfco-mcp Checked 22 hours ago Published 7 days ago

Official PDF.co MCP server: convert, merge, split, OCR, search and fill PDFs through the PDF.co API

Values you need

VariableWhat it is
X_API_KEYrequired 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.13
Add 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

  1. Ask the user for: X_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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, ….
  5. 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