web2md plugin marketplace — converts web pages to clean Markdown with LLM token savings
npx claudepluginhub kevstevie/web2mdFetches web pages and converts them to clean Markdown. Includes the web-summarize skill that automatically uses web2md when summarizing URLs, and a /web2md slash command for direct conversion.
An MCP (Model Context Protocol) server that converts web pages to clean Markdown.
MCP(Model Context Protocol) 서버로, 웹 페이지를 깨끗한 마크다운으로 변환합니다.
LLM Token Savings — Raw HTML is bloated with tags, scripts, and boilerplate that waste context. web2md strips all of that and returns only clean Markdown, drastically reducing the token count fed to your LLM. With the optional
summaryLevelparameter, you can get an extractive summary instead of the full page, cutting token usage even further when only an overview is needed.
LLM 토큰 절감 — 원본 HTML에는 태그, 스크립트, 불필요한 보일러플레이트가 가득해 컨텍스트 낭비가 큽니다. web2md는 이를 모두 제거하고 깨끗한 마크다운만 반환해 LLM에 전달되는 토큰 수를 대폭 줄입니다. 선택적인
summaryLevel파라미터를 사용하면 전체 내용 대신 추출 요약본을 받아 개요만 필요한 경우 토큰 사용량을 더욱 줄일 수 있습니다.
claude fetch — $0.12 token cost, 9839 context tokens used
web2md (summaryLevel=3) — $0.08 token cost, 5 context tokens used
claude fetch 사용시 — $0.12 토큰 사용, 컨텍스트 9839 사용
web2md 사용시 (summaryLevel=3) — $0.08 토큰 사용, 컨텍스트 5 사용
MCP 서버, web-summarize 스킬, /web2md 커맨드를 한 번에 설치합니다.
Installs the MCP server, web-summarize skill, and /web2md command in one step.
claude plugin marketplace add kevstevie/web2md
claude plugin install web2md
Requires Node.js 18+. Playwright (Chromium) is installed automatically on first
npm install.
Claude Code에 MCP 서버만 바로 등록합니다.
claude mcp add web2md -- npx -y web2md-mcp@latest
Requires Node.js 18+. Playwright (Chromium) is installed automatically on first
npm install.
git clone https://github.com/kevstevie/web2md.git
cd web2md
npm install
npm run build
Skip this section if you installed via
claude plugin installor npm.
claude plugin install또는 npm으로 설치했다면 이 섹션은 건너뛰세요.
npm run build
node dist/index.js
The server runs in STDIO mode and communicates via JSON-RPC over stdin/stdout.
서버는 STDIO 모드로 실행되며, stdin/stdout을 통해 JSON-RPC로 통신합니다.
After installing via Option 1–3, add the following to claude_desktop_config.json.
Option 1~3으로 설치 후, claude_desktop_config.json에 아래 내용을 추가하세요.
Via npm:
{
"mcpServers": {
"web2md": {
"command": "npx",
"args": ["-y", "web2md-mcp@latest"]
}
}
}
Via git clone:
{
"mcpServers": {
"web2md": {
"command": "node",
"args": ["/absolute/path/to/web2md/dist/index.js"]
}
}
}
fetch with browser-like headers<main>, <article>, [role=main])web-summarize skill (auto-invokes web2md on URL requests) and /web2md slash commandfetch를 사용하여 공개 URL에서 HTML을 가져옵니다<main>, <article>, [role=main] 순으로 본문을 자동 감지합니다web-summarize 스킬과 /web2md 슬래시 커맨드 포함| Component | Technology |
|---|---|
| Language | TypeScript 5 / Node.js 18+ |
| MCP | @modelcontextprotocol/sdk 1.x |
| Transport | STDIO |
| HTML Parsing | cheerio 1.x |
| JS Rendering | Playwright 1.49+ (Chromium) |
| Markdown Conversion | turndown 7.x |
| Summarization | TF-IDF + TextRank |
| Build | TypeScript (tsc) |
webToMarkdown