Skip to main content
Glama

MarkItDown MCP Server

by canlgz

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

手动安装

  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

-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议服务器将各种文件格式(PDF、PowerPoint、Word、Excel、图像等)转换为 Markdown,以便 LLM 可以访问它们。

  1. 支持的格式
    1. 安装
      1. 通过 Smithery 安装
      2. 手动安装
    2. 用法
      1. 作为 MCP 服务器
      2. 命令
    3. 支持的 MCP 客户端
      1. 执照
        1. 致谢

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A 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 -
            6
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.
            Last updated -
            2
            Python
            • Apple
          • -
            security
            F
            license
            -
            quality
            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.
            Last updated -
            TypeScript
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to compose and send emails with attachments, as well as search for files in specified directories that match given patterns.
            Last updated -
            22
            Python
            MIT License
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/canlgz/markitdown_mcp_server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server