mcp-fetch-server

v2.0.1
mcp-fetch-server Checked 8 hours ago Published 1 day ago

MCP server and CLI for fetching web content as HTML, Markdown, plain text, JSON, or YouTube transcripts

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

fetch_html

Fetch a website and return its unmodified contents as HTML

ParameterTypeDescription
url *stringURL of the website to fetch
headersobjectOptional headers to include in the request
max_lengthnumberMaximum number of characters to return (default: 5000; 0 = unlimited)
start_indexnumberStart content from this character index (default: 0)

fetch_markdown

Fetch a website and return its contents converted to Markdown

ParameterTypeDescription
url *stringURL of the website to fetch
headersobjectOptional headers to include in the request
max_lengthnumberMaximum number of characters to return (default: 5000; 0 = unlimited)
start_indexnumberStart content from this character index (default: 0)

fetch_readable

Fetch a website and return its main content parsed by Mozilla Readability, converted to Markdown. Strips navigation, ads, and boilerplate.

ParameterTypeDescription
url *stringURL of the website to fetch
headersobjectOptional headers to include in the request
max_lengthnumberMaximum number of characters to return (default: 5000; 0 = unlimited)
start_indexnumberStart content from this character index (default: 0)

fetch_text

Fetch a website and return plain text with HTML tags, scripts, and styles removed

ParameterTypeDescription
url *stringURL of the website to fetch
headersobjectOptional headers to include in the request
max_lengthnumberMaximum number of characters to return (default: 5000; 0 = unlimited)
start_indexnumberStart content from this character index (default: 0)

fetch_json

Fetch a JSON file from a URL

ParameterTypeDescription
url *stringURL of the JSON resource to fetch
headersobjectOptional headers to include in the request
max_lengthnumberMaximum number of characters to return (default: 5000; 0 = unlimited)
start_indexnumberStart content from this character index (default: 0)

fetch_transcript

Fetch a YouTube video transcript (via yt-dlp when available, or direct caption extraction)

ParameterTypeDescription
url *stringURL of the YouTube video
headersobjectOptional headers to include in the request
langstringLanguage code for captions (default: 'en')
max_lengthnumberMaximum number of characters to return (default: 5000; 0 = unlimited)
start_indexnumberStart content from this character index (default: 0)