Plugins and integrationsReviewed · Model Context Protocol

Fetch MCP Server

Fetch MCP Server is a web-page reader for AI assistant users and developers, but it can miss content that needs a browser to load. It connects through the Model Context Protocol (MCP), converts HTML to Markdown and lets assistants request long pages in character-based chunks. Its optional Node.js extraction preserves link targets but can install npm dependencies during the first HTML request.

Researched 13 Nov 2026

In short.

Fetch MCP Server is a web-page reader for people using or building AI assistants, but its text extraction does not replace an interactive browser. The Python implementation exposes one fetch tool and one fetch prompt over MCP through standard input and output. It includes host restrictions, private-address checks and a 5 MiB response-body cap, with documented gaps around DNS rebinding and proxy resolution. Optional JavaScript extraction can download dependencies that the Python lockfile does not pin. Live extraction quality, client compatibility and operating costs are unknown; no execution results are available.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the complete src/fetch directory at [https://github.com/modelcontextprotocol/servers/tree/main/src/fetch], fixed to commit e1dc4b18dbb948921da37f3d4224a628730b43b0: documentation, configuration, Dockerfile, package metadata, production modules, tests, lockfile and component LICENSE. The repository root LICENSE is included as a related licensing notice. Linked pages, other server directories, dependency implementations, registry package contents and built container images are excluded. All findings concern supplied source text. Installation, tests, live fetching, extraction quality, client interoperability, performance and network defenses were not executed or verified in operation.

The overview

What Fetch MCP Server is

Fetch MCP Server supplies web content to language-model applications through MCP, an interface through which an AI application discovers and calls external tools. Its original source is the fetch directory in modelcontextprotocol/servers [https://github.com/modelcontextprotocol/servers/tree/main/src/fetch].

The Python package is named mcp-server-fetch, its console command has the same name, and its MCP server identifies itself as mcp-fetch. Package metadata names Anthropic, PBC. as the author. It retrieves and prepares text; it does not contain a language model.

Where it fits

Its design fits assistants that already have a page address and need documentation, article text or another textual response. Markdown conversion, output chunking and explicit network controls make it a plausible addition to a research or coding assistant.

The fit is weaker when the work requires discovering URLs, interacting with a website, maintaining a login session or rendering content generated by browser scripts. The source supports a useful, narrow integration; actual extraction quality and compatibility with a particular AI application remain unassessed.

Who it suits

Beginners using an MCP-capable application can follow the documented Claude.app or VS Code configuration examples, although installation still requires managing a runtime and editing application settings. Developers can connect their own MCP clients to the server process and consume its text results.

Operators can restrict access to named documentation hosts or deliberately enable access to a development server or intranet. Internal access requires the private-address override, so that use needs an explicit decision about which network destinations the assistant should reach.

What it can do

The fetch tool accepts a URL, converts HTML to Markdown and returns native text/markdown responses without simplification. Raw mode preserves the response text without HTML extraction. Simplified HTML can gain a page title when the extracted text lacks it, and a recovery step can expose substantial content already present in hidden server-rendered containers.

Only url is required. max_length defaults to 5,000 characters and accepts 1 through 999,999; start_index defaults to zero; raw defaults to false. timeout_ms accepts 100 through 600,000 milliseconds. These are strict argument types rather than strings that are automatically converted.

A separate fetch prompt accepts a URL and returns its content without the tool's character-window pagination. Proxy settings, custom user agents, host restrictions, server-wide timeouts, an extraction-mode switch and --ignore-robots-txt for disabling the tool's robots.txt checks are also available.

Using it

What you need

Package metadata requires Python 3.10 or newer and the MCP Python SDK in the range mcp>=2.3,<3. The repository's Python preference is 3.11. A client must be able to launch and communicate with an MCP server over standard input and output. The documentation and source advertise support for protocol versions 2025-11-25 and 2026-07-28.

Node.js 14 or newer is optional. When available, it enables Readability.js extraction; missing JavaScript dependencies trigger an npm installation in readabilipy's JavaScript directory. That installation needs network access and permission to write there. Adding --no-readability-js avoids Node.js and npm entirely, but the Python extractor drops link destinations.

The server needs outbound access to its target websites and may use configured HTTP or SOCKS5 proxies. Minimum CPU and memory requirements are unspecified. No model weights, GPU or server-specific API key are specified.

How it works

The MCP client starts a Python process whose decorated tool and prompt functions are exposed by the SDK. For a page request, httpx sends an HTTP GET and follows redirects. Non-raw requests prefer Markdown through the Accept header, with HTML as the next preference. HTML extraction runs in a worker thread, using Readability.js when available and the Python extractor when that runner is unavailable or fails.

Model-initiated tool requests consult robots.txt for the initial URL and each page redirect destination unless the server is started with --ignore-robots-txt. The user-initiated prompt skips robots.txt. Host restrictions and private-address checks apply to both paths, including robots.txt requests and redirects, unless their respective configuration disables or changes them.

The response reader limits decoded bodies to 5 MiB and bounds gzip or deflate decompression. Oversized pages are rejected rather than returned partially; oversized robots.txt files are parsed from their first 5 MiB. Redirect response bodies are closed without being read.

Getting started

The README's recommended launch route is uvx mcp-server-fetch. Configure the MCP application to launch command uvx with mcp-server-fetch as its argument. The documented pip alternative is pip install mcp-server-fetch followed by python -m mcp_server_fetch. Docker configuration uses docker run -i --rm mcp/fetch.

For a limited documentation integration, append --allowed-hosts followed by the intended hosts. An exact entry matches only that host; a wildcard such as *.github.com matches subdomains but excludes github.com itself. Choose the extraction mode before use: retaining Node.js can preserve links, while --no-readability-js avoids its subprocesses and npm installation.

For source-based installation, obtain the original repository at the exact commit identified below and use src/fetch. The supplied Dockerfile installs Python dependencies from the lockfile and specifies runtime UID 999. Successful installation, container builds and correspondence between this source, registry packages and the published image are unknown.

A documentation-reading example

Illustrative, unexecuted use: allow docs.python.org, then ask an assistant to retrieve [https://docs.python.org/] with fetch, max_length set to 5000 and start_index set to 0. If the request passes the network and robots.txt checks, the intended result is page text prepared for the assistant to read.

If the returned content is truncated after that first window, request the same URL with start_index set to 5000, or use the continuation offset supplied in the response. raw set to true requests unsimplified response text. Availability, extraction quality and actual output for this example are unknown.

Assessment & evidence

Limits and risks

The private-address guard checks DNS results before the connection, so DNS rebinding between that check and connection remains possible. A hostname that only a proxy can resolve is left unchecked by that guard. --allow-private-ips disables the address restriction. The separate allowlist restricts host names, not ports or paths; it is not a complete network-isolation boundary.

The server does not render pages in a browser or expose navigation, clicking or login operations. Readability.js processes fetched HTML rather than running the website's browser scripts. Hidden-content recovery can recover text already delivered in the HTML, but cannot retrieve content absent from it. The Python fallback loses link destinations.

The fixed body cap cannot be raised with pagination arguments. Brotli, Zstandard and multiple non-identity content encodings are refused. The default 30-second HTTP timeout applies separately to connection and response phases, rather than imposing a total download deadline; HTML extraction and first-use npm installation have separate limits.

An HTML simplification failure can appear as error text inside a tool result with isError set to false. Fetch failures through the prompt become ordinary prompt text. Integrations therefore need to inspect content as well as protocol flags. Conversion also does not make instructions embedded in a fetched page trustworthy.

Why the trade-offs matter

The output window controls how much page text reaches the assistant, measured in characters rather than model tokens. It does not limit the page download to that window. Each continuation call retrieves and extracts the URL again, so pagination repeats work and may produce inconsistent slices if the page changes. Latency and cost effects have not been measured.

Extraction mode is a practical trade-off. The Node.js path preserves link targets and supports the hidden-content recovery step, while the Python path avoids Node.js and npm. Pinning the Python package or its lockfile does not freeze JavaScript dependencies installed later from readabilipy's version ranges.

Host restrictions and private-address checks serve different purposes and must both pass. Listing an internal host does not enable internal access by itself, while enabling private addresses does not remove an existing host allowlist.

When another approach fits

Within Fetch, raw mode is an alternative when simplification removes material needed for the task. It preserves response text but retains the body cap and network restrictions. The Python-only mode is another option when avoiding Node.js matters more than preserving link targets.

For content created by browser scripts or tasks involving page interaction, a browser automation integration is the type of resource to evaluate. For discovering relevant URLs, a search integration addresses a separate need. These distinctions follow from Fetch's exposed capabilities; no named competing resource, comparative benchmark or price comparison is established by the supplied evidence.

Evidence and confidence

The implementation, command-line parser, package metadata, README, Dockerfile and lockfile provide concrete evidence for the interface and intended behavior. Test files define cases for protocol handling, host restrictions, private addresses, redirects, robots.txt, response limits, extraction fallback, titles and character decoding.

Most protocol tests replace HTTP and DNS with fixtures. Other test definitions exercise subprocess behavior, Node.js extraction or a console entry point over standard input and output. These are definitions, not execution results: nothing was run, and no passing-test counts, measured coverage, live-site results or performance benchmarks are available.

The README states a target of at least 90% line and branch coverage per production file, while explaining that the coverage command does not enforce a threshold. That target is not evidence of achieved coverage or production reliability.

Access & freshness

Costs

The captured software licenses grant permissions without royalties, but that does not establish a zero-cost deployment. No hosted-service price or per-fetch tariff is stated.

Total operating cost is unknown. Relevant expenses can include the machine running the process, network traffic, an optional proxy and the AI application or model consuming the returned text. No resource measurements, token-cost estimates or operating-cost results are supplied.

Licensing and reuse

The component's LICENSE contains an MIT notice with copyright attributed to Anthropic, PBC. in 2024. Its README and package metadata also label it MIT. That notice permits use, modification and redistribution, including commercial distribution, subject to retaining the copyright and permission notice, and provides no warranty.

The repository root LICENSE adds a contribution-dependent transition: new code and specification contributions, plus contributions with relicensing consent, use Apache-2.0; contributions without that consent retain MIT terms. It assigns non-specification documentation to CC-BY-4.0. The evidence does not map those terms to individual contributions in this directory, so the package's MIT label alone does not establish uniform terms for every contribution.

Reuse should preserve the component and root notices and establish which terms cover the chosen material. Apache-2.0 includes license-copy, modification-notice and attribution requirements, with NOTICE obligations when applicable. Dependency license coverage and a complete contribution-level rights mapping are unknown. The software licenses do not establish reuse rights in fetched website content.

Version and freshness

The supplied snapshot identifies commit e1dc4b18dbb948921da37f3d4224a628730b43b0, captured on 12 November 2026 at 06:36:52 UTC. Its immutable source location is [https://github.com/modelcontextprotocol/servers/tree/e1dc4b18dbb948921da37f3d4224a628730b43b0/src/fetch]. Package metadata declares version 2026.11.11 and Beta development status. The latest registry release, published-image contents and changes after capture are unknown.

The supplied lockfile records MCP SDK 2.3.0, readabilipy 0.3.0 and beautifulsoup4 4.15.0. Some test comments still refer to older lockfile versions, including readabilipy 0.2 and beautifulsoup4 4.12; those comments should be read as historical context rather than the current dependency inventory.

What to do next

Obtain the resource from its original repository and retain both the component license and the root licensing notice. Choose a source revision deliberately, configure a compatible stdio client and restrict the server to the hosts needed for the work. Keep private-address blocking enabled unless internal access is an intended requirement.

Decide whether link preservation justifies the Node.js path. For controlled deployments, prepare its JavaScript dependencies ahead of time and manage their versions separately, or choose --no-readability-js with its documented link loss. Network isolation requirements should account for the DNS and proxy limitations.

Before relying on the integration, evaluate representative pages for missing text, preserved links, language decoding, redirects and error handling in the intended client and proxy environment. Keep retrieved page text separate from trusted assistant instructions. Outcomes of those evaluations remain unknown.

Evidence for this report

LICENSEnotice · checked 2026-11-12
src/fetch/.gitignoreselected · checked 2026-11-12
src/fetch/.python-versionselected · checked 2026-11-12
src/fetch/Dockerfileselected · checked 2026-11-12
src/fetch/LICENSEnotice · checked 2026-11-12
src/fetch/README.mdselected · checked 2026-11-12
src/fetch/pyproject.tomlselected · checked 2026-11-12
src/fetch/src/mcp_server_fetch/__init__.pyselected · checked 2026-11-12
src/fetch/src/mcp_server_fetch/__main__.pyselected · checked 2026-11-12
src/fetch/src/mcp_server_fetch/allowlist.pyselected · checked 2026-11-12
src/fetch/src/mcp_server_fetch/server.pyselected · checked 2026-11-12
src/fetch/src/mcp_server_fetch/timeout.pyselected · checked 2026-11-12
src/fetch/src/mcp_server_fetch/title.pyselected · checked 2026-11-12
src/fetch/tests/__init__.pyselected · checked 2026-11-12
src/fetch/tests/conftest.pyselected · checked 2026-11-12
src/fetch/tests/harness.pyselected · checked 2026-11-12
src/fetch/tests/test_allowed_hosts.pyselected · checked 2026-11-12
src/fetch/tests/test_empty_tree.pyselected · checked 2026-11-12
src/fetch/tests/test_entrypoints.pyselected · checked 2026-11-12
src/fetch/tests/test_eras.pyselected · checked 2026-11-12
src/fetch/tests/test_hidden_ssr.pyselected · checked 2026-11-12
src/fetch/tests/test_html_charset.pyselected · checked 2026-11-12
src/fetch/tests/test_markdown_negotiation.pyselected · checked 2026-11-12
src/fetch/tests/test_missing_content_type.pyselected · checked 2026-11-12
src/fetch/tests/test_non_cp1252_pages.pyselected · checked 2026-11-12
src/fetch/tests/test_page_title.pyselected · checked 2026-11-12
src/fetch/tests/test_prompt_url.pyselected · checked 2026-11-12
src/fetch/tests/test_protocol.pyselected · checked 2026-11-12
src/fetch/tests/test_raw_prefix_and_deps.pyselected · checked 2026-11-12
src/fetch/tests/test_response_size_cap.pyselected · checked 2026-11-12
src/fetch/tests/test_robots_status.pyselected · checked 2026-11-12
src/fetch/tests/test_server.pyselected · checked 2026-11-12
src/fetch/tests/test_timeout.pyselected · checked 2026-11-12
src/fetch/tests/test_translated_addresses.pyselected · checked 2026-11-12
src/fetch/uv.lockselected · checked 2026-11-12