distill-mcp
v0.2.10Web 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to fetch (http or https). |
include_images | boolean | Keep images as . |
include_links | boolean | Keep links and return the list of links. |
include_tables | boolean | Keep tables as Markdown tables. |
max_chars | integer | Cut 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.
| Parameter | Type | Description |
|---|---|---|
html * | string | Raw HTML you already have (up to 5 MB). Nothing is fetched. |
base_url | Page URL, to resolve relative links and images. | |
include_images | boolean | Keep images as . |
include_links | boolean | Keep links and return the list of links. |
include_tables | boolean | Keep tables as Markdown tables. |
max_chars | integer | Cut the Markdown to this many characters. |