MCP server for web scraping: four types and how to choose
1 january 1970
Author: admin

MCP server for web scraping: four types and how to choose

An AI agent that reads the web needs a tool for it. In the Model Context Protocol (MCP) world, that tool is an MCP server. The choice is wider than it looks, because browser-focused servers work in very different ways. This article explains how to choose an MCP server for web scraping and data extraction.

What an MCP server gives your agent

An MCP server exposes tools that a model can call: fetch a page, click an element, take a snapshot. The agent host, such as Claude Desktop or Cursor, reads the tool list and lets the model use it. The server decides what happens behind each call.

The directory at mcp-review.com covers 32 browser-focused MCP servers. It sorts them into four architecture groups, and that grouping is a good starting point for your choice.

The four server types

Fetch and Markdown extractors

These servers send an HTTP GET request, parse the HTML, remove boilerplate and return clean Markdown. They start no browser, so they are light on resources and on tokens. They cannot run client-side JavaScript, and they will not pass a bot wall.

Local headless automation servers

These servers start a local Chromium instance and drive it over the Chrome DevTools Protocol (CDP). The model can click, fill forms, take screenshots and wait for dynamic elements. The price is local CPU and RAM.

Cloud browser API bridges

These servers forward tool calls to a remote, managed browser. Rendering and IP rotation happen in the cloud. This suits serverless agent setups, but the service usually bills for browser time or API use.

Visual and accessibility tree agents

These servers turn the page into an accessibility tree or an annotated screenshot. A vision model can then pick UI elements without fragile CSS selectors.

Match the server to the page

Page type First server to try Why
Static article or documentation Fetch and Markdown Low cost, few tokens
Page that builds content with JavaScript Local headless Executes scripts
Protected target or serverless agent Cloud browser bridge Remote rendering, IP handling
Complex UI with changing markup Accessibility tree No selector maintenance

Start with the lightest option that returns the data you need. Move to a heavier server only when the output is empty or wrong.

A static public site with open content, such as Indexoid, is an example of a source where a simple fetch server may be enough. Check the site's terms before you extract data.

Criteria for comparing servers

The directory lists the criteria it uses for its entries, and you can reuse them in your own evaluation:

  • GitHub stars, as a rough popularity signal.
  • Commit frequency, to see if the project is maintained.
  • Tool schema quality, because messy schemas confuse the model.
  • Token use per page snapshot, because tokens are a direct cost.
  • Error recovery, meaning what the server returns when a page fails to load.

Stars alone say little: a server with few stars but clean tool schemas and recent commits can be the better choice.

Add the server to your host

Most hosts read a JSON file that lists servers. The shape below is the general pattern. The package name is a placeholder, so take the real command from the server's README.

{
  "mcpServers": {
    "web-fetch": {
      "command": "npx",
      "args": ["-y", "example-fetch-mcp"]
    }
  }
}

The directory also has a config generator at /config-generator. It outputs JSON for Claude Desktop (claude_desktop_config.json) and for Cursor.

Keep the limits in mind

The MCP ecosystem changes fast, and the directory shows snapshots of repositories at one point in time, not a continuous automated test matrix. Before you rely on a server, install it, run it on your own pages and measure the token use yourself.

Checklist

  • Write down what the agent must read: static text, scripted pages or protected pages.
  • Pick the lightest server type that works.
  • Compare tool schemas, token use and error handling.
  • Pin the server version in your config.
  • Re-check the server after each major update.

Discussion

To add a comment, please log in

{"error":"SQLSTATE[HY000] [2002] Connection refused","code":2002}