web2md

v0.14.3
org.web2md/web2md Checked 15 hours ago Published 23 days ago

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

ParameterTypeDescription
url *stringThe URL of the webpage to convert
includeImagesbooleanInclude image references (default: true)
includeLinksbooleanInclude 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.

ParameterTypeDescription
path *stringAbsolute path to the document file on the local filesystem

get_conversion

[deprecated: use search_library/get_library_items] Retrieve the full Markdown content of a previously saved conversion by its ID.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
url *stringThe URL to convert (Reddit, paywalled, JS-rendered, etc.)
extensionIdstringOverride 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.

ParameterTypeDescription
url *stringThe URL to convert
skillstringSkill 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).

ParameterTypeDescription
urls *arrayArray 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.

ParameterTypeDescription
id *stringSkill 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.

ParameterTypeDescription
limitnumberMax results (default 20, max 100)
querystringKeyword search over title and full page content
sincestringOnly items created on/after this ISO date (YYYY-MM-DD)
tagstringFilter 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.

ParameterTypeDescription
ids *arrayItem 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.

ParameterTypeDescription
dir *stringAbsolute path of the target directory
fullbooleanIgnore incremental cursor and re-scan full history
tagstringOnly sync items with this tag