
shuck-file
io.github.Shan-Zhu由 GitHub 账号 Shan-Zhu 发布v2.0.4更新于 Oct 24, 2026
Any file in, Markdown out — read only what matters.
概览
将 Word、PDF、Excel、PowerPoint、CSV 等本地文档转换为干净的 Markdown,大文件返回分节地图。
- 可以做什么
- shuck-file 提供两个 MCP 工具:shuck 可将文档转换为 Markdown,支持完整输出、指定章节、仅表格、关键词搜索、token 预算和输出路径等选项;list_formats 用于列出支持的格式。小文件直接完整输出,大文件则返回包含章节标题、token 数量和后续建议的文档地图,便于助手只提取所需部分。支持的格式为 .docx、.pdf、.xlsx、.pptx 和 .csv。
- 适用场景
- 适合助手需要读取或检索本地办公文档和表格、又不希望把整个文件放入上下文的场景。适用于对大型报告或工作簿进行摘要、关键词搜索或部分提取的工作流。
- 运行要求
- 以本地进程方式通过 stdio 运行。需用 pip 安装 shuck-file Python 包,它会提供 shuck 命令行工具和 MCP 服务器,因此需要 Python 环境。未声明任何账号、API 密钥、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 shuck-file,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
shuck-file
[PyPI] [MCP Registry] [License: MIT]
Any file in, Markdown out — read only what matters.
shuck-file converts documents to clean Markdown for AI agents and LLMs. Small files output directly; large files return a document map with section summaries, token counts, and actionable next steps — so agents only pull what they need.
Why shuck-file?
AI agents need a bridge that's context-aware:
- Small file →
shuck report.docx→ full Markdown on stdout - Large file →
shuck report.docx→ document map with sections and extraction options - Targeted extraction →
shuck report.docx --sections s1,s3→ only what you need - Search →
shuck report.docx --grep "revenue"→ find without reading everything
Supported Formats
Installation
Via pip (recommended)
This installs the shuck CLI command and the MCP server.
From source
Quick Start
Usage
Auto-Routing (default)
Small files output directly, large files return a document map.
Extraction Options
Excel/CSV Specific
Power User Subcommands
Output Control
Map Mode Output
When a file is large, shuck returns a document map:
MCP Server
shuck-file includes an MCP (Model Context Protocol) server, making it available to any MCP-compatible AI tool.
Claude Code
Or add to your project's .mcp.json:
Cursor
Add to ~/.cursor/mcp.json:
Windsurf
Add to your MCP configuration:
Any MCP Client
shuck-file registers as an MCP server via the mcp.servers entry point. Tools exposed:
shuck— Convert a document to Markdown with all options (mode, sections, grep, budget, etc.)list_formats— List supported document formats
Claude Code Plugin
Install as a Claude Code plugin for the /shuck skill:
Architecture
License
MIT
来源:README.md,提交 05a7d31
工具
0版本历史
1- v2.0.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分

