MarkItDown MCP 服务器
模型上下文协议 (MCP) 服务器使用 MarkItDown 实用程序将各种文件格式转换为 Markdown。
支持的格式
PDF
微软幻灯片软件
单词
Excel
图像(EXIF 元数据和 OCR)
音频(EXIF 元数据和语音转录)
HTML
基于文本的格式(CSV、JSON、XML)
ZIP 文件(迭代内容)
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 MarkItDown MCP 服务器:
npx -y @smithery/cli install @KorigamiK/markitdown_mcp_server --client claude
手动安装
克隆此存储库
安装依赖项:
uv install
用法
作为 MCP 服务器
该服务器可以与任何 MCP 客户端集成。以下是一些示例:
Zed 编辑器
将以下内容添加到您的settings.json
:
"context_servers": {
"markitdown_mcp": {
"settings": {},
"command": {
"path": "uv",
"args": [
"--directory",
"/path/to/markitdown_mcp_server",
"run",
"markitdown"
]
}
}
}
命令
服务器响应以下 MCP 命令:
/md <file>
- 将指定文件转换为 Markdown
例子:
/md document.pdf
支持的 MCP 客户端
可与modelcontextprotocol.io/clients上列出的任何符合 MCP 的客户端配合使用,包括:
Zed 编辑器
任何其他与 MCP 兼容的编辑器和工具
执照
MIT 许可证。详情请参阅许可证。
致谢
模型上下文协议服务器将各种文件格式(PDF、PowerPoint、Word、Excel、图像等)转换为 Markdown,以便 LLM 可以访问它们。
Related MCP Servers
- -securityAlicense-qualityA server that provides document processing capabilities using the Model Context Protocol, allowing conversion of documents to markdown, extraction of tables, and processing of document images.Last updated -18MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.Last updated -6
- AsecurityFlicenseAqualityA Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.Last updated -54
- AsecurityAlicenseAqualityA Model Context Protocol server that converts Markdown content to HTML format.Last updated -13,3823MIT License