MCP.so
ログイン

Pdf2md

@FutureUnreal

Pdf2md について

PDF to Markdown conversion tool

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

FutureUnreal

投稿者

FutureUnreal

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "pdf2md": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\mcp-pdf2md",
        "run",
        "pdf2md",
        "--output-dir",
        "C:\\path\\to\\output"
      ],
      "env": {
        "MINERU_API_KEY": "your_api_key_here"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Pdf2md?

Pdf2md is an MCP-based high-performance PDF to Markdown conversion service powered by MinerU API. It supports batch processing for local files and URL links with structured output.

How to use Pdf2md?

Clone the repository, create a virtual environment with uv, install dependencies with uv pip install -e ., configure environment variables (MINERU_API_BASE, MINERU_BATCH_API, MINERU_BATCH_RESULTS_API, MINERU_API_KEY) in a .env file, then start the service with uv run pdf2md. For Claude Desktop integration, add the provided JSON configuration specifying the server command, arguments, and API key.

Key features of Pdf2md

  • Convert PDF files to structured Markdown format.
  • Process local PDF files and URL links.
  • Automatically select the best processing method.
  • Support for multiple file batch conversion.
  • Optional OCR to improve recognition rate.
  • Seamless integration with LLM clients like Claude Desktop.

Use cases of Pdf2md

  • Convert PDF documents to Markdown for use with LLM clients.
  • Batch process multiple PDFs from local files or URLs.
  • Extract text from scanned PDFs using optional OCR.

FAQ from Pdf2md

What are the system requirements for Pdf2md?

Python 3.10 or higher is required.

How do I get a MinerU API key?

Register for an account at MinerU’s website (mineru.net), apply for API testing qualification, and once approved, generate a token from the API Management page.

How can I configure the API key for Pdf2md?

Set the API key in the .env file (for development) or in the Claude Desktop configuration under env.MINERU_API_KEY (for regular use). The Claude Desktop config takes precedence.

What sources does Pdf2md support for conversion?

It supports both PDF URLs (via the convert_pdf_url tool) and local PDF files (via the convert_pdf_file tool).

Does Pdf2md support batch conversion?

Yes, the service supports batch processing of multiple PDF files for efficient large-volume conversion.

コメント

「その他」の他のコンテンツ