Web2MD

v0.1.0
io.github.kanavsingla28/web2md-mcp Checked 1 day ago Published 1 month ago

Turn any web page into clean Markdown, text or token-bounded RAG chunks (via RapidAPI).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

read_url Read web page as Markdown

Fetch a web page and return its main content as clean Markdown (or plain text), with boilerplate, nav and ads removed. Includes title and token count. Use for reading articles, docs and blog posts.

ParameterTypeDescription
url *stringAbsolute http(s) URL, at most 2048 characters.
formatstringOutput format. Default markdown.
include_imagesbooleanKeep images as ![alt](url). Default false.
include_linksbooleanKeep links as [text](url). Default true.
include_tablesbooleanKeep tables as Markdown tables. Default true.

chunk_url Chunk web page for RAG

Fetch a web page and split its main content into heading-aware, token-bounded chunks for RAG/embeddings. Each chunk has its heading path and token count.

ParameterTypeDescription
url *stringAbsolute http(s) URL, at most 2048 characters.
include_imagesbooleanKeep images as ![alt](url). Default false.
include_linksbooleanKeep links as [text](url). Default true.
include_tablesbooleanKeep tables as Markdown tables. Default true.
max_tokensintegerMaximum tokens per chunk, 64-8192. Default 512.
overlap_tokensintegerTokens of overlap between chunks, 0-1024. Default 50.

convert_html Convert HTML to Markdown

Convert raw HTML you already have into clean Markdown (or plain text). Pass url to resolve relative links.

ParameterTypeDescription
html *stringRaw HTML, at most 5,000,000 characters.
formatstringOutput format. Default markdown.
include_imagesbooleanKeep images as ![alt](url). Default false.
include_linksbooleanKeep links as [text](url). Default true.
include_tablesbooleanKeep tables as Markdown tables. Default true.
urlstringPage URL, used to resolve relative links.

page_metadata Get web page metadata

Get a web page's metadata (title, author, published date, description, site name, language, canonical URL, image, word count, reading time) without the full content.

ParameterTypeDescription
url *stringAbsolute http(s) URL, at most 2048 characters.