Skip to main content
Glama
MarkItDown MCP Server

MarkItDown MCP Server

by canlgz

MarkItDown MCP 服务器

铁匠徽章

模型上下文协议 (MCP) 服务器使用 MarkItDown 实用程序将各种文件格式转换为 Markdown。

支持的格式

  • PDF

  • 微软幻灯片软件

  • 单词

  • Excel

  • 图像(EXIF 元数据和 OCR)

  • 音频(EXIF 元数据和语音转录)

  • HTML

  • 基于文本的格式(CSV、JSON、XML)

  • ZIP 文件(迭代内容)

Related MCP server: MCP URL Fetcher

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 MarkItDown MCP 服务器:

npx -y @smithery/cli install @KorigamiK/markitdown_mcp_server --client claude

手动安装

  1. 克隆此存储库

  2. 安装依赖项:

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 许可证。详情请参阅许可证。

致谢

https://github.com/microsoft/markitdown#readme

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
    5
    6
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A comprehensive Model Context Protocol server that processes Microsoft Word documents with full formatting support, enabling text extraction, HTML/Markdown conversion, structure analysis, and image extraction.
    5
    2
    -
  • A
    license
    A
    quality
    A
    maintenance
    A Model Context Protocol server that converts over 29 file formats, including PDFs, Office documents, and audio, into structured Markdown using Microsoft's MarkItDown library. It enables AI assistants to process diverse document types through single file conversion and batch directory processing.
    3
    96 PyPI
    44
    MIT