Web2md banner
kevstevie kevstevie

Web2md

AI community

Description

convert webpage to markdown for llm agents

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

web2md

An MCP (Model Context Protocol) server that converts web pages to clean Markdown.

MCP(Model Context Protocol) 서버로, 웹 페이지를 깨끗한 마크다운으로 변환합니다.


Why Markdown? / 마크다운을 사용하는 이유

**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 `summaryLevel` parameter, 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` 파라미터를 사용하면 전체 내용 대신 추출 요약본을 받아 개요만 필요한 경우 토큰 사용량을 더욱 줄일 수 있습니다.

Performance Example / 성능 향상 예시

**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 사용


Installation / 설치

Option 1: Claude Code Plugin (Recommended / 추천)

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`.

Option 2: Claude Code — MCP only / MCP 서버만 등록

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`.

Option 3: Build from source / 소스에서 빌드

git clone https://github.com/kevstevie/web2md.git
cd web2md
npm install
npm run build

Getting Started (Source Build) / 시작하기 (소스 빌드)

Skip this section if you installed via `claude