Skip to main content

hhc-doc-markitdown-mcp

An npx-friendly MCP server for the MarkItDown library.

It exposes one tool, convert_to_markdown(uri), where uri can be any http:, https:, file:, or data: URI. It converts 29+ document formats (PDF, Word, Excel, PowerPoint, images, audio, HTML, CSV/JSON/XML, ZIP, EPUB, YouTube URLs, …) into clean, structure-preserving Markdown optimized for LLMs.

Provenance. This package is a repackaging of Microsoft's markitdown-mcp (MIT License, Copyright Adam Fourney / Microsoft). It is not an official Microsoft package. The original MIT license and attribution are preserved in LICENSE.

Install

From PyPI:

pip install hhc-doc-markitdown-mcp

Run the STDIO server (default):

hhc-doc-markitdown-mcp

Run with Streamable HTTP + SSE:

hhc-doc-markitdown-mcp --http --host 127.0.0.1 --port 3001

Use via npx (no uvx needed)

The companion npm package hhc-doc-markitdown-mcp is a thin launcher: it finds a local Python 3.10+, builds a cached venv, installs this PyPI package into it, and runs the STDIO server — passing stdin/stdout straight through. Register it in any MCP client with:

{
  "mcpServers": {
    "hhc-doc-markitdown": {
      "command": "npx",
      "args": ["-y", "hhc-doc-markitdown-mcp"]
    }
  }
}

Requirements: Node.js (for npx) and a local Python 3.10+. The venv is created once and cached under ~/.cache/hhc-doc-markitdown-mcp (or %LOCALAPPDATA% on Windows), so only the first run is slow.

Plugins / OCR

Set MARKITDOWN_ENABLE_PLUGINS=true to enable MarkItDown plugins (e.g. OCR).

Security considerations

The server does not support authentication and runs with the privileges of the user running it. The convert_to_markdown tool can read any file the server's user can access. Keep HTTP/SSE mode bound to localhost (the default) unless you understand the implications.

License

MIT. See LICENSE.

Metadata

Release files for hhc-doc-markitdown-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hhc-doc-markitdown-mcp 0.2.0
File Size Uploaded Provenance Actions
hhc_doc_markitdown_mcp-0.2.0.tar.gz 5.1 kB Without provenance Details for hhc_doc_markitdown_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hhc-doc-markitdown-mcp 0.2.0
File Interpreter ABI Platform Actions
hhc_doc_markitdown_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for hhc_doc_markitdown_mcp-0.2.0-py3-none-any.whl

Total release size: 12.0 kB

Release files / hhc_doc_markitdown_mcp-0.2.0.tar.gz

Download URL hhc_doc_markitdown_mcp-0.2.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ae161e7ba6e067d8f1161e6585d952722ce745ba9eedd318824cd9b87a951718
BLAKE2b-256 checksum
How to use checksums
ca4ae1aac48aa6a325619fc2105fc847944dd5cb21ca5cc536f082ee3220d309
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hhc_doc_markitdown_mcp-0.2.0-py3-none-any.whl

Download URL hhc_doc_markitdown_mcp-0.2.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1880ae4594531bed0835f0e23ca10cb80b1199c9f6661fc920c0b4621278e8e5
BLAKE2b-256 checksum
How to use checksums
88b05ca1b7b62960963b3c07aca4827826ea61c38ec47b35f2dbd15d3d1084bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for hhc-doc-markitdown-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page