原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

DocSlicer

作者:DocSlicer版本 0.2.5i★ –i在你的电脑上运行
注册名称io.github.DocSlicer/docslicer

安装

概览

作者提供的说明(英文原文)

Answer questions from documents too large to fit in context, reading only the sections you need.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:DOCSLICER_MCP_ROOT

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: DOCSLICER_MCP_ROOT, DOCSLICER_MCP_ALLOW_CLAUDE_DIR, DOCSLICER_MCP_ALLOW_URLS

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

claude mcp add docslicer --env DOCSLICER_MCP_ROOT=your-value --env DOCSLICER_MCP_ALLOW_CLAUDE_DIR=your-value --env DOCSLICER_MCP_ALLOW_URLS=your-value -- uvx docslicer

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "docslicer": {
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "your-value",
        "DOCSLICER_MCP_ALLOW_CLAUDE_DIR": "your-value",
        "DOCSLICER_MCP_ALLOW_URLS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "docslicer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "your-value",
        "DOCSLICER_MCP_ALLOW_CLAUDE_DIR": "your-value",
        "DOCSLICER_MCP_ALLOW_URLS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • DOCSLICER_MCP_ROOT 必填 env
    Restrict file sources and outputs to this directory tree. Several may be given, separated by the platform path separator.
  • DOCSLICER_MCP_ALLOW_CLAUDE_DIR env
    Set to 0 to refuse documents dropped into a Claude chat, which the app copies into its own directory outside DOCSLICER_MCP_ROOT.
  • DOCSLICER_MCP_ALLOW_URLS env
    Set to 0 to reject http(s) sources and only permit local files.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 DocSlicer 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32403 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32403 个服务器的 32% 更新
  • 基础检查结果等于或优于此分类中其他 32403 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

DocSlicer 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DOCSLICER_MCP_ROOT

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.5)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB, Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, LickityClick

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

LickityClick

作者:lickity.click

Create, edit and track LickityClick short links, campaigns and click stats from your AI assistant.

电脑或云端今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

DocSlicer

Lightning-fast (31 pages/sec), deterministic document parser and chunker for business documents. No LLM calls or heavy ML models.

DocSlicer turns PDFs, Word documents, HTML pages, and PowerPoint files into clean chunks, structured blocks, tables, charts, markdown and a navigable heading hierarchy.

Top score on BizDocBench (0.88 overall vs 0.70 for the next-best tool). 0.80 table accuracy, 0.98 content faithfulness, 0.85 heading recognition and hierarchy preservation, and 0.76 RAG retrieval performance.

Two ways to use it:

  • As a Python library — classic RAG. The layout-aware chunker gives you clean, non-overlapping chunks, each carrying its full heading breadcrumb, ready to embed. Jump to the API ↓
  • As an MCP server — vectorless RAG. For when you want an answer out of a document right now. Claude, Cursor, or VS Code pulls the outline, picks the section it needs, and reads only that — no embedding, and no 200-page document in the context window. Jump to setup ↓
Quick start
import docslicer

def main(): result = docslicer.parse_document("annual_report.pdf")

Inspect the outline first

result.hierarchy.to_outline()

- PART I — FINANCIAL INFORMATION

- Item 1. Financial Statements

- Notes to Condensed Consolidated Financial Statements

- Note 4 – Financial Instruments

- Derivative Instruments and Hedging

- Foreign Exchange Rate Risk

- Interest Rate Risk

- Accounts Receivable

- Trade Receivables

- Item 2. Management's Discussion and Analysis

- Liquidity and Capital Resources

- PART II — OTHER INFORMATION

...

Pull only the chunks you need

risk_section = result.find_heading("Risk Factors")[0] chunks = result.chunks_under(risk_section)

Tables come back structured, not as flat text

for table in result.tables_under(risk_section): print(table.markdown)

if name == "main": main()


Features

  • No LLM, VLM, or ML models — fully deterministic; no model weights to download, no GPU required, no cold-start delay
  • Lightweight — ~630 KB wheel with no heavy ML dependencies
  • Agentic-friendly — reduces token spend on long documents: have the agent inspect the outline first, then pull only the relevant chunks into context instead of feeding a 500-page document verbatim; well-suited for legal texts, technical SOPs, financial filings, and compliance documents
  • Deep hierarchy extraction — works for both numbered (1., 1.2., 1.2.3) and free-form headings; uses font size, bold weight, and document structure — not inference; handles re-entry after exhibit breaks and repeated navigation headings across pages
  • Structure-aware chunking — splits at heading and paragraph boundaries, preserving semantic coherence
  • Zero character overlap — chunks are non-overlapping by default; no duplicated tokens in your context window
  • Unified result object — chunks, blocks, tables, charts, metadata, and hierarchy in one place
  • Structured tables — tables come back as cells, not flat text; export as Markdown, JSONL, or melted format
  • Multiple export formats — CSV, Markdown, JSONL, Parquet, JSON, plain text, and DataFrames
  • Reading order preserved — including multi-column PDF layouts
  • Supports `pdf`, `docx`, `pptx`, and `html` — including JS-rendered pages via Playwright
  • Robust URL fetching — always renders pages in a real browser, handling cookie banners and bot protection out of the box; also preserves styling signals like boldness that raw HTML omits, producing sharper heading detection and chunk quality
  • OCR fallback — auto-detects scanned pages and falls back to Tesseract when the extra is installed

Benchmarks

Measured with BizDocBench — an open benchmark for multi-format business document parsing. All scores are 0–1 (higher is better); pages_per_sec_aggregate is throughput across the full corpus.

ToolScoreCoverageSpeedHierarchyFaithfulnessTablesRetrievalPages/sec
docslicer0.87961.00000.88360.84660.98240.80470.760131.27
docling0.70361.00000.38050.49050.89270.74670.71113.46
markitdown0.58381.00000.85130.06040.79720.25840.535727.42
unstructured0.57980.90910.10730.43270.90570.48120.64300.52
opendataloader0.53590.58441.00000.38530.64840.26550.3317117.26
pymupdf4llm0.45190.59740.64920.10890.64560.35510.355211.84
mineru0.41070.59740.13530.42200.61760.30120.39100.70
marker0.37350.59740.15980.19260.61210.30120.37780.87

Install

pip install docslicer

The core install is dependency-light. Optional features are available as extras:

pip install 'docslicer[html]'    # HTML / URL parsing via Playwright

playwright install chromium # one-time browser install (Chromium only)

pip install 'docslicer[ocr]' # scanned PDF support via Tesseract + OpenCV

The tesserocr wheel bundles libtesseract but NOT the language models,

so install the Tesseract engine to provide them (docslicer auto-detects the path):

Linux: apt install tesseract-ocr

macOS: brew install tesseract

pip install 'docslicer[mcp]' # MCP server for LLM clients (Claude, Cursor, …) pip install 'docslicer[llm]' # exact token counts via tiktoken (exact_tokens=True) pip install 'docslicer[crypto]' # password-protected Office files (msoffcrypto-tool) pip install 'docslicer[parquet]' # Parquet export support

Extras can be combined: pip install 'docslicer[html,ocr,llm]'.

Requires Python 3.10+


What you get back (ParseResult)

parse_document returns a ParseResult:

result.chunks      # list[Chunk]   — heading-aware text chunks, ready for embedding

result.blocks # list[Block] — paragraph/heading/table blocks before chunking result.tables # list[Table] — structured tables with cells, spans, and markdown result.charts # list[Chart] — charts as extracted data points (docx/pptx) result.metadata # DocumentMetadata — title, author, language, page count, OCR flag result.hierarchy # HierarchyTree — navigable tree of all headings

Each Chunk carries:

chunk.text          # str   — chunk text

chunk.path # list — full heading breadcrumb from root to nearest heading chunk.heading # str — nearest heading above this chunk chunk.section # str — body | toc | exhibit | header | footer | coverpage | … chunk.page_number # int — 1-based physical page chunk.page_label # str — "A-6", "iv", "F-3" — as printed on the page chunk.table_ids # list — IDs of tables referenced in this chunk chunk.chart_ids # list — IDs of charts referenced in this chunk (docx/pptx) chunk.link_url # list — URLs found in this chunk chunk.bbox # BBox — bounding box (PDF only)

Every chunk carries its full heading breadcrumb, no matter how deeply nested. For example, a paragraph six levels deep in a financial filing:

chunk.path == [

"# PART I — FINANCIAL INFORMATION", "## Item 1. Financial Statements", "### Notes to Condensed Consolidated Financial Statements (Unaudited)", "#### Note 4 – Financial Instruments", "##### Accounts Receivable", "###### Trade Receivables", ]

This lets downstream code filter or group chunks by any level of the hierarchy without re-parsing the document.


Supported formats

FormatExtensionNotes
PDF.pdfText-based and scanned (OCR extra required for scanned)
Word.docxFull style and outline hierarchy
HTML.html, URLsStatic files and JS-rendered pages (html extra required for URLs)
PowerPoint.pptxSlides, speaker notes, charts

Not supported: .doc, .ppt (legacy Office formats), .xlsx.


Parsing

parse_document auto-detects the format from the file extension or magic bytes. Pass a file path, URL, raw bytes, or a file-like object:

result = docslicer.parse_document("contract.docx")

result = docslicer.parse_document("report.pdf") result = docslicer.parse_document("https://www.sec.gov/Archives/edgar/data/.../10-K.htm") result = docslicer.parse_document(file_bytes)

Parsing & content options

parse_document (and the format-specific functions) accept options that control what gets parsed and how, before it's chunked. Format-specific toggles are accepted everywhere for a uniform API but only take effect for the relevant format.

result = docslicer.parse_document(

"contract.docx", password="admin123", # decrypt password-protected files; .docx and .pptx needs [crypto] extra max_workers=4, # process-pool width for PDF extraction/OCR (default: auto by CPU cores) include_headers_footers=True, # docx: include header/footer content (default False) include_footnotes=True, # docx: include footnotes (default True) include_comments=True, # docx: include review comments (default False) include_speaker_notes=True, # pptx: include slide speaker notes (default True) use_browser=True, # html/URL: render in a real browser (default True) )

Chunking options
result = docslicer.parse_document(

"report.pdf", max_chunk_size=2000, # hard cap, default 3200 optimal_chunk_size=800, # target size, default 1500 min_chunk_size=400, # soft floor, default 700 chunking=False, # skip chunking, return blocks only (faster) merge_small_chunks=True, # merge chunks below min_chunk_size (default True) table_representation="jsonl", # "markdown" (default) | "jsonl" | "melted" exact_tokens=True, # exact tiktoken (cl100k_base) counts; needs [llm] extra, else char/4 estimate extra_fields=["is_bold", "font_size", "font_name"], # surface internal pipeline columns on each chunk/block via .extra )

How merge_small_chunks works

Because DocSlicer is structure-aware, it initially produces one chunk per heading or paragraph boundary. For documents with many short sections this can yield a lot of small chunks. With merge_small_chunks=True (the default), sibling sections under the same parent heading are merged together until they reach min_chunk_size — but never a

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx