web2md
v0.14.3MCP Server for Web2MD — convert URLs to Markdown from Claude Desktop, Cursor, etc.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
convert_url
Convert a public webpage to clean Markdown. START HERE for any URL — it needs no browser, no extension, and no setup. Returns Markdown plus metadata (title, word count, reading time). If the page needs your login session or renders only after JavaScript runs (Reddit, X, paywalled articles, internal dashboards), this returns a login wall or an empty shell — switch to agent_convert in that case.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL of the webpage to convert |
includeImages | boolean | Include image references (default: true) |
includeLinks | boolean | Include hyperlinks (default: true) |
convert_file
Convert a local document file to clean Markdown. Supports Word (.docx/.doc), PowerPoint (.pptx/.ppt), Excel (.xlsx/.xls), OpenDocument (.odt/.ods/.odp), RTF, EPUB, CSV, and PDF. Tables, headings, lists and footnotes are preserved. Fast, fully local — the file never leaves the machine.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the document file on the local filesystem |
semantic_search
[deprecated: use search_library/get_library_items] Search your saved conversions using natural language. Works across languages.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language search query |
limit | number | Max results (default: 5) |
get_conversion
[deprecated: use search_library/get_library_items] Retrieve the full Markdown content of a previously saved conversion by its ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The conversion ID |
bridge_convert_url
FALLBACK for agent_convert when the native host is not installed. Same capability — reads the page through the user's signed-in Chrome — but it works by opening a browser tab, so it is visible and takes focus. Prefer agent_convert whenever the native host is available; use this one if agent_convert reports the host is missing, or on a machine where you cannot install it. Needs only the Web2MD extension installed and signed in; the extension is found automatically via the API key.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to convert (Reddit, paywalled, JS-rendered, etc.) |
extensionId | string | Override extension ID (auto-discovered if omitted) |
agent_convert
Convert one URL through the user's own signed-in Chrome, reading the page exactly as they see it. USE THIS when convert_url hits a login wall or returns an empty shell — Reddit, X, paywalled articles, internal wikis, dashboards. Runs silently in the background over a local connection; it does not open or steal focus from any tab. Requires Chrome running with the Web2MD extension and the native host installed (npx -p web2md-mcp-server web2md-mcp-setup). For several URLs at once use agent_batch_convert; if the native host is not installed use bridge_convert_url.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to convert |
skill | string | Skill name or id to apply — its body is returned alongside the markdown for you to follow |
agent_batch_convert
The multi-URL form of agent_convert: up to 50 URLs in one call, each read through the user's signed-in Chrome. USE THIS instead of calling agent_convert in a loop — one call, one round trip, and each result carries its own token count. URLs are processed one after another, so a long list takes a while. Same requirements as agent_convert (Chrome + extension + native host).
| Parameter | Type | Description |
|---|---|---|
urls * | array | Array of URLs to convert (max 50) |
list_skills
List the skills saved in your Web2MD cloud account. Returns a compact list (id, name, description). Use get_skill to fetch the full SKILL.md body of one.
get_skill
Fetch the full content of a single Web2MD skill by id (or name). Returns its name, description, and complete SKILL.md body. Use list_skills first to find ids.
| Parameter | Type | Description |
|---|---|---|
id * | string | Skill id (or name) to fetch |
search_library
Search your Web2MD library (saved conversions) by keyword (matches title and full page content) and/or tag, newest first. Returns item metadata: id, title, url, date, tags. Use get_library_items to fetch full markdown.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results (default 20, max 100) |
query | string | Keyword search over title and full page content |
since | string | Only items created on/after this ISO date (YYYY-MM-DD) |
tag | string | Filter by tag |
get_library_items
Fetch full markdown content for library items by id (max 20 per call). Use search_library first to find ids. Responses can be very large — for long pages, batch 5 or fewer ids per call.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Item ids to fetch (max 20) |
sync_library
Sync your Web2MD library to a local directory as markdown files (organized by tag, with frontmatter). Incremental by default; keeps state in <dir>/.web2md-sync.json.
| Parameter | Type | Description |
|---|---|---|
dir * | string | Absolute path of the target directory |
full | boolean | Ignore incremental cursor and re-scan full history |
tag | string | Only sync items with this tag |