TM

trsdn/markitdown-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

51 stars 15 forks 质量 83 趋势 20MIT

trsdn/markitdown-mcp 是从 https://github.com/trsdn/markitdown-mcp. 导入的一个 MCP 服务器候选

概览

trsdn/markitdown-mcp 是从 https://github.com/trsdn/markitdown-mcp. 导入的一个 MCP 服务器候选

概述(AI 翻译)

一个强大的模型上下文协议(MCP)服务器,可利用Microsoft的MarkItDown库将29+文件格式转换为干净、结构化的Markdown。

[!重要] 这不是Microsoft官方的markitdown-mcp包。 这是一个独立社区项目,发布在 PyPI 上,内容为 trsdn-markitdown-mcp。 它使用Microsoft的markitdown库作为一个 依赖关系,但它是独立开发和维护的,独立于 markitdown-mcp Microsoft。

  • PyPI 发行版名称:trsdn-markitdown-mcp
  • Python 导入名称: markitdown_mcp
  • CLI 命令: markitdown-mcp (别名: trsdn-markitdown-mcp)

🔥 非常适合Claude Desktop、MCP客户端和AI工作流程!

✨ 特色

  • 🔌 MCP 协议:与 Claude Desktop 和 MCP 客户端无缝集成
  • 📁 **29+ 文件格式:PDF、Office 文档、图片、音频、归档等
  • 🔍 图像元数据:从图片(jpg、png、gif 等)中提取 EXIF 元数据
  • 🎵 语音识别:通过语音转录(MP3、WAV)将音频转换为文本*

*Requires markitdown[all] 安装以实现全functionality

📦 按文件类型划分的依赖要求

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

📄 MarkItDown MCP Server

A powerful Model Context Protocol (MCP) server that converts 29+ file formats to clean, structured Markdown using Microsoft’s MarkItDown library.

[!IMPORTANT] This is not Microsoft’s official markitdown-mcp package. This is an independent community project published on PyPI as trsdn-markitdown-mcp. It uses Microsoft’s markitdown library as a dependency, but it is developed and maintained separately from markitdown-mcp by Microsoft.

  • PyPI distribution name: trsdn-markitdown-mcp
  • Python import name: markitdown_mcp
  • CLI command: markitdown-mcp (alias: trsdn-markitdown-mcp)

🔥 Perfect for Claude Desktop, MCP clients, and AI workflows!

✨ Features

  • 🔌 MCP Protocol: Seamless integration with Claude Desktop and MCP clients
  • 📁 29+ File Formats: PDFs, Office docs, images, audio, archives, and more
  • 🔍 Image Metadata: Extract EXIF metadata from images (JPG, PNG, GIF, etc.)
  • 🎵 Speech Recognition: Convert audio to text with speech transcription (MP3, WAV)*

*Requires markitdown[all] installation for full functionality

📦 Dependency Requirements by File Type

File Type Required Dependencies Install Command
PDF pypdf, pymupdf, pdfplumber pipx inject trsdn-markitdown-mcp 'markitdown[all]'
Excel (.xlsx, .xls) openpyxl, xlrd, pandas pipx inject trsdn-markitdown-mcp openpyxl xlrd pandas
PowerPoint (.pptx) python-pptx Included in base install
Images PIL, exiftool (optional) Included in base install
Audio pydub, speech_recognition pipx inject trsdn-markitdown-mcp 'markitdown[all]'
Basic formats None Base install only

Note: For the best experience, we recommend installing all dependencies using the Complete Install method below.

  • 📊 Office Documents: Word, PowerPoint, Excel files
  • 🌐 Web Content: HTML, XML, JSON, CSV
  • 📚 E-books & Archives: EPUB, ZIP files
  • ⚡ Fast & Reliable: Built on Microsoft’s MarkItDown library

🚀 Quick Start for Claude Desktop

在 GitHub 查看完整 README

安装

uvx trsdn-markitdown-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "markitdown": { "command": "markitdown-mcp", "args": [] } } }