doc.page PDF Extraction

Extract PDFs to Markdown, RAG chunks and cited tables; publish tracked Doc Links with read stats.

我该使用它吗

质量与安全性

A
描述质量
96%
模式完整度
87%
命名质量
94%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(1)

  • LOWTool 'list_tables' description lacks action verb在 list_tables 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~996token 数(工具定义)
~992 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.78%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "pdf-extract": {
      "url": "https://doc.page/api/mcp"
    }
  }
}

远程端点

https://doc.page/api/mcpstreamable-http

它能做什么

工具清单

工具(7)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢extract_pdf(url, outputs, mode, chunkTokens)

Extract a PDF into clean Markdown and structured elements (headings, paragraphs). Returns the canonical ExtractedDocument object. mode "hybrid" runs a heavier semantic engine that also reconstructs tables and bounding boxes; the default "fast" engine is prose-only (low confidence.tables).

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "http(s) URL of the PDF to extract."
    },
    "outputs": {
      "type": "array",
      "description": "Subset of outputs to include. Default: markdown and elements.",
      "items": {
        "type": "string",
        "enum": [
          "markdown",
          "elements",
          "chunks",
          "images"
        ]
      }
    },
    "mode": {
      "type": "string",
      "enum": [
        "fast",
        "hybrid"
      ],
      "description": "fast = prose engine. hybrid = semantic engine with tables + bounding boxes when deployed; falls back to fast with a warning otherwise."
    },
    "chunkTokens": {
      "type": "integer",
      "description": "Target chunk size in tokens (when chunks are requested). Default 512."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
🟢get_chunks(url, maxTokens)

Split a PDF into semantic chunks ready for embeddings (RAG). Each chunk carries its text, estimated tokens, starting page, section heading and the source element ids for citation.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "http(s) URL of the PDF to chunk."
    },
    "maxTokens": {
      "type": "integer",
      "description": "Target chunk size in tokens. Default 512."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
🟢list_tables(url)

Return every table in a PDF as structured JSON (reconstructed rows and columns) with page and bounding box for verifiable citations. Uses the semantic (hybrid) engine.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "http(s) URL of the PDF."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
🟡create_doc_link(url, name, slug, expiresAt, notifyOnOpen)

Publish a PDF as a tracked doc.page Doc Link and get back a shareable URL. The link belongs to the API key's account and also appears in its doc.page library. Requires an API key. Free plan: up to 3 active links; custom vanity slugs are premium-only. Optional expiry and open-notification toggle.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "http(s) URL of the PDF to publish (max 25 MB)."
    },
    "name": {
      "type": "string",
      "description": "Display name in the library. Defaults to the filename."
    },
    "slug": {
      "type": "string",
      "description": "Custom vanity slug (premium plans only). Lowercase letters, digits and hyphens."
    },
    "expiresAt": {
      "type": "string",
      "description": "ISO 8601 date-time after which the link stops working. Omit for no expiry."
    },
    "notifyOnOpen": {
      "type": "boolean",
      "description": "Email the account owner on the first open. Default true."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
🟢list_doc_links

List the Doc Links of the API key's account (id, slug, URL, name, disabled/expiry state, total views, last view). Use this to recover links created in earlier sessions before querying stats. Requires an API key.

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_doc_link_stats(id, slug, include)

Reading analytics for one Doc Link of the API key's account, by id or slug. Always returns the summary (total views, unique visitors, last visit). Premium plans additionally get countries, visitor companies (as_org) and per-page views + average dwell time; pass include:["visits"] for the recent visit rows. Requires an API key.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Doc Link item id (from create_doc_link or list_doc_links)."
    },
    "slug": {
      "type": "string",
      "description": "Doc Link slug — alternative to id."
    },
    "include": {
      "type": "array",
      "description": "Extra sections. \"visits\" adds the recent visit rows (enriched on premium plans).",
      "items": {
        "type": "string",
        "enum": [
          "visits"
        ]
      }
    }
  },
  "additionalProperties": false
}
⚪revoke_doc_link(id, slug)

Disable a Doc Link of the API key's account (by id or slug) so the public URL stops serving. The item and its stats remain in the library; on the free plan this frees an active-link slot. Requires an API key.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Doc Link item id."
    },
    "slug": {
      "type": "string",
      "description": "Doc Link slug — alternative to id."
    }
  },
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具