Packforai Mcp

io.github.zymsj8j9z9-ship-it由 GitHub 账号 zymsj8j9z9-ship-it 发布v0.1.1更新于 Nov 3, 2026

Convert PDF, DOCX, XLSX, CSV, JSON into clean, AI-ready Markdown via the PackForAI API.

已验证STDIO仅桌面文件与存储AI 与机器学习

概览

AI 生成的概览

通过 PackForAI API,在 MCP 客户端内把 PDF、DOCX、PPTX、XLSX、CSV 和 JSON 文件转换为干净、适合 AI 使用的 Markdown。

可以做什么
  • 按绝对路径转换本地文档为精简 Markdown
  • 抓取公开的 https 文档链接并返回转换后的 Markdown
  • 对扫描件或纯图片 PDF 强制使用 OCR
  • 返回完整版文档 Markdown(例如完整的表格数据)而非精简版
  • 在结果中附带 token 节省情况汇总
适用场景
适合需要让助手阅读杂乱的 PDF、Office 文档或表格,并希望得到更省 token 的干净 Markdown,而不是直接粘贴原始内容的场景。也适用于文档密集的资料研读、报告与规格说明阅读,以及需要 OCR 的扫描 PDF。
运行要求
通过 npx 在本地运行,需要 Node.js 18 或更高版本。需要 Pro 计划的 PackForAI API 密钥,通过环境变量 PACKFORAI_API_KEY 提供。需要能访问 PackForAI API 的网络;可用 PACKFORAI_BASE_URL 覆盖默认地址。
安装前请注意
API 密钥是付费 Pro 计划凭证,会写入客户端配置,请勿放入共享文件。通过路径或链接提供的文档会被发送到 PackForAI 服务进行转换,机密文件需谨慎。该服务器会按请求读取本地文件并抓取远程链接。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Packforai Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

PackForAI MCP server

Convert PDF, DOCX, PPTX, XLSX, CSV and JSON into clean, compact, AI-ready Markdown, directly inside Claude, Cursor and any other MCP client. Powered by PackForAI.

Instead of pasting a messy PDF into your AI (broken text, lost tables, wasted tokens), ask your assistant to convert it first: it comes back as clean Markdown with up to 65% fewer tokens.

What you need

Install

The server runs via npx, so there is nothing to install globally. Add it to your MCP client's config.

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add:

json
{  "mcpServers": {    "packforai": {      "command": "npx",      "args": ["-y", "packforai-mcp"],      "env": { "PACKFORAI_API_KEY": "your_key_here" }    }  }}

Restart Claude Desktop.

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

json
{  "mcpServers": {    "packforai": {      "command": "npx",      "args": ["-y", "packforai-mcp"],      "env": { "PACKFORAI_API_KEY": "your_key_here" }    }  }}

Usage

Once connected, just ask your assistant, for example:

  • "Convert ~/Downloads/Q4-report.pdf to clean Markdown."
  • "Fetch https://example.com/spec.docx and give me the AI-ready version."
  • "Convert this scanned PDF with OCR: /path/to/scan.pdf."

Tool

convert_document

ParamTypeDescription
pathstringAbsolute path to a local document file.
urlstringPublic https URL of a document to fetch and convert.
ocrbooleanForce OCR for scanned / image-only PDFs (Pro). Default false.
fullbooleanReturn the full document.md (e.g. complete spreadsheet tables) instead of the compact version. Default false.

Provide either path or url. Returns the Markdown plus a token-savings summary.

Config

  • PACKFORAI_API_KEY (required) — your PackForAI API key.
  • PACKFORAI_BASE_URL (optional) — override the API base (defaults to https://packforai.com/api/v1).

Links

License

MIT

来源:README.md,提交 ad201d1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分