OM

ojspace/md-anything

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

49 stars 5 forks 품질 85 트렌드 33MIT

Local-first CLI + MCP 서버: 모든 파일 → AI-ready Markdown + JSON

개요

파일, URL 및 미디어를 터미널 워크플로우 및 MCP 전원 에이전트에 대한 정직 Markdown으로 변환합니다. md-anything는 현재 2개의 표면을 발송합니다: - 로컬 첫번째 CLI: mda - stdio MCP 서버: md-anything-mcp - 강한 : 상자에서 잘 작동 - 최고의 불편 : 유용하지만 품질은 콘텐츠 및 로컬 도구에 따라 다릅니다. 옵션 : 여분의 도구 또는 선택적 인 먼 fallback을 필요로합니다. 변환 --json 안정적인 기계 읽기 쉬운 봉투를 반환: ingest --json은 카운트를 반환하고 per-document metadata: Argument 과실은 기계 읽기 쉬운 유지합니다: 설치 후 클라이언트를 재시작합니다. VS Code의 경우, 명령 Palette → MCP를 엽니다. Servers를 확인하려면.

개요(AI 번역)

파일, URL 및 미디어를 터미널 워크플로우 및 MCP 전원 에이전트에 대한 정직 Markdown으로 변환합니다.

md-anything 현재 두 개의 표면을 발송:

  • 국내 최초 CLI: mda
  • stdio MCP 서버: md-anything-mcp

설치

또는 Bun 또는 npm과 글로벌 설치:

빠른 산성 검사:

빠른 시작

지원되는 것

md-anything 세 가지 지원 수준을 사용합니다.

  • strong: 상자에서 잘 작동
  • best-effort: 유용하지만 품질은 내용과 로컬 도구에 달려 있습니다.
  • optional: 여분의 도구 또는 옵트인 리모트 fallback가 필요합니다.

| 입력 | 지원 | 주 | |—||||| | .txt, .md, .markdown], .json], .html], .htm | 강한 | 네이티브 또는 직선 추출 | | [T13]] / [T14] URL | 강한 | 그림자 + HTML 추출 | | .pdf | 강 | unpdf 기본으로 [T17]] 일부 파일을 향상시킬 수 있습니다 | | YouTube URL | 최단 | Transcript-first, 솔직한 fallback when unavailable | | 이미지([.png, .jpg], .webp, .gif, 등) | 최단점 | 메타데이터 전용, 기본적으로 OCR tesseract], 옵트로이터를 통한 풍부한 먼 fallback | | .epub | 최우수 노력 | 추출은 unzip]; doctor]] 을 누락하면 알려줍니다 | | [T26]], `.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

md-anything

Convert files, URLs, and media into honest Markdown for terminal workflows and MCP-powered agents.

md-anything currently ships two surfaces:

  • a local-first CLI: mda
  • a stdio MCP server: md-anything-mcp

Install

curl -fsSL https://raw.githubusercontent.com/ojspace/md-anything/main/install.sh | bash

Or install globally with Bun or npm:

bun install -g md-anything
npm install -g md-anything

Quick sanity check:

mda --help
mda doctor

Quick start

# Convert one file or URL
mda tests/fixtures/sample.txt
mda convert report.pdf
mda convert "https://example.com/article"

# Batch-convert a folder
mda ingest ./notes -o ./output -r

# Check optional tool availability
mda doctor

# Copy-paste examples
mda examples
mda demo

What is supported

md-anything uses three support levels:

  • strong: works well out of the box
  • best-effort: useful, but quality depends on content and local tools
  • optional: requires extra tools or an opt-in remote fallback
Input Support Notes
.txt, .md, .markdown, .json, .html, .htm strong Native or straightforward extraction
http:// / https:// URLs strong Fetch + HTML extraction
.pdf strong unpdf by default, pdftotext can improve some files
YouTube URLs best-effort Transcript-first, honest fallback when unavailable
Images (.png, .jpg, .webp, .gif, etc.) best-effort Metadata-only by default, OCR with tesseract, richer remote fallback via OpenRouter
.epub best-effort Extraction depends on unzip; doctor will tell you if it is missing
.mobi, .azw best-effort Requires Calibre ebook-convert
Audio (.mp3, .wav, etc.) optional Local whisper-cpp or whisper, optional OpenRouter fallback
Video (.mp4, .mov, etc.) optional Requires ffmpeg plus whisper-cpp / whisper, optional OpenRouter fallback

CLI reference

# Single input
mda 
mda convert 

# Write Markdown to a file
mda convert report.pdf -o report.md

# Omit frontmatter
mda convert report.pdf --no-frontmatter

# Machine-readable JSON
mda convert report.pdf --json

# Batch-convert a folder
mda ingest ./notes
mda ingest ./notes -o ./output
mda ingest ./vault -r -o ./output

# Environment/capability checks
mda doctor

# Help and examples
mda --help
mda examples
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "md-anything": { "command": "md-anything-mcp" } } }