Pick a server by job
How to evaluate a scraping MCP server in 15 minutes
Run six calls against any scraping MCP server: list its tools, read a known page, hit a known 404, send bad input, measure output size and read the errors.
By Shannon Mcbride, MCPScraper team · Published
This article was drafted with AI assistance from the sources listed below and edited and published by the MCPScraper team. Disclosure: the MCPScraper API, which this article mentions, is this site's own product.
- List tools: count them and read each name, description and annotation.
- Known page: read https://example.com/ and expect the heading Example Domain.
- Known 404: read a URL that returns 404 and expect isError: true.
- Bad input: send a value that is not a URL and expect a tool execution error.
- Output size: measure the text length and look for a cap and a cut notice.
- Error text: check that each error says what failed and what to change.
A scraping MCP server is easy to install and hard to judge from its README. The questions that matter show up only in a call: what comes back for a normal page, what comes back for a missing one, and how much of it lands in context.
This plan answers them with six calls, run by hand, outside any model. It assumes the server already connects. For the connect-and-list smoke test itself, the MCP Inspector CLI walkthrough on fetchmcp.net covers it.
Spec rows below are from the MCP specification's tools page, 2026-07-28 revision. Inspector rows are from its CLI README. Both checked 2026-11-27.
The harness
The MCP Inspector CLI calls a server's tools directly. No model sits in between, so what you see is what the server returns.
| Row | Value | Source |
|---|---|---|
| Launch | npx @modelcontextprotocol/inspector --cli <server> | Inspector CLI README |
| Remote server | --transport http and --header "Name: value" | same |
| Call a tool | --method tools/call --tool-name <name> | same |
| JSON arguments | --tool-args-json '<json object>', passed verbatim | same |
| Machine output | --format json: one object on stdout, { "result": … } | same |
| Failed call | a result with isError: true still prints, then exits 5 (tool_is_error) | same |
Set two shell variables and one helper once. Replace the URL, the key and the tool name with the server's own. The tool name is whatever tools/list shows for "read one page"; url stands for its URL parameter.
SERVER="https://mcp.example.com/mcp"
AUTH="Authorization: Bearer YOUR_KEY"
inspect() { npx @modelcontextprotocol/inspector --cli "$SERVER" --transport http --header "$AUTH" "$@"; }
For a local stdio server, put its start command where the README's examples use node build/index.js, and drop --transport and --header.
Call 1: list the tools
inspect --method tools/list
Record three things per tool:
- Count. Every listed tool is a definition the client can load into context. See Too many MCP tools in the context window.
- Description. Does it say what the tool reads, and what it does not do?
- Annotations. The spec says clients "MUST consider tool annotations to be untrusted unless they come from trusted servers." A read-only hint is a claim to check, not a result.
Run the list twice. The spec says servers SHOULD return tools in a deterministic order. A list that reshuffles is a small flag.
Call 2: a known page
inspect --method tools/call --tool-name read_page \
--tool-args-json '{"url":"https://example.com/"}' --format json
On 2026-11-27, https://example.com/ had the heading "Example Domain" and two sentences: "This domain is for use in documentation examples without needing permission." and "This is not a service; avoid relying on it for testing and monitoring purposes."
Expect that text and little else. Check:
- the heading and both sentences are there;
- no markup leaks into a text or Markdown result;
- which content types come back (text, image, resource link); MCP scraper output formats lists what each means.
Note the page's own second sentence. IANA says example.com is maintained for documentation purposes. Keep it to these few manual calls. Point anything that repeats, such as a CI check or a monitor, at a page you control.
Call 3: a known 404
inspect --method tools/call --tool-name read_page \
--tool-args-json '{"url":"https://example.com/no-such-page-404-test"}' --format json
echo "exit: $?"
That URL returned HTTP 404 on 2026-11-27. Confirm with curl -I on the day; a target can change.
| Exit | Meaning |
|---|---|
5 | The server returned isError: true. Read the message. |
0 | The server returned the 404 as an ordinary result. Read the text: if it is the error page's body, the model gets it as page content. |
The second case is the one to catch. A missing page that arrives as normal text looks like an answer to the model.
Call 4: bad input
inspect --method tools/call --tool-name read_page \
--tool-args-json '{"url":"not a url"}' --format json
echo "exit: $?"
The spec defines two error mechanisms:
| Kind | Used for (spec) | How it arrives |
|---|---|---|
| Protocol error | unknown tool, malformed request, server error | a JSON-RPC error object |
| Tool execution error | API failures, input validation errors, business logic errors | a result with isError: true |
An invalid URL is an input validation error, so the spec's shape is a tool execution error. The spec also says clients SHOULD pass tool execution errors to the model so it can correct itself, while protocol errors are less likely to lead to recovery. A server that answers bad input with a protocol error leaves the model less to work with.
Call 5: output size
inspect --method tools/call --tool-name read_page \
--tool-args-json '{"url":"https://example.com/"}' --format json \
| jq '[.result.content[] | select(.type == "text") | .text | length] | add'
That prints the number of characters of text in the result. Repeat with a long public page you know. Then look for:
- a size parameter in the tool's input schema, and its default;
- a note in the result when the text was cut.
If neither exists, the full page goes into context, and the client's own limit decides what happens next.
Call 6: read the error text
Go back to the messages from calls 3 and 4. The spec says tool execution errors "contain actionable feedback that language models can use to self-correct". For each message, ask:
- Does it name what failed (the URL, the status, the parameter)?
- Does it say what to change, or that retrying will not help?
- Does it leak anything it should not, such as a stack trace or an internal host name?
Scorecard
| Check | Pass |
|---|---|
| Tool list | count known, descriptions specific, order stable |
| Known page | expected text, no leaked markup |
| Known 404 | exit 5, message names the status |
| Bad input | tool execution error, not a protocol error |
| Output size | a cap you can set, and a notice when it applies |
| Error text | says what failed and what to change |
The plan works for any server. To see what one page reader returns for these URLs before installing anything, the playground is one place to try.
After the six calls, the next questions are where the server runs and who operates it: see Self-hosted scraping MCP server or hosted. Whatever the server, read only public pages, and check robots.txt and the site's terms first.
Frequently asked questions
What is the quickest way to test a scraping MCP server?
Call it directly from the MCP Inspector CLI instead of through a model. List its tools, read one page whose content you know, read one URL that returns 404, send one invalid input, and measure how much text comes back. Six calls show most of what matters before an agent depends on the server.
How should a scraping MCP server report a 404?
As a tool execution error: a normal tool result with isError set to true and a text message the model can act on. The MCP specification reserves JSON-RPC protocol errors for problems such as an unknown tool, a malformed request or a server error.
How can a script tell that an MCP tool call failed?
The MCP Inspector CLI README says a tools/call that returns isError: true still prints its payload but exits with code 5 (tool_is_error). A script can check that exit code instead of parsing the text.
Can I use example.com to test a scraper?
IANA says example.com is maintained for documentation purposes, and the page itself asks not to be relied on for testing and monitoring. Keep it to a few manual calls during an evaluation; anything that runs on a schedule or in CI belongs on a page you control.
Sources
- MCP specification: Tools (2026-07-28 revision) (Documentation)
- MCP Inspector CLI README (Documentation)
- IANA: Example Domains (Documentation)
- Example Domain (Documentation)