pdf-to-markdown

Convert public PDF links into Markdown with page counts and explicit excerpt limits.

我该使用它吗

质量与安全性

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

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

上下文开销

~427token 数(工具定义)
~3.5 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.33%)

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

安装

一键安装

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

{
  "mcpServers": {
    "pdf-to-markdown": {
      "url": "https://pdfmd.dev/mcp"
    }
  }
}

远程端点

https://pdfmd.dev/mcpstreamable-http

它能做什么

工具清单

工具(1)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢convert_pdf_url(url)

Convert a PDF available at a public HTTP or HTTPS link into Markdown for reading, research or a coding project. Returns extracted text, page and table counts, and whether scanned pages were found. No OCR, private links or local files. The reply is limited to 20,000 Markdown characters and marks longer results as excerpts; the whole PDF uses the API page allowance.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    }
  },
  "required": [
    "url"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

输出模式

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success",
        "tool_error",
        "internal_error"
      ]
    },
    "message": {
      "type": "string"
    },
    "docs_url": {
      "type": "string"
    },
    "markdown": {
      "type": "string",
      "maxLength": 20000
    },
    "source_url": {
      "type": "string"
    },
    "converted_at": {
      "type": "string"
    },
    "pages": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "scanned_pages": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "tables": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "parser_version": {
      "type": "string"
    },
    "total_characters": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "returned_characters": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "truncated": {
      "type": "boolean"
    },
    "http_status": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "error": {
      "type": "string",
      "maxLength": 80
    },
    "retry_after": {
      "type": "string"
    },
    "remaining_pages": {
      "type": "string"
    }
  },
  "required": [
    "status",
    "message",
    "docs_url"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

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