Skip to main content
Glama
timaliev
by timaliev

mcp_pdf2md

MCP server for AI-optimized PDF to Markdown conversion using pdf2md.

Requires pi-mcp-bridge to connect to pi.

Prerequisites

  • pdf2md CLI installed (cargo install pdf2md or brew install pdf2md)

Related MCP server: PDF MCP Flow

Installation

npm install -g timaliev/mcp_pdf2md
# or
git clone https://github.com/timaliev/mcp_pdf2md.git
cd mcp_pdf2md && npm link

Configuration

With pi-mcp-bridge

In ~/.pi/agent/settings.json:

{
  "mcpBridge": {
    "servers": [
      {
        "name": "pdf2md",
        "command": "mcp-pdf2md",
        "args": []
      }
    ]
  }
}

Standalone MCP client

In ~/.mcp.json:

{
  "mcpServers": {
    "pdf2md": {
      "command": "mcp-pdf2md",
      "args": []
    }
  }
}

Tools

Tool

Description

pdf_to_markdown

Convert PDF to Markdown with page range, raw/compact/page-break options

detect_pdf_type

Detect PDF type: TextBased, Scanned, Mixed, ImageBased

Development

git clone https://github.com/timaliev/mcp_pdf2md.git
cd mcp_pdf2md
npm install

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-driven PDF document processing including PDF to Markdown conversion, intelligent text and table extraction, image extraction, format conversion between PDF/Word/Markdown, batch processing, and fuzzy search - optimized for LLM context and RAG workflows.
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Convert PDF documents to Markdown and query them using AI with source attribution and confidence scoring, supporting multiple LLM providers.
    MIT