PDFluent

v0.3.2
io.github.pdfluent/pdfluent-mcp Checked 1 day ago Published 7 days ago

Read, search and fill PDFs as markdown, text, tables, forms.

Values you need

VariableWhat it is
PDFLUENT_MCP_MAX_PAGESoptional Pages one call may read (default 200).
PDFLUENT_MCP_MAX_BYTESoptional Largest document the server opens, in bytes (default 104857600).
PDFLUENT_MCP_MAX_OUTPUT_CHARSoptional Longest result one call returns, in characters (default 200000).

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add pdfluent-mcp -- uvx pdfluent-mcp==0.3.1 --root '</path/to/documents>'
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pdfluent-mcp": {
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pdfluent-mcp": {
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "pdfluent-mcp": {
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pdfluent-mcp]
command = "uvx"
args = ["pdfluent-mcp==0.3.1", "--root", "</path/to/documents>"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http pdfluent-mcp https://api.pdfluent.com/mcp --header 'x-api-key: <x-api-key>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "pdfluent-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.pdfluent.com/mcp",
        "--header",
        "x-api-key: <x-api-key>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pdfluent-mcp": {
      "headers": {
        "x-api-key": "<x-api-key>"
      },
      "url": "https://api.pdfluent.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "pdfluent-mcp": {
      "headers": {
        "x-api-key": "<x-api-key>"
      },
      "type": "http",
      "url": "https://api.pdfluent.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pdfluent-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.pdfluent.com/mcp", "--header", "x-api-key: <x-api-key>"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: extract_markdown, extract_text, extract_tables, extract_blocks, get_metadata, search, list_form_fields, fill_form, ….
  4. 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