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.1.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.1.0
File Size Uploaded Provenance Actions
hhc_doc_markitdown_mcp-0.1.0.tar.gz 4.6 kB Without provenance Details for hhc_doc_markitdown_mcp-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.2 kB

Release files / hhc_doc_markitdown_mcp-0.1.0.tar.gz

Download URL hhc_doc_markitdown_mcp-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f8a63e2cdd514b34be11930b7c4a28726008b7f31ae287e5920f77c3385a3a41
BLAKE2b-256 checksum
How to use checksums
7c99f8a32e5bf1eafced313d6073574f161186a48903a8c3c8ebd40f9d9322e2
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.1.0-py3-none-any.whl

Download URL hhc_doc_markitdown_mcp-0.1.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca3af3848b296e34ab4c67e5c1739c7fef077cc894fb65e4e6fe8fd02a9af3c0
BLAKE2b-256 checksum
How to use checksums
e08946cf9202297aa84d3cecfaf4d550a969c47cd3d5f3fa3c354b563fab15e0
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.1.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.1.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