Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

openmd-cli

Latest version: v0.3.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: baigao
26 Stars
5 Forks
8 Versions
835 Downloads
Python Repo language

Scan summary

openmd-cli was last scanned on 25 Nov 2026 at version 0.3.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 5 were published within 5 days (21–25 Nov 2026).
  • Findings: No rules fired in version 0.3.2.
  • Downloads: 835 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.2 LATEST 25 Nov 2026 No rules fired
0.3.1 23 Nov 2026 No rules fired
0.3.0 22 Nov 2026 No rules fired
0.2.3 21 Nov 2026 Not shown
0.2.2 21 Nov 2026 Not shown

No rules fired in 0.3.2

Findings

Findings for v0.3.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Openmd

Everything to Markdown — just beginning.

Turn what you can see but can't take out into Markdown your agents can use.

PyPI Python CI License: MIT

English · 简体中文 · 日本語 · 한국어

AI models keep getting smarter, but what they can read still depends on what you can feed them.

Much of the information that matters is stuck inside platforms: articles behind a login, the exact words spoken in a video, a long podcast conversation, an afternoon-long chat with an AI, a discussion in a group chat. You can see it. You just can't take it out.

Openmd aims to be a cornerstone: it turns that content into open, portable Markdown that people and agents can both read and use directly. Web articles, video platforms, office files, chat conversations — all of it can become raw material for your own knowledge base.

We build for AI-native work first. Openmd keeps the original text unchanged, attaches a receipt stating the source and how complete the result is, and rejects error pages and login walls outright. For an agent, "can I trust this material?" matters as much as "do I have it?"

Everything to Markdown. This is just the beginning.


Quick start

Openmd is a command-line tool and a Python module, openmd (package name openmd-cli). It requires Python 3.10 or newer and runs on Windows, macOS and Linux.

# Windows: one command installs everything (no Python needed beforehand; speech models are offered on first use)
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/baigao417/openmd/main/scripts/install.ps1 | iex"

# With Python already installed you can use pip (or uv tool install / pipx install)
pip install "openmd-cli[all]"

# Check your local environment and optional components
openmd doctor

# Update; uninstall the program (your data, settings, logins and models are kept by default)
openmd update
openmd uninstall

# Paste a link, press Enter, choose where to save
openmd

# Save one web page straight into a folder
openmd "https://example.com/article" -o ./notes

# For agents and scripts: no prompts, plus a machine-readable JSON receipt
openmd "https://example.com/article" -o ./notes --json

# Process a list of links (one per line); the batch command takes --out
openmd batch links.txt --out ./notes

Each link becomes Title.md in the folder you choose. Run logs go to ~/.openmd/runs/, never into your notes.

For local office documents or local audio/video transcription, install the optional extras:

# Everything below at once (recommended if you are not sure what you need)
pip install "openmd-cli[all]"

# Or pick only what you need:
# Document and image parsing
pip install "openmd-cli[document]"

# OCR for images and scanned pages
pip install "openmd-cli[ocr]"

# Optional Pandoc conversion fallback
pip install "openmd-cli[pandoc]"

# Local speech recognition (ASR) for audio and video
pip install "openmd-cli[asr]"

# Save video/audio files (Openmd-managed yt-dlp)
pip install "openmd-cli[media]"

# Native PDF text layer with per-glyph hidden-text filtering (PyMuPDF)
pip install "openmd-cli[ocr-router]"

[all] is about 1 GB of Python packages (models not included).

Everything else is optional too. A few programs cannot come from pip; you only need one when you hit the case below, and Openmd says so (openmd doctor, or a message with the next step when a file needs it):

Program Needed only for Without it
FFmpeg Audio and video Comes with [media] / [asr]; a system FFmpeg is used first when present
Local models (OCR / speech) Scanned PDFs, and audio or video without subtitles Images and screenshots still OCR on CPU with [ocr]; videos with subtitles still work; openmd doctor shows how to get a model
LibreOffice Best fidelity for old .doc / .ppt and image-only Office files The built-in reader still extracts the text, marked partial
Calibre Kindle books (MOBI / AZW3) Those two formats stop with install steps; nothing else changes
MinerU Best layout on Chinese scans, with --ocr-engine mineru The default OCR route is used

To connect Openmd to your own agent or automation pipeline, see the tool integration guide.

MCP for agents

Use CLI + SKILL.md with shell access; use MCP for discoverable typed tools and per-tool client approval. Install the optional extra, then start the stdio server. Claude Code:

pip install "openmd-cli[mcp]"
claude mcp add --transport stdio openmd -- openmd mcp

One-line uvx setup (no prior installation):

uvx --from "openmd-cli[mcp]" openmd mcp

Cursor: add the same stdio server in Cursor Settings → MCP → Add new MCP Server:

{
  "mcpServers": {
    "openmd": {"command": "openmd", "args": ["mcp"]}
  }
}

Windows: use an absolute executable path and UTF-8 process output when needed:

{
  "mcpServers": {
    "openmd": {"command": "C:\\path\\to\\openmd.exe", "args": ["mcp"], "env": {"PYTHONIOENCODING": "utf-8"}}
  }
}

Claude Desktop: add this to its MCP configuration; use an absolute executable path if needed.

{
  "mcpServers": {
    "openmd": {"command": "openmd", "args": ["mcp"]}
  }
}

The four tools are openmd_save, openmd_save_page, openmd_job and openmd_doctor. openmd_save accepts one source or up to 20 sources; openmd_job(action="cancel") cancels a queued or running job. Clients that send a progressToken receive queue progress, while polling remains available. Completed Markdown artifacts are exposed through openmd://jobs and openmd://job/{job_id} resources, with bounded reads. Output directories must be explicit absolute paths. HTML snapshots accept a string or an absolute file path, up to 2 MiB UTF-8. All five capability flags default off; explicitly grant network, browser, media, asr or cloud. The CLI capability flags are reused; MCP does not infer the daily CLI grants from an output directory and does not remember it. This stdio setup requires a local process launcher; remote connectors need their own transport bridge.

On headless Linux servers (without DISPLAY or WAYLAND_DISPLAY), Openmd automatically detects the headless environment (shown as headless in openmd doctor), skips browser-dependent routes, and does not install or start the OpenCLI background process. Under --json, --yes, batch, MCP, or non-TTY execution, runs never prompt or wait for QR scans; when something is missing, they fail immediately with missing (such as yt-dlp, asr:baseline, ocr:chain) and install steps in next_action. For X posts, frontmatter also provides author_handle, published_at, views, likes, reposts, replies, bookmarks (omitted when unavailable), quote, thread, thread_count, and thread_coverage.


Why it fits in front of AI and knowledge bases

Openmd is not a knowledge base or a RAG retrieval system. It focuses on the foundational step: getting information out and getting it straight.

  1. Keep the original; leave interpretation to later steps By default Openmd keeps the full original text, captions or transcript, and only tidies paragraphs and whitespace. It does not summarize, translate or rewrite. People can check the exact wording, and no key details are lost before the text reaches an AI context.

  2. Source, metadata and timestamps included The Markdown can carry the title, author, original link and other metadata (as far as the source provides them). Audio and video transcripts keep timestamps and a note on the source and completeness. An optional structured package output is available for downstream tools.

  3. Invalid pages are rejected, not saved When Openmd recognizes an error page or a login wall, it rejects the result and reports it in the receipt instead of quietly saving a broken page as a normal-looking note. (Web pages vary too much to promise that every bad page is caught.)


What it can read today

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases openmd-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Frame 2085668439 (1)
Group 1261154229