pdfco-mcp as a local process and communicates with it over STDIO. The server sends document-processing requests to the PDF.co API, so you need an internet connection and a PDF.co API key.
Before you start
Get your PDF.co API key
Sign in to the PDF.co dashboard and copy your API key. If you do not have an account, create one first. Enter the key in your client’s configuration or key prompt. The environment variable name isX_API_KEY, including the underscores. Replace YOUR_PDFCO_API_KEY in the examples locally; keep your actual key out of shared configuration files, screenshots, and chat messages.
Install uv
uvx, included with uv, runs the published pdfco-mcp Python package in an isolated environment.
Run the official Windows installer in PowerShell:
PATH from your terminal, particularly after installing uv while an app is running.
The examples use
C:\Users\YOUR_WINDOWS_USER\.local\bin\uvx.exe. Replace it with the path returned on your computer; uv can be installed elsewhere. JSON strings require doubled backslashes.Choose your client
Claude Desktop
Configure a local server through Developer settings.
ChatGPT desktop and Codex
Add PDF.co in settings, then use local Work or Codex chats.
Codex CLI
Add the server to your user configuration.
Claude Code
Register PDF.co from PowerShell.
Cursor
Use the installation link, or edit your personal MCP configuration.
VS Code
Use the installation link, or edit your user configuration for Copilot chat.
Verify your connection
First check thatpdfco is connected and exposes tools such as pdf_to_text, upload_file, and wait_job_completion. The current tool definitions contain 38 tools; compare the count with the package version you are using if it differs.
Then send this prompt in your client: