omd-mcp
This MCP server converts local and public sources into traceable Markdown and supports source inspection, Obsidian vault capture, and vault search.
convert_to_markdown: Convert URLs, absolute file paths, or directories into untrusted Markdown or RMarkdown, including documents, images via OCR, audio transcription, web pages, social/media routes, and batches; return inline or write to a file.inspect_source: Check how OMD would route a URL, file path, directory, or share blob without converting, optionally with readiness and cookie context.capture_to_vault: Capture one allowed source into an Obsidian-compatible local vault as Markdown plus an.omd.jsonmanifest, with optional tags and OCR language.search_memory: Lexically search Markdown notes under an allowed local vault root and return relative paths, scores, and bounded evidence snippets.list_supported_formats: List input forms thatconvert_to_markdowncan route.
Captures Apple Podcasts media sources, preserving metadata and using local transcription when available.
Captures Bilibili media sources, preserving metadata and using local transcription when available.
Ingests public Bluesky posts through bounded public adapters.
Ingests public Mastodon posts through bounded public adapters.
Writes captures into an Obsidian-compatible vault as Markdown notes, updates an index, stores sidecar metadata, and supports vault search.
Uses a local Ollama instance for optional local model-assisted work such as polishing Markdown and generating memory cards.
Supports optional hosted AI provider requests through OpenAI, gated by disclosure readiness and explicit consent.
Ingests public Reddit posts through bounded public adapters.
Ingests public Telegram posts through bounded public adapters.
Ingests public Threads posts through bounded public adapters.
Captures TikTok media sources, preserving metadata and using local transcription when available.
Converts WeChat articles via a source adapter.
Supports advanced local-only Xiaohongshu/Rednote capture using user-provided Netscape cookies.txt exports.
Captures YouTube media sources, preserving metadata and using local transcription when available.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@omd-mcp convert this webpage to Markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OMD.EXE // PUBLIC BETA 0.3.0b5
OMD.EXE
A local AI context inbox for Markdown, Obsidian, and agents.
Turn documents, web pages, screenshots, audio, folders, and selected public URLs into traceable Markdown that stays in folders you control.
Install · Documentation · Report an issue
Beta 0.3.0b5 provides the core backend for OMD Home, the command line, and MCP. The browser UI is deferred until its Gradio/Pillow dependencies have a compatible, audited installation. OMD Home does not require that browser UI.
How conversion stays recoverable
Core conversion never depends on AI. Optional model work is isolated, so a missing model or failed call leaves the raw Markdown intact.
Related MCP server: Markitdown MCP Server
Quick start
brew install omd-local/omd/omd
omd doctor
omd capabilities --jsonFor an existing Homebrew installation:
brew update
brew upgrade omd-local/omd/omdIn OMD Home settings, use the absolute executable path printed by:
echo "$(brew --prefix omd-local/omd/omd)/bin/omd"Run omd capabilities --json with that executable to confirm package_version
is 0.3.0b5 and protocol_version is 1, then refresh Home's backend check.
Use OMD Home 0.2.2 with this backend for the matched Mac workflow, including
recognition preferences, review-first enrichment, safe Markdown formatting,
and cited vault answers. The plugin and backend are installed separately.
Full setup: 中文指南 · English guide.
The command line can also convert directly or capture into an Obsidian folder:
omd report.pdf -o report.md
omd capture report.pdf --vault ~/Obsidian/AI-MemoryThe custom Homebrew tap includes the project organisation in the command.
omd-local is the project owner, not a personal account. The beta installs the
CLI, MCP server, common document converters, and yt-dlp. The omd-ui command
explains that the browser UI is unavailable in this release; it does not start
a server. Large transcription and local-model tools remain optional.
Manual install
git clone https://github.com/omd-local/markdown-everything.git omd
cd omd
pip install -e .
pip install 'markitdown[docx,outlook,pdf,pptx,xls,xlsx]>=0.1.6,<0.2' 'pillow>=13.0.0,<14' yt-dlp
omd doctorThe dependency-free core supports Python 3.10 or newer. The optional document
converters require Python 3.11 or newer for Pillow 13; Homebrew uses Python 3.12.
A minimal pip install -e . registers omd
and omd-mcp without Python runtime dependencies. Document converters and media
tools are optional. The all extra includes conversion tools, not the deferred
browser UI; there is no supported ui extra in this release.
Optional local model
OMD never downloads Ollama models automatically. Install and start Ollama, then run the model install command in Terminal. OMD recommends a conservative instruct model from the machine's total memory; this is a 16 GB example:
ollama pull qwen3:4b-instructKeep the Ollama host at http://localhost:11434 for fully local model calls. Core
conversion still works when Ollama is absent or stopped.
Hosted AI readiness
Hosted AI is optional and requires explicit consent for each request. The backend validates provider disclosures before credentials, model checks, or provider requests. OpenAI and Anthropic disclosures were reviewed on 2026-11-02; DeepSeek remains unavailable because the reviewed official sources do not establish an applicable API retention policy for OMD evidence.
omd capabilities --json reports current disclosure readiness without reading
Vault evidence. A missing, expired, or unverified disclosure fails closed with
disclosure_unavailable. Disclosure readiness alone does not authorize a request
or guarantee model availability. Capture, conversion, and local AI do not depend
on Hosted AI readiness.
Optional transcription and OCR
# Apple Silicon speech-to-text for audio, podcasts, and supported videos
brew install pipx
pipx install mlx-whisper
# Text recognition inside screenshots and article images
brew install tesseract tesseract-langOCR means optical character recognition: it reads visible text from an image.
English uses eng; mixed Chinese and English can use chi_sim+eng. mlx-whisper
is Apple-Silicon only and is intentionally excluded from the base install because
its model stack is large.
Documents: PDF, DOCX, PPTX, XLSX, HTML, CSV, JSON, XML, EPUB, and ZIP use MarkItDown.
Images: PNG, JPG, WEBP, TIFF, and BMP use Tesseract OCR.
Audio: MP3, WAV, M4A, FLAC, and OGG use local Whisper when installed.
Web: articles, WeChat, and public webpages use a source adapter or web conversion.
Public posts: Reddit, X, Bluesky, Mastodon, Threads, Hacker News, and Telegram use bounded public adapters.
Media: Apple Podcasts, YouTube, TikTok, and Bilibili preserve metadata and use local transcription when available.
Local batches: folders and saved one-item-per-line lists route each item independently.
OMD does not bypass paywalls, login gates, captchas, access controls, or platform restrictions. Public posts can be deleted, private, quarantined, region-blocked, or rate-limited; a URL that opens in your signed-in browser may still reject an anonymous converter.
Douyin and Xiaohongshu / Rednote
These advanced local-only routes normally need separate Netscape cookies.txt
exports. Export cookies only from an account and content you are authorised to
use, then pass the matching file with --cookies:
Douyin cookies: export while signed in to
douyin.com.Xiaohongshu cookies: export while signed in to
xiaohongshu.com.Do not reuse one platform's cookie file for the other platform.
Never commit cookie files.
Use omd inspect "<url>" --with-readiness --cookies /path/to/cookies.txt before
starting to check local source and cookie readiness.
Direct Markdown
omd report.pdf -o report.md
omd screenshot.png -o screenshot.md --lang eng
omd bilingual.png -o bilingual.md --lang chi_sim+engObsidian-compatible vault capture
omd capture report.pdf --vault ~/Obsidian/AI-Memory --tags research,pdf
omd capture "https://example.com/article" --vault ~/Obsidian/AI-MemoryCapture writes a readable note under Sources/<source type>/, updates
Index/OMD Captures.md, and keeps hashes, route diagnostics, model errors, and
other debug metadata in the adjacent .omd.json sidecar.
Optional local AI sections
omd report.pdf -o report.md --polish-md --polish-md-keep-raw
omd capture report.pdf --vault ~/Obsidian/AI-Memory --memory-cards--polish-md cleans parser/OCR noise. --memory-cards adds a summary, useful
tags, [[links]], and evidence-oriented cards above the preserved
## Full Content. Review all generated content before relying on it.
Read the Obsidian guide and memory cards guide. The optional provider boundary is documented in the privacy model.
# Inspect routing, tools, cookies, and local readiness without converting
omd inspect "<url-or-file>" --with-readiness
# Convert a folder or reusable one-item-per-line list
omd batch sources.txt -o out/
omd capture ~/Downloads/sources/ --vault ~/Obsidian/AI-Memory --batch
# Quiet deterministic output for agent-facing runs
omd --agent-safe report.pdf -o report.md
# Read-only vault-aware note enrichment proposal
omd enrich-note Inbox/example.md --vault ~/Obsidian/AI-Memory --json-events
omd enrich-note --request-json - --json-events < request.json
omd capabilities --jsonenrich-note returns a validated proposal on stdout and never edits the vault.
The complete v1 stdin/response/event contract is documented in the
enrich-note contract. Obsidian plugin authors
should also follow the plugin integration guide
for capability negotiation, subprocess isolation, response validation, and the
hash-checked Vault API write boundary.
omd-mcp exposes four tools:
convert_to_markdown(uri, output?, output_format?, lang?, reel_options?)inspect_source(uri, include_readiness?, cookies?, cookies_from_browser?)capture_to_vault(uri, vault, lang?, tags?)list_supported_formats()
Minimal MCP configuration:
{
"mcpServers": {
"omd": {
"command": "omd-mcp"
}
}
}Treat converted Markdown as untrusted input. MCP restricts local paths and
private-network URLs by default; use narrow OMD_MCP_ALLOWED_ROOTS only for
folders you intend the client to access.
Symptom | What to check |
| Reinstall the Homebrew package or install the common document converters shown above. |
| Beta 0.3.0b5 ships the core backend. Use OMD Home or the CLI while the browser UI is deferred. |
OCR language unavailable | Install |
Local model warning | Start Ollama and run the displayed |
Web or Reddit HTTP 403 | The source rejected automated access. Save an authorised copy as HTML or PDF and convert the local file. |
Douyin / Xiaohongshu warning | Export a fresh platform-specific cookie file and pass it with |
Partial failure in a multi-file run | Open the output folder; successful items and partial raw outputs are retained when safe. |
Run omd doctor for local capability checks. For a reproducible report, include
a non-sensitive sample, the warning text, and --verbose output. Verbose logs
are shown in the process log and are not added to the user-facing Markdown note.
git clone https://github.com/omd-local/markdown-everything.git omd
cd omd
pip install -e '.[all,test,audit]'
make smoke
make testOMD builds on Microsoft MarkItDown, yt-dlp, f2, MLX Whisper, Ollama, and Tesseract.
Issues and focused pull requests are welcome. Read SECURITY.md before reporting a vulnerability. OMD is released under the MIT License.
Local-first, with explicit boundaries
Personal note use only. OMD is designed for personal research, note-taking, and AI-assisted knowledge workflows. It is not a legal, compliance, evidentiary, or archival system. Output may omit, reorder, or reformat source content. You are responsible for ensuring you have the right to access, process, and store each source. OMD does not bypass paywalls, access controls, or platform restrictions. Review AI-generated summaries, tags, Evidence, and
[[links]]before relying on them.
Local-first does not mean every URL workflow is offline: URLs contact their source platform, and explicitly configured remote model endpoints receive the content sent to them. Keep private material in local workflows with loopback Ollama. See the privacy model and security policy.
Documentation
Read this | When you need it |
Copy-ready conversion, capture, inspect, batch, and polish commands | |
Folder layout, sidecars, indexes, and repeated captures | |
Local model setup and generated note sections | |
What stays local and when network access is used | |
Release history and current beta changes |
LOCAL SOURCES -> TRACEABLE MARKDOWN -> CONTEXT YOU CONTROL
Available Tools
5 toolscapture_to_vaultB
Capture one source into an Obsidian-compatible local vault as Markdown plus an .omd.json manifest. Uses conservative agent defaults: path allowlist checks, no cookie/browser auth flags, no generated memory cards, and untrusted source labeling.
Inputs: uri (required), vault (required), lang, tags.
convert_to_markdownB
Ingest a user-selected URL, file path, or directory into untrusted Markdown for local AI context workflows. Core routes include PDF/DOCX/PPTX/XLSX/HTML/CSV/ZIP via markitdown, PNG/JPG/JPEG via OCR, audio via local transcription, generic web pages, and directories as batches. Advanced public/local-only routes include social posts, WeChat articles, XHS/Douyin, reels, and podcasts when their source access requirements are met.
Inputs: uri (required), lang, output, reel_options, +1 more.
inspect_sourceA
Inspect how OMD would route a URL, share blob, file path, or directory without converting it. Optionally includes local readiness from doctor checks.
Inputs: uri (required), cookies, include_readiness, cookies_from_browser.
list_supported_formatsB
List the input forms convert_to_markdown can route.
Inputs: no named parameters.
search_memoryA
Search Markdown notes under an allowed local vault root. Returns relative paths, deterministic lexical scores, and bounded untrusted evidence snippets.
Inputs: query (required), vault (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Most tools have clearly distinct purposes: convert, inspect, capture, search, and list formats. However, convert_to_markdown and capture_to_vault both convert a source to Markdown, which could cause slight confusion on when to use which, though descriptions differentiate by output destination and defaults.
All tools follow a consistent snake_case verb_noun pattern (convert_to_markdown, inspect_source, capture_to_vault, search_memory, list_supported_formats). No deviations in case or style.
Five tools cover the core operations: conversion, inspection, vault capture, search, and format listing. This is well-scoped for a markdown ingestion and vault tool without redundancy.
The surface covers ingestion, inspection, vault capture, and search, but lacks a way to retrieve full note content (search returns only bounded snippets) and no note update/delete operations. These are minor gaps for its stated purpose.
Maintenance
Related MCP Connectors
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Convert files, URLs, and documents to clean, AI-ready Markdown via MCP.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Related MCP Servers
- AlicenseAqualityAmaintenanceConverts various file types and web content to Markdown format. It provides a set of tools to transform PDFs, images, audio files, web pages, and more into easily readable and shareable Markdown text.103,009MIT
- FlicenseNot gradedqualityDmaintenanceConverts documents (PDF, DOCX, images, etc.) to Markdown using Microsoft's Markitdown library, with no local setup required. Integrates with AI agents via MCP for seamless document conversion.1-
- AlicenseAqualityCmaintenanceConverts documents between Markdown, PDF, DOCX, and HTML locally with AI-friendly Markdown output and secure file access.6MIT
- AlicenseNot gradedqualityDmaintenanceA local web interface and MCP server for converting documents (PDF, Word, Excel, images, audio, etc.) to Markdown using Microsoft's MarkItDown library.3MIT