# MarkItDown \+ MarkItDown\-MCP

[BASE product page](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/>) · [Resource](<https://github.com/microsoft/markitdown>)

ID: github\-com\-microsoft\-markitdown · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A Python library and CLI for converting PDF, Word, Excel, PowerPoint, HTML, and other formats to Markdown\. The official MCP exposes convert\_to\_markdown\(uri\), allowing an agent to obtain document text as context\.

## Type

Document converter \+ MCP

## Entry type

mcp

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-access>)

Basic local conversion of documents to Markdown without a mandatory LLM API\.

## [Paid features and costs](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-access>)

Optional Azure APIs and LLM image descriptions require separate access\.

## [Access and limitations](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-access>)

The basic converters run locally without a mandatory LLM API\. Azure Document Intelligence and Azure Content Understanding are optional paid APIs; LLM image descriptions also require your own model client\. The goal is text and structure for LLMs, rather than exact visual reproduction of a document\. The built\-in converters do not support video; complex OCR/layout processing may require paid cloud integrations\. The unauthenticated MCP is intended for trusted local agents and can read files with its process permissions\.

## [Use cases](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-tasks>)

- Prepare documents for a knowledge base or RAG
- Extract structure and text from Office files before analysis
- Reuse the converter in a Python backend or local MCP

## Tech stack

- Python
- HTML / CSS

## Category IDs

- integrations
- knowledge

## Subcategory IDs

- integrations\.data
- knowledge\.notes
- knowledge\.research

## Tags

- PDF
- Markdown
- Word
- Excel
- Python
- MCP
- CLI

## [Selection purpose](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-selection>)

Prepare documents for a knowledge base or RAG

## [Choose this when](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-selection>)

- Prepare documents for a knowledge base or RAG
- Extract structure and text from Office files before analysis
- Reuse the converter in a Python backend or local MCP

## [Requirements](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-selection>)

- Prepare dependencies for the required formats; when using Docker, mount the directory and use the container path\.

## [Limitations](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-selection>)

- Costs and limits of free use: Optional Azure APIs and LLM image descriptions require separate access\.
- Terms of use: MIT\.
- Conversion targets text and structure for LLMs, rather than exact visual reproduction\.
- The MCP has no built\-in authentication, HTTP/SSE bind to localhost by default, and conversion runs with the server process permissions\.

## [Questions before use](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-faq>)

### What can you use for free in MarkItDown \+ MarkItDown\-MCP?

Basic local conversion of documents to Markdown without a mandatory LLM API\.

### What additional costs might arise with MarkItDown \+ MarkItDown\-MCP?

Optional Azure APIs and LLM image descriptions require separate access\.

### What terms of use matter for MarkItDown \+ MarkItDown\-MCP?

MIT\.

### Which environment can you use MarkItDown \+ MarkItDown\-MCP in?

Tech stack: Python, HTML / CSS\.

### How do you get started with MarkItDown \+ MarkItDown\-MCP?

Convert a small document to Markdown through the chosen library interface or MCP\. Compare headings, tables, and important numbers with the original\. Give the agent the checked text and a question about the document, retaining a way to refer to the source\.

### What should you consider when choosing MarkItDown \+ MarkItDown\-MCP?

markitdown\-mcp supports STDIO and Streamable HTTP\.

### Why is a host file not found in the Docker MCP?

The container sees its own paths\. For a local file, mount the host directory and pass the URI of the path inside the container, for example under /workdir\. MCP convert\_to\_markdown accepts http, https, file, and data URIs\.

## Sources for the selection guide

- [https://github\.com/microsoft/markitdown](<https://github.com/microsoft/markitdown>)
- [https://raw\.githubusercontent\.com/microsoft/markitdown/main/packages/markitdown\-mcp/README\.md](<https://raw.githubusercontent.com/microsoft/markitdown/main/packages/markitdown-mcp/README.md>)
- [https://raw\.githubusercontent\.com/microsoft/markitdown/main/README\.md](<https://raw.githubusercontent.com/microsoft/markitdown/main/README.md>)
- [https://raw\.githubusercontent\.com/microsoft/markitdown/main/LICENSE](<https://raw.githubusercontent.com/microsoft/markitdown/main/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-scenario>)

Example workflow with MarkItDown \+ MarkItDown\-MCP: Prepare documents for a knowledge base or RAG\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- One PDF, Word, Excel, or other supported document\.
- The sections and information that should become text context for the agent\.

## Steps

1. Convert a small document to Markdown through the chosen library interface or MCP\.
2. Compare headings, tables, and important numbers with the original\.
3. Give the agent the checked text and a question about the document, retaining a way to refer to the source\.

## Check your result

- Meaning and important values are retained; text conversion is not treated as an exact reproduction of the layout\.
- Local MCP has access only to the required trusted materials; its process permissions are taken into account\.
- Check that meaning and important values have been preserved; text conversion must not be treated as an exact reproduction of the layout\.
- Check that the local MCP can access only the required trusted materials, accounting for its process permissions\.

## [License](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-license>)

MIT\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Usage details](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-notes>)

markitdown\-mcp supports STDIO and Streamable HTTP\. Conversion targets text and structure for LLMs, rather than exact visual reproduction\. The unauthenticated MCP is intended for trusted local agents and reads files with its process permissions\.

## [Sources](<https://base.akulich.dev/en/library/github-com-microsoft-markitdown/#resource-sources>)

- [Source code](<https://github.com/microsoft/markitdown>)
- [Documentation: README](<https://raw.githubusercontent.com/microsoft/markitdown/main/packages/markitdown-mcp/README.md>)
- [Official source](<https://raw.githubusercontent.com/microsoft/markitdown/main/README.md>)
- [Official source](<https://raw.githubusercontent.com/microsoft/markitdown/main/LICENSE>)

## Editorial review date

2026\-10\-03

## Editorial review scope

Purpose and published terms were reviewed against the cited primary sources\. This product page does not confirm execution or testing in every environment\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
