microsoft/markitdown
FreeMarkItDown MCP 工具访问 - 一个将多种文件格式(本地或远程)转换为 Markdown 以供 LLM 使用的库。
About microsoft/markitdown
MarkItDown-MCP is a lightweight MCP (Model Context Protocol) server that exposes MarkItDown's file-to-Markdown conversion capabilities as a tool. It allows AI agents and applications to convert a wide range of file formats—including local files, remote HTTP/HTTPS resources, data URIs, and more—into Markdown format. The server supports STDIO, Streamable HTTP, and SSE transports, making it flexible for various integration scenarios. It is designed for local use with trusted agents, and comes with Docker support for easy deployment. The primary tool, convert_to_markdown(uri), accepts URIs of types http:, https:, file:, or data: and returns the converted Markdown content. This package is part of the Microsoft MarkItDown ecosystem and can be installed via pip install markitdown-mcp.
Key Features
Pros & Cons
- Lightweight and easy to install via pip
- Supports both local files and remote URLs
- Docker support simplifies deployment and isolation
- Works out-of-the-box with Claude Desktop and other MCP clients
- Uses the robust MarkItDown conversion engine from Microsoft
- Only converts to Markdown format (no other output options)
- Intended for local trusted environments; not suitable for public-facing services without security precautions
- Requires the MarkItDown library as a dependency
- Limited to a single conversion tool in the MCP server