
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.
概览
通过 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 覆盖默认地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Packforai Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
- Node.js 18+
- A PackForAI API key (Pro plan). Create one at packforai.com/account.
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:
Restart Claude Desktop.
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
Usage
Once connected, just ask your assistant, for example:
- "Convert
~/Downloads/Q4-report.pdfto clean Markdown." - "Fetch
https://example.com/spec.docxand give me the AI-ready version." - "Convert this scanned PDF with OCR:
/path/to/scan.pdf."
Tool
convert_document
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 tohttps://packforai.com/api/v1).
Links
- Website: packforai.com
- API docs: packforai.com/docs
License
MIT
来源:README.md,提交 ad201d1
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分