distill-mcp

v0.2.10
io.github.Bytestay/distill-mcp Checked 15 hours ago Published 9 days ago

Web pages to clean Markdown for AI agents, honouring robots.txt and AI opt-outs.

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

fetch_markdown

Fetch a web page and return its main content as Markdown, with title, author, date and language. `status` is "ok" on success. Other values (robots_txt, opted_out, blocked, not_html, http_error, unreachable) explain why there is no content.

ParameterTypeDescription
url *stringPage to fetch (http or https).
include_imagesbooleanKeep images as ![alt](src).
include_linksbooleanKeep links and return the list of links.
include_tablesbooleanKeep tables as Markdown tables.
max_charsintegerCut the Markdown to this many characters.

html_to_markdown

Turn HTML you already have into clean Markdown (main content only). A `noai` directive in the HTML is honoured: the result then has no content.

ParameterTypeDescription
html *stringRaw HTML you already have (up to 5 MB). Nothing is fetched.
base_urlPage URL, to resolve relative links and images.
include_imagesbooleanKeep images as ![alt](src).
include_linksbooleanKeep links and return the list of links.
include_tablesbooleanKeep tables as Markdown tables.
max_charsintegerCut the Markdown to this many characters.