MCP Server Studio

PDFluent MCP server

Read, search and fill PDFs as markdown, text, tables, forms. Local, or hosted at api.pdfluent.com.

Registry name: io.github.pdfluent/pdfluent-mcp

Publisher
pdfluent
Runs
Local or hosted
Package
PyPI
Version
0.3.2
Category
Search & knowledge
Updated
2026-11-25

Source code on GitHub

Set up PDFluent (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pdfluent-mcp": {
      "command": "uvx",
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "env": {
        "PDFLUENT_MCP_MAX_PAGES": "<PDFLUENT_MCP_MAX_PAGES>",
        "PDFLUENT_MCP_MAX_BYTES": "<PDFLUENT_MCP_MAX_BYTES>",
        "PDFLUENT_MCP_MAX_OUTPUT_CHARS": "<PDFLUENT_MCP_MAX_OUTPUT_CHARS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add pdfluent-mcp -e PDFLUENT_MCP_MAX_PAGES='<PDFLUENT_MCP_MAX_PAGES>' -e PDFLUENT_MCP_MAX_BYTES='<PDFLUENT_MCP_MAX_BYTES>' -e PDFLUENT_MCP_MAX_OUTPUT_CHARS='<PDFLUENT_MCP_MAX_OUTPUT_CHARS>' -- uvx pdfluent-mcp==0.3.1 --root '</path/to/documents>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "pdfluent-mcp": {
      "command": "uvx",
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "env": {
        "PDFLUENT_MCP_MAX_PAGES": "<PDFLUENT_MCP_MAX_PAGES>",
        "PDFLUENT_MCP_MAX_BYTES": "<PDFLUENT_MCP_MAX_BYTES>",
        "PDFLUENT_MCP_MAX_OUTPUT_CHARS": "<PDFLUENT_MCP_MAX_OUTPUT_CHARS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pdfluent-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "env": {
        "PDFLUENT_MCP_MAX_PAGES": "<PDFLUENT_MCP_MAX_PAGES>",
        "PDFLUENT_MCP_MAX_BYTES": "<PDFLUENT_MCP_MAX_BYTES>",
        "PDFLUENT_MCP_MAX_OUTPUT_CHARS": "<PDFLUENT_MCP_MAX_OUTPUT_CHARS>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "pdfluent-mcp": {
      "command": "uvx",
      "args": [
        "pdfluent-mcp==0.3.1",
        "--root",
        "</path/to/documents>"
      ],
      "env": {
        "PDFLUENT_MCP_MAX_PAGES": "<PDFLUENT_MCP_MAX_PAGES>",
        "PDFLUENT_MCP_MAX_BYTES": "<PDFLUENT_MCP_MAX_BYTES>",
        "PDFLUENT_MCP_MAX_OUTPUT_CHARS": "<PDFLUENT_MCP_MAX_OUTPUT_CHARS>"
      }
    }
  }
}

Set up PDFluent (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pdfluent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.pdfluent.com/mcp",
        "--header",
        "x-api-key: <x-api-key>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http pdfluent-mcp https://api.pdfluent.com/mcp --header 'x-api-key: <x-api-key>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "pdfluent-mcp": {
      "url": "https://api.pdfluent.com/mcp",
      "headers": {
        "x-api-key": "<x-api-key>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pdfluent-mcp": {
      "type": "http",
      "url": "https://api.pdfluent.com/mcp",
      "headers": {
        "x-api-key": "<x-api-key>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "pdfluent-mcp": {
      "serverUrl": "https://api.pdfluent.com/mcp",
      "headers": {
        "x-api-key": "<x-api-key>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
PDFLUENT_MCP_MAX_PAGESNoPages one call may read (default 200).
PDFLUENT_MCP_MAX_BYTESNoLargest document the server opens, in bytes (default 104857600).
PDFLUENT_MCP_MAX_OUTPUT_CHARSNoLongest result one call returns, in characters (default 200000).

More search & knowledge MCP servers