ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

PdfPecker

โดย Moonwalker1307รุ่น 1.23.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Moonwalker1307/pdfpecker

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

HTML and Markdown to PDF with page previews, PDF text and merging. No browser, no network.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เอกสาร ตาราง และงานออฟฟิศ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "pdfpecker": {
      "command": "uvx",
      "args": [
        "pdfpecker",
        "mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add pdfpecker -- uvx pdfpecker mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "pdfpecker": {
      "command": "uvx",
      "args": [
        "pdfpecker",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "pdfpecker": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pdfpecker",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Moonwalker1307 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi

  • ดาวมากกว่า 0% ของอีก 2174 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 93% ของอีก 2174 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2174 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

PdfPecker ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.23.0) เข้า registry เมื่อวานซืน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Agent-Native Calendar

โดย BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

รันบนคลาวด์★ 7,620MITอัปเดต 2 เดือนที่ผ่านมา
ติดตั้ง

Excel MCP Server

โดย haris-musa

ให้ AI สร้างและแก้ไฟล์ Excel ได้เอง ทั้งสูตร กราฟ และ PivotTable โดยไม่ต้องมีโปรแกรม Excel ในเครื่อง

รันบนเครื่อง★ 4,276MITอัปเดต 6 วันที่ผ่านมา
ติดตั้ง

MCP Server for Excel

โดย sbroenne

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

รันบนเครื่อง★ 847MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

pdfpecker for Python

Fast HTML and Markdown to PDF, and PDF to images and text, for Python. No browser, no dependencies, no .NET to install.

pip install pdfpecker
import pdfpecker

pdf = pdfpecker.html_to_pdf(" Invoice 42 Total: 1,250.00 EUR ") pdfpecker.html_file_to_pdf("templates/invoice.html", "invoice.pdf") # images and CSS resolve next to the file pdfpecker.markdown_file_to_pdf("README.md", "readme.pdf")

pngs = pdfpecker.pdf_to_images(pdf, dpi=96) # one PNG per page (or format="jpeg"/"webp") text = pdfpecker.pdf_to_text(pdf) # pages separated by \f both = pdfpecker.merge_pdfs([pdf, "terms.pdf"])

This is the PdfPecker .NET library, compiled ahead of time into a native library that ships inside the wheel. PdfPecker has its own HTML parser, CSS engine, layout engine, PDF writer and PDF renderer, so a conversion takes about a millisecond for a one-page invoice and never starts a browser. The package version is the library version it holds. Documentation of what PdfPecker renders, its CSS support and its limitations: pdfpecker.net/docs.

Platforms

Wheels for Linux (glibc 2.28+ and musl, x86-64 and ARM64), macOS (Apple Silicon and Intel) and Windows (x64 and ARM64), on Python 3.9 and later. Each wheel is about 9 MB and has no Python or system dependencies.

Speed

From Python, on a 4-core Linux cloud VM, median time per document after warm-up; the documents are the benchmark pages of the PdfPecker repository:

Invoice, 1 pageFeature tour, 5 pagesReport, 29 pagesStart-up and first PDFPeak memory, one PDF
pdfpecker0.7 ms2.9 ms32 ms57 ms32 MB
Chromium 153 via Playwright24 ms48 ms290 ms735 ms542 MB
xhtml2pdf 0.2.2833 ms209 ms2.9 s453 ms63 MB
WeasyPrint 70.0324 ms797 ms4.2 s1.1 s75 MB

API

Every function takes bytes or a path for PDFs, raises a subclass of PdfPeckerError on failure, is thread-safe and releases the GIL while it works, so threads convert in parallel.

FunctionReturns
html_to_pdf(html, **options)PDF bytes from an HTML str or UTF-8 bytes
html_file_to_pdf(path, output=None, **options)PDF bytes, also written to output when given; base_dir is the file's folder
markdown_to_pdf(markdown, **options)PDF bytes from CommonMark with GitHub tables, task lists, strikethrough and footnotes
markdown_file_to_pdf(path, output=None, **options)as html_file_to_pdf
pdf_to_images(pdf, dpi=150, format="png", pages=None, width=None, height=None, transparent=False, quality=None, password=None)a list of encoded images, one per page
pdf_to_text(pdf, pages=None, password=None)the text in reading order, pages separated by \f
pdf_to_text_pages(pdf, pages=None, password=None)a list with the text of each page
pdf_to_markdown(pdf, pages=None, include_links=True, include_annotations=True, include_images=False, page_comments=False, max_pages=None, password=None)GitHub Flavored Markdown of any PDF: headings, lists and tables in reading order, for search indexes and language models
pdf_page_count(pdf, password=None)the number of pages
merge_pdfs(pdfs, title=None, author=None, bookmarks=True, creation_date=None)one PDF from several
pdf_to_pdfa(pdf, output=None, conformance="PDF/A-2b")any PDF converted to PDF/A-2b, -2u, -3b or -3u, as a PdfAResult with pdf, changes, problems and is_conformant
library_version()the version of the PdfPecker library inside

pages takes a page number, a list of numbers, or a range such as "1-3,5", "8-" or "last", numbered from 1. Every function also takes timeout in seconds.

Options of the HTML and Markdown functions:

OptionMeaning
base_dirThe folder relative image, stylesheet and font paths resolve against. Without it, a document from a string loads no local files.
allow_file_accessLet the document read files outside base_dir too. Only for HTML you trust.
page_size, landscape"A3", "A4" (default), "A5", "Letter", "Legal" or (width_mm, height_mm). A CSS @page { size } rule wins.
marginIn points (72 per inch): one number or (top, right, bottom, left). Default 36. CSS @page { margin } wins.
scale, shrink_to_fitZoom the content; shrink content wider than the page (on by default).
header_text, footer_textA line of text in the top or bottom margin; {page} and {pages} are replaced. CSS margin boxes (@top-center, ...) do more.
fonts, use_system_fontsTrueType/OpenType files or folders that CSS font-family can name; or look families up among the installed fonts.
title, author, subject, keywords, languageDocument properties.
user_style_sheetCSS applied after the document's own.
creation_dateA fixed date (datetime, date or Unix seconds): the output is then byte-identical from run to run.
conformance"PDF/A-2b", "PDF/A-3b", "PDF/A-2u", "PDF/A-3u", "PDF/A-4" or "PDF/A-4f".
accessibility"tagged", "PDF/UA-1" or "PDF/UA-2".
compress, bookmarks, max_pagesCompress streams (on); bookmarks from headings (on); stop beyond this many pages (100,000).

Errors: PdfPeckerArgumentError (also a ValueError) for bad options, PdfReadError for input that is not a readable PDF, PdfPasswordError, PdfLimitError for max_pages and the size limits, PdfTimeoutError (also a TimeoutError) and PdfFileError (also an OSError) for a font or file that cannot be read.

Using it from AI agents and skills

pdfpecker suits code that an agent writes and runs in a sandbox: one pip install, nothing to download at run time, no browser to launch, and errors that say what went wrong. A few things to tell the agent:

  • Write the document as HTML with CSS; put page size, margins, page numbers and running headers in @page rules, for example @page { size: A4; margin: 20mm; @bottom-center { content: "Page " counter(page) " of " counter(pages) } }.
  • There is no JavaScript: charts must be SVG or images, not a script that draws them.
  • Images, stylesheets and fonts load from base_dir (or data: URIs), never from the network.
  • The built-in fonts (Helvetica, Times and Courier, with bundled fallback fonts for the letters they lack) cover Latin, Greek and Cyrillic; other scripts come out as question marks. For Chinese, Japanese, Arabic, Hebrew, Hindi or Thai, pass fonts=[...] with a font that covers the script, or use_system_fonts=True.
  • To check a result, render it back with pdf_to_images(pdf, dpi=60) and look at the pages, or read it with pdf_to_text.

MCP server

The package includes a Model Context Protocol server, so chat apps and coding agents that speak MCP can make PDFs, look at their pages and read them. It runs over stdio and needs nothing but this package:

claude mcp add pdfpecker -- uvx pdfpecker mcp            # Claude Code

For Claude Desktop and other apps that read an mcpServers setting:

{ "mcpServers": { "pdfpecker": { "command": "uvx", "args": ["pdfpecker", "mcp", "--root", "/Users/me/Documents/pdfs"] } } }
ToolWhat it does
html_to_pdfHTML (inline or a file) to a PDF file, with previews of the first pages to check the layout
markdown_to_pdfthe same for Markdown
render_pdf_pagesPNG images of up to 20 pages, for the model to look at
pdf_to_textthe text of a PDF, page by page
pdf_to_markdownany PDF as Markdown, returned or written to a file
pdf_to_pdfaany PDF converted to PDF/A, with what changed and what could not be fixed
pdf_infopage count and file size
merge_pdfsseveral PDF files into one

The tools read and write files only inside the --root folders (repeatable), because the model picks the paths. The default is the current folder, or ~/PdfPecker when the server starts in the filesystem's root, as chat apps often do. python -m pdfpecker mcp runs the same server without uvx.

Building from source

The wheel's native library is built from the released PdfPecker NuGet package named in PDFPECKER_VERSION. It needs the .NET 10 SDK with the NativeAOT prerequisites (clang on Linux, Xcode on macOS, the Visual Studio C++ tools on Windows):

ci/build.sh linux-x64 manylinux_2_39_x86_64          # RID and wheel tag; builds, packs and tests the wheel

Or by hand: dotnet publish native/PdfPecker.Native.csproj -c Release -r linux-x64, copy pdfpecker_native.so (.dylib, .dll) into src/pdfpecker/, and run pytest. PDFPECKER_NATIVE_LIB points the package at a library elsewhere.

The C ABI (native/Exports.cs) is one function, pdfpecker_invoke(op, input, input_len, options_json, &output, &output_len, &error), plus pdfpecker_free, pdfpecker_version and pdfpecker_abi_version, so other languages with an FFI can use the same library.

Releasing

A PdfPecker release on NuGet is followed by a pull request here that changes PDFPECKER_VERSION. Once it is merged, the owner publishes a GitHub release tagged v ; the Wheels workflow builds the eight wheels again, checks the tag against PDFPECKER_VERSION and uploads them to PyPI with Trusted Publishing. It then lists the new version of the MCP server (server.json) in the official MCP Registry.

License

MIT. The wheel also contains the .NET runtime, zlib-ng and the fonts and data PdfPecker bundles, each under its own license: see THIRD-PARTY-NOTICES.md.

ถาม PopNx