MCP.so
ログイン

Document Understanding MCP Server

@jaesharp

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

jaesharp

Document Understanding MCP Server について

A document reading, search, and metadata server to provide access to PDFs (and, in the future, other formats) to LLMs via the Model Context Protocol (MCP)

Document Understanding MCP Server の設定

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

{
  "mcpServers": {
    "document-understanding-mcp-server": {
      "command": "uv",
      "args": [
        "venv",
        "#",
        "Create",
        ".venv"
      ]
    }
  }
}

Document Understanding MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

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

概要

What is Document Understanding MCP Server?

A Model Context Protocol (MCP) server that provides tools for extracting text, metadata, layout, tables, and images from PDF documents, with OCR fallback for scanned pages. It is currently in alpha stage and intended for local development and testing only.

How to use Document Understanding MCP Server?

Install Python 3.11+, uv, sync dependencies from pyproject.toml, and install Java (for table extraction) and Tesseract (for OCR). Set the required environment variable DOCUMENT_UNDERSTANDING_BASE_PATH to the directory the server may read PDFs from. The server offers tools that AI models can invoke via the MCP interface.

Key features of Document Understanding MCP Server

  • Extracts text content with automatic OCR fallback for scanned pages
  • Retrieves PDF metadata (author, title, dates)
  • Provides detailed layout info (text blocks, images, drawings with coordinates)
  • Extracts tables from PDF pages using tabula-py
  • Searches for exact text occurrences and returns bounding boxes
  • Detects languages of extracted text content

Use cases of Document Understanding MCP Server

  • Analyze scanned invoices or contracts for data extraction
  • Search for specific terms across large PDF documents
  • Understand page structure and spatial relationships in PDFs
  • Extract tables from financial reports or scientific papers

よくある質問

1

Does the server require Java or Tesseract?

Yes, table extraction requires a Java Runtime Environment (JRE). The OCR fallback for scanned pages requires Tesseract OCR. The server will refuse to start if either is missing, unless you use `--allow-no-java` or `--allow-no-tesseract` flags.

2

What is the `DOCUMENT_UNDERSTANDING_BASE_PATH` environment variable?

It is the absolute path to the directory the server is allowed to read PDFs from. The server will not start without this variable, unless the `--allow-any-path` security risk flag is used.

3

Is this server ready for production use?

No. The README explicitly warns it is in alpha stage and should not be deployed in production or exposed to untrusted networks.

4

Can the server handle encrypted PDFs?

Yes, several tools accept an optional `password` argument to open encrypted PDFs.

5

How can I enable experimental tools?

Use the `--enable-experimental` command-line flag at startup to enable tools like `find_nearby_content`.

コメント

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