プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

PDF Text Extractor MCP

作者:Prashant2204バージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.Prashant2204/pdf-text-extractor-mcp

インストール

概要

作者による説明(英語の原文)

Extract local PDF text with page-level paragraphs and English/German OCR fallback.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 文書・表計算・事務作業

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "pdf-text-extractor": {
      "command": "npx",
      "args": [
        "-y",
        "pdf-text-extractor-mcp"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add pdf-text-extractor -- npx -y pdf-text-extractor-mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "pdf-text-extractor": {
      "command": "npx",
      "args": [
        "-y",
        "pdf-text-extractor-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "pdf-text-extractor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pdf-text-extractor-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Prashant2204 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

文書・表計算・事務作業のほかのサーバーとの比較i

  • このカテゴリのほかの2193件のうち0%よりスターが多い
  • このカテゴリのほかの2193件のうち86%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2193件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

PDF Text Extractor MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは4 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

パソコンで動く★ 4,276MIT6 日前更新
インストール

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

パソコンで動く★ 847MIT3 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

PDF Text Extractor MCP

A local STDIO MCP server exposing exactly one tool, extract_pdf_text. It reads embedded text with PDF.js, falls back to English/German OCR for scanned pages, and returns page-level paragraphs in document order. No React app, HTTP server, API key, or PDF upload is needed.

Requires Node.js 22.19 or newer and npm (node and npx on PATH).

Run the published package

Version 0.1.1 is available on npm. Launch it without cloning the repository or starting the React app:

npx -y pdf-text-extractor-mcp@0.1.1

The process waits for an MCP client on stdin. There is no interactive prompt. The client normally launches this command itself.

VS Code configuration

Put this in .vscode/mcp.json, then start the server from VS Code's MCP controls and enable the tool in agent chat:

{

"servers": { "pdf-text-extractor": { "type": "stdio", "command": "npx", "args": ["-y", "pdf-text-extractor-mcp@0.1.1"] } } }

For a local development build, use "command": "node" and "args": ["/absolute/path/to/pdf-text-extractor/mcp/dist/index.js"] after building locally. Other clients may call the top-level key mcpServers instead of servers; follow that client's configuration format.

Ask the client to extract a local PDF, or invoke extract_pdf_text with:

{ "file_path": "/absolute/path/to/contract.pdf" }

In JSON on Windows use an absolute path such as C:\\Users\\you\\contract.pdf. The path is on the machine running the MCP server.

Result contract

Successful calls return isError: false, a JSON text content block, and the same object in structuredContent:

{

"success": true, "text": "First page text\n\nSecond page text", "page_count": 2, "pages_without_text": [], "pages": [ { "page_number": 1, "method": "embedded", "text": "First page text", "paragraphs": ["First page text"], "warnings": [] }, { "page_number": 2, "method": "ocr", "text": "Second page text", "paragraphs": ["Second page text"], "warnings": [] } ], "warnings": [] }

File or extraction errors return isError: true with { "success": false, "text": "", "error": "PDF file was not found." }. Missing or incorrectly typed arguments are rejected by the SDK with an MCP tool error before extraction runs.

The original text, page_count, and pages_without_text fields remain available. text joins nonempty pages with blank lines; each page's text joins its paragraphs with blank lines and preserves line breaks within paragraphs. page_number and pages_without_text use one-based page numbers. method is embedded, ocr, or none when no text could be extracted and OCR failed. An OCR attempt that completes but finds no text reports ocr with a warning. Top-level warnings repeat page warnings with their page number. success: true means the PDF was processed; consult warnings for partial results.

Only regular .pdf files with a PDF header are accepted, up to 25 MiB. Missing, unreadable, invalid, oversized, and password-protected files produce errors. The server reads files without modifying them, executes no shell commands, and makes no network requests for extraction. Diagnostics go to stderr; stdout is reserved for MCP messages. PDF contents are never logged.

Limitations

Pages with no embedded body text, including header/footer-only pages, use OCR. Pages with fewer than 40 body-text characters and an image also use OCR. Successful OCR replaces the page's embedded text to avoid duplicate headers. If OCR fails or returns no text, any embedded text is retained and a warning is returned. Pages still without text appear in pages_without_text.

English and German language models are bundled at build time. Extraction needs no network connection, model download, or writable model cache. The OCR worker is started only when needed, reused across the document, and terminated afterward. OCR input is rendered at up to 2.5x PDF scale, capped at 8 million pixels per page. OCR recognition, including engine startup but excluding PDF rendering, has a 60-second page limit. If the worker fails or times out, it is terminated; remaining pages retain their embedded text with warnings.

Embedded text is grouped into rows and paragraphs by position. Large horizontal gaps are represented as | for basic table readability. OCR uses Tesseract's paragraph detection and word positions. These are readability heuristics, not semantic table extraction or complex layout analysis. Multi-column, rotated, handwritten, or poor-quality scanned pages may have incorrect order or text. Pages with substantial embedded text over a scanned body may not trigger OCR. Low OCR confidence generates a warning; higher confidence is not a correctness guarantee. The size limit bounds input bytes, not PDF decompression or processing time. The server can read any PDF accessible to its OS user; there is no directory sandbox. Text is returned to the MCP client, whose own data handling settings apply.

Development

From the repository root:

npm ci --prefix mcp

npm run build --prefix mcp node mcp/dist/index.js

The CLI is a separate package so installing it does not install React. It includes Tesseract.js and a native Node canvas dependency. Use a platform supported by @napi-rs/canvas and allow npm to install its platform binary (do not omit optional dependencies). Development model packages are copied into dist/tessdata/ by the build; consumers do not need development dependencies. Its own lockfile provides a reproducible build. The root app commands are unchanged.

The browser service and this CLI use the same runtime-independent extraction core in src/shared/: page processing, embedded-text reading, scan detection, OCR fallback, paragraphs, table spacing and warnings. Browser and Node adapters retain their own file access, PDF.js setup, rendering limits and OCR worker management. The browser's existing result interface and this tool's JSON contract are preserved. The build cleans generated output and includes compiled dist/shared/ modules in the tarball; runtime consumers need no shared source files from the repository.

Test with MCP Inspector

Test the published package without cloning or building:

npx -y @modelcontextprotocol/inspector@2.13.0 --cli npx -y pdf-text-extractor-mcp@0.1.1 --method tools/list

npx -y @modelcontextprotocol/inspector@2.13.0 --cli npx -y pdf-text-extractor-mcp@0.1.1 --method tools/call --tool-name extract_pdf_text --tool-arg "file_path=/absolute/path/to/contract.pdf"

For the browser Inspector:

npx -y @modelcontextprotocol/inspector@2.13.0 npx -y pdf-text-extractor-mcp@0.1.1

Click Connect, open Tools, and invoke extract_pdf_text with a local PDF path. Inspector is development tooling and is not a runtime dependency of this package.

To inspect a local development build, run from the repository root after building:

npx -y @modelcontextprotocol/inspector@2.13.0 --cli node mcp/dist/index.js --method tools/list

npx -y @modelcontextprotocol/inspector@2.13.0 --cli node mcp/dist/index.js --method tools/call --tool-name extract_pdf_text --tool-arg "file_path=/absolute/path/to/contract.pdf"

Automated tests and packaging

npm test --prefix mcp

cd mcp npm pack

Inspect the tarball with tar -tzf pdf-text-extractor-mcp-0.1.1.tgz. It contains compiled JavaScript (including the OCR worker), both compressed language models, third-party notices, this README and package metadata. Install it in a separate directory to verify the executable without the source checkout:

mkdir /tmp/pdf-mcp-install

cd /tmp/pdf-mcp-install npm install /absolute/path/to/mcp/pdf-text-extractor-mcp-0.1.1.tgz ./node_modules/.bin/pdf-text-extractor-mcp

To run the integration test against that installed executable from the repo root:

MCP_TEST_CLI=/tmp/pdf-mcp-install/node_modules/.bin/pdf-text-extractor-mcp npm test --prefix mcp

Publish a new version

Published versions cannot be overwritten; increment the version for the next release and update pinned version examples in both READMEs. Project code is licensed under MIT; the package includes LICENSE with copyright © 2026 Prashant Bhatia. Bundled OCR models retain their Apache-2.0 license and attribution in THIRD_PARTY_NOTICES.md and licenses/Apache-2.0.txt.

From mcp/:

npm login --auth-type=web

npm version patch --no-git-tag-version npm test npm pack npm publish --dry-run --access public npm publish --access public --auth-type=web

Inspect and test the packed artifact before publishing, as described above. Publishing requires access to the maintainer's npm account with 2FA enabled; complete any browser approval prompted by npm. Commit the version, lockfile and documentation changes for the release. The build and tests do not publish automatically. Publish from mcp/, since the root React package remains private.

Publish to the MCP Registry

The registry identifier is io.github.Prashant2204/pdf-text-extractor-mcp. The mcpName in package.json must match name in server.json. Keep the package version, server version, and npm package version in server.json aligned. Publish the npm package first so the registry can verify its metadata.

Install the official publisher with brew install mcp-publisher, then from mcp/:

mcp-publisher validate

mcp-publisher login github mcp-publisher publish

Complete GitHub device authorization as prompted. Verify the published entry with:

curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.Prashant2204/pdf-text-extractor-mcp"

The registry lists metadata; npm distributes the local STDIO server. See the official publishing guide.

The integration test runs real English/German OCR on generated image-only PDF pages, mixed header/scan pages, blank pages, and embedded-text pages through STDIO. Other tests cover ordering, table gaps, OCR timeouts, and partial results when image inspection or OCR assets fail. The same integration test can target the installed executable as above. See THIRD_PARTY_NOTICES.md for bundled model attribution.

Official references

Implementation verified against stable @modelcontextprotocol/server 2.4.0, using McpServer.registerTool() and serveStdio(). Browser and MCP packages both use PDF.js 6.5.438.

PopNxに聞く