Fetch MCP Server
@zcaceres
Fetch MCP Server について
A flexible HTTP fetching Model Context Protocol server.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"fetch-mcp-zcaceres": {
"command": "npx",
"args": [
"mcp-fetch",
"<command>",
"<url>",
"[flags]"
]
}
}
}ツール
6Fetch a website and return its raw HTML content.
Fetch a website and return its content converted to Markdown.
Fetch a website and return plain text with HTML tags, scripts, and styles removed.
Fetch a URL and return the JSON response.
Fetch a website and extract the main article content using [Mozilla Readability](https://github.com/mozilla/readability), returned as Markdown. Strips navigation, ads, and boilerplate. Ideal for articles and blog posts.
Fetch a YouTube video's captions/transcript. Uses `yt-dlp` if available, otherwise extracts directly from the page. Accepts an additional `lang` parameter (default: `"en"`) to select the caption language.
概要
What is Fetch MCP Server?
Fetch MCP Server is an MCP (Model Context Protocol) server that fetches web content and returns it in multiple formats: HTML, JSON, plain text, Markdown, readable article content (via Mozilla Readability), and YouTube video transcripts. It is intended for AI agents and developers who need to programmatically retrieve and process web content.
How to use Fetch MCP Server?
Install with npx mcp-fetch-server or globally via npm install -g mcp-fetch-server. Add it as an MCP server in your client configuration under "mcpServers", or use the CLI: mcp-fetch <command> <url> [flags]. Commands include html, markdown, readable, txt, json, and youtube. All tools accept common parameters: url, headers, max_length, start_index, and proxy.
Key features of Fetch MCP Server
- Fetch web content as HTML, JSON, plain text, or Markdown
- Extract article content with Mozilla Readability (strips ads, nav, boilerplate)
- Extract YouTube video transcripts (via
yt-dlpor direct extraction) - Proxy support for requests behind firewalls
- SSRF protection (blocks private/localhost addresses and DNS rebinding)
- Response size limits and configurable character limit via environment variables
Use cases of Fetch MCP Server
- An AI agent fetching a webpage to answer user questions about its content
- Extracting the main article from a news or blog post, free of ads and navigation
- Retrieving JSON from an API endpoint for structured data processing
- Obtaining a YouTube video transcript for summarization or translation
- Browsing web pages with custom headers or through a proxy in restricted networks
FAQ from Fetch MCP Server
What content formats does Fetch MCP Server support?
It supports HTML, Markdown, plain text, JSON, readable article content (Markdown via Mozilla Readability), and YouTube transcripts.
How can I set a custom character limit for responses?
Use the max_length parameter in the tool call, or set the DEFAULT_LIMIT environment variable (default 5000 characters; 0 for no limit).
Does Fetch MCP Server support proxy requests?
Yes. Pass the proxy parameter (e.g., http://proxy:8080) to route requests through a proxy.
Is there protection against SSRF attacks?
Yes. The server blocks requests to private/localhost addresses and implements DNS rebinding protection.
Can I get YouTube transcripts with a specific language?
Yes. Use the youtube command or fetch_youtube_transcript tool with the optional lang parameter (default "en").
「ブラウザ自動化」の他のコンテンツ
Apify Model Context Protocol (MCP) Server
apifyThe Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
Playwright Mcp
microsoftPlaywright MCP server
browser-mcp
djydeA browser extension and MCP server that allows you to interact with the browser you are using.
Scrapling Fetch MCP
cyberchittaHelps AI assistants access text content from bot-protected websites. MCP server that fetches HTML/markdown from sites with anti-automation measures using Scrapling.
Browser Control MCP
eyalzhMCP server paired with a browser extension that enables AI agents to control the user's browser.
コメント