
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that exposes 12 tools to MCP clients for converting pages and files to Markdown, running semantic search, and syncing a library.
Web2MD MCP server for converting web pages to Markdown is cataloged as an MCP server attributed to io-oi-ai. An MCP server that exposes 12 tools to MCP clients for converting pages and files to Markdown, running semantic search, and syncing a library. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Web2MD MCP server for converting web pages to Markdown are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
convert_url works without an account; tools that touch the library or hosted API need a free key, which the setup command can handle or you can set yourself.
README.md · 1310446f7b95 · 采集于 2026-11-13 11:42:59 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Two packages live here, both MIT:
| Package | What it is | Install |
|---|---|---|
web2md-core | The HTML → Markdown engine. Pure library, no network. | npm install web2md-core |
web2md-mcp-server | MCP server so Claude Code, Cursor, and other agents can convert pages. | npx web2md-mcp-server |
Both are extracted from Web2MD, a Chrome extension that converts web pages to Markdown for AI tools.
An MCP server exposing 12 tools to any MCP client — Claude Code, Claude Desktop, Cursor, Cline, and others.
npx -p web2md-mcp-server web2md-mcp-setup
That writes the config for your client and, if a tool needs an account, opens the browser for OAuth — no password is typed anywhere.
Or configure it by hand (the binary is web2md-mcp):
{
"mcpServers": {
"web2md": { "command": "npx", "args": ["-y", "-p", "web2md-mcp-server", "web2md-mcp"] }
}
}
Tools: convert_url, convert_file, semantic_search, get_conversion,
bridge_convert_url, agent_convert, agent_batch_convert, list_skills,
get_skill, search_library, get_library_items, sync_library.
Two of these are worth calling out:
bridge_convert_url connects to your own signed-in Chrome session, so an
agent can read pages that need a login or run heavy JavaScript — the ones a
server-side fetch gets a login wall or an empty shell for.agent_batch_convert takes up to 50 URLs in one call and returns Markdown
plus token counts for each.convert_url works without an account. Tools that touch your library or the
hosted API need a free key — the setup command above handles that, or set
WEB2MD_API_KEY yourself.
Turn messy HTML into clean, LLM-ready Markdown.
This is the extraction and conversion engine behind Web2MD. It is a pure library — give it an HTML string, get Markdown back. No network calls, no API key, no account. Nothing in this package talks to a server.
npm install web2md-core
Feeding raw HTML to a language model wastes most of your context window on markup, navigation, and ads. Converting first cuts that down and gives the model a document it can actually follow.
The library reports both numbers so you can see the difference:
import { convertToMarkdown } from 'web2md-core'
const result = convertToMarkdown(html, { url: 'https://example.com/post' })
console.log(result.markdown)
console.log(result.metadata.originalTokenCount, '→', result.metadata.tokenCount)
// e.g. 417 → 281
convertToMarkdown returns null when it cannot find a main content block —
check for that rather than assuming a result.
convertToMarkdown(html, options?)The main entry point. Note the signature takes two arguments — the URL goes
inside options, not as a positional parameter:
convertToMarkdown(html, { url: 'https://example.com/post' })
| Option | Default | Meaning |
|---|---|---|
url | — | Source URL. Used to resolve relative links and fill metadata.url. |
includeLinks | false | Keep <a> as Markdown links. Off by default because link URLs are often the bulk of the tokens on navigation-heavy pages. |
includeImages | false | Keep images. Off by default for the same reason. |
includeMeta | false | Prepend a metadata block (title, source, timestamp). |
customRule | — | A CustomRule for site-specific extraction. |
detectCodeLanguage | false | Try to infer the language of fenced code blocks. |
includeLinks and includeImages default to off. That is deliberate — the
primary use case is feeding an LLM, where both are usually noise. Turn them on
when you are archiving rather than summarising.
quickConvert(html, url?) // same result, but with links, images and
// metadata turned ON — the "archive it" preset
extractContent(html, url?) // main content element, before conversion
htmlToMarkdown(html, options?) // low-level conversion, no extraction
countTokens(text) // token estimate
splitByTokens(md, limit) // chunk for RAG ingestion
optimizeForContextWindow(md, model)
htmlLooksLikeLoginWall(html) // detect login walls so you can fail loudly
MODEL_CONTEXT_LIMITS // context sizes for common models
Markdown → sanitized HTML (via DOMPurify), for previewing output:
renderMarkdownSync(md)
renderMarkdownFull(md) // async; includes syntax highlighting
renderMarkdownWithFormulas(md) // KaTeX math
getPageHTML() and getSelectionHTML() read document directly and therefore
only work in a browser. They throw in Node — that boundary is intentional.
Generic extraction handles most pages. When a site needs special treatment, pass a rule:
convertToMarkdown(html, {
url: 'https://example.com/thread',
customRule: {
name: 'Example forum',
domain: 'example.com',
contentSelector: '.thread-body',
removeSelectors: ['.signature', '.ad-slot'],
},
})
This package covers extraction and conversion. It does not include Web2MD's browser extension, hosted API, or account system — those stay in the product.
Contributions to extraction quality are especially welcome: if a site converts badly, an issue with the URL and what went wrong is genuinely useful.
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Web2MD MCP server for converting web pages to Markdown from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/web2md)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.