Skip to content
MCP server

pdfsift

Offline PDF to Markdown or JSON converter for LLM agents and developers

Runs locally

pdfsift is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Linux
Runs
Locally
Version
1.0.0
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add pdfsift -- npx -y @vitorsilverio/pdfsift

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "pdfsift": {
      "command": "npx",
      "args": [
        "-y",
        "@vitorsilverio/pdfsift"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pdfsift": {
      "command": "npx",
      "args": [
        "-y",
        "@vitorsilverio/pdfsift"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pdfsift": {
      "command": "npx",
      "args": [
        "-y",
        "@vitorsilverio/pdfsift"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "pdfsift": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@vitorsilverio/pdfsift"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add pdfsift -- npx -y @vitorsilverio/pdfsift

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.pdfsift]
command = "npx"
args = ["-y", "@vitorsilverio/pdfsift"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pdfsift": {
      "command": "npx",
      "args": [
        "-y",
        "@vitorsilverio/pdfsift"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user pdfsift npx -- -y @vitorsilverio/pdfsift

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "pdfsift": {
          "command": "npx",
          "args": [
            "-y",
            "@vitorsilverio/pdfsift"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About pdfsift

pdfsift turns PDF files into clean Markdown that keeps headings, lists, tables and reading order intact. It strips running headers, footers and line-end hyphenation so the text reads as one continuous document rather than a jumble of columns and page furniture.

The conversion relies on rule-based heuristics applied to what the PDF already contains, with no AI model, OCR or network access involved. Pages can be selected or summarised with an info and table-of-contents command first, so a large document can be read in slices that fit a context window. Images are exported as files, and output is deterministic across Linux, macOS and Windows.

It ships as a command-line tool and as a Model Context Protocol server exposing info, table-of-contents and conversion tools over stdio. It is aimed at developers building retrieval pipelines and agents that need structured text from PDFs.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

pdf_info
Reports pages, scanned pages, size in tokens and suggested next steps for a PDF.
pdf_toc
Lists PDF sections with their page ranges.
pdf_to_markdown
Converts a PDF, or selected pages, to Markdown with optional image and password arguments.

What it does

Reading order recovery
Multi-column pages are read column by column and paragraphs continuing across pages are rejoined.
Structured Markdown output
Headings, nested lists, emphasis, links, footnotes and block quotes are emitted as Markdown syntax.
Table extraction
Tables with a certain grid become GFM pipe tables, with a laid-out fallback when the grid is uncertain.
Page selection and outline
An info command reports page counts and size, and a toc command lists sections with page ranges.
MCP server mode
A stdio MCP server exposes pdf_info, pdf_toc and pdf_to_markdown tools to AI clients.
Offline and deterministic
No network access and no OCR; the same PDF always produces the same output.

Good for

  • Feeding long PDF reports into an LLM agent in page-sized slices
  • Converting research papers into Markdown for retrieval indexing
  • Letting a coding assistant read PDF specifications through MCP
  • Extracting tables from financial or government PDFs into structured text
  • Batch converting document archives in a script without sending files to a third party

Pricing

Open source

Free and open source under Apache-2.0 or MIT.

pdfsift FAQ

Does pdfsift send my PDFs anywhere?

No. It has no network access and writes only to standard output or the path given with -o.

Does pdfsift handle scanned PDFs?

It does not run OCR. Scanned pages are saved as images and reported on stderr so you can run OCR separately.

How do I install pdfsift?

It is available through npm, PyPI, Homebrew, shell and PowerShell installers, GitHub release archives and Cargo, with a PDFium library needed for the Cargo route.

Which platforms are supported?

Prebuilt binaries cover Linux (x86_64, aarch64), macOS (x86_64, arm64) and Windows (x86_64, arm64). No musl or Alpine build is currently provided.

Is pdfsift free?

Yes. pdfsift is open source, so you can use and self-host it for free.

How do I add pdfsift to Claude Code?

Run this command in your terminal: claude mcp add pdfsift -- npx -y @vitorsilverio/pdfsift

What are the best alternatives to pdfsift?

The closest alternatives to pdfsift are PDF to Text for LLMs, PDF Table & Document to JSON + Markdown MCP, distill, pdffr and lintlab PDF To Markdown.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers