Overview
Features
Fetch HTML content
Fetch a website and return the content as HTML. Inputs include url (required), headers (optional), max_length (default 5000), and start_index; returns the raw HTML content.
Fetch JSON content
Fetch a JSON file from a URL. Inputs include url (required), headers (optional), max_length (default 5000), and start_index; returns the parsed JSON content.
Fetch plain text content
Fetch a website and return the content as plain text with HTML, scripts, and styles removed. Inputs include url, headers, max_length, and start_index.
Fetch Markdown content
Fetch a website and return the content converted to Markdown. Inputs include url, headers, max_length, and start_index.
HTML parsing with JSDOM
Uses JSDOM for HTML parsing and text extraction to support accurate plain text rendering.
HTML to Markdown conversion
Uses TurndownService to convert HTML content to Markdown format.
Configurable fetch limits
DEFAULT_LIMIT environment variable sets the default maximum fetch size (0 means no limit).
No persistent resources
The server does not maintain persistent resources; content is fetched and transformed on demand.




