Skip to main content
The Web Reader MCP Server is a Z.AI implementation based on the Model Context Protocol (MCP). It provides Claude Code, Cline, and other MCP-compatible clients with powerful web content extraction capabilities, including full-page content retrieval and structured data extraction.

Overview

This remote MCP server with web content reading capability is available to users on GLM Coding Plan, enabling your code agent to fetch detailed page content and structured data.

Features

Web Content Reading

Fetch the complete content of any webpage, including text, and links

Structured Data

Extract structured data such as title, main body, and metadata

Remote Service

HTTP-based remote MCP service, no local installation required

Tools

This server implements the Model Context Protocol and works with any MCP-compatible client. Currently, it provides the following tool:
  • webReader β€” Fetch webpage content for a specified URL. Returns the page title, main content, metadata, list of links, and more.

Example Scenarios

API Documentation Reading and Summarization

Automatically fetch and parse titles, body content, examples, and release notes from official documentation pages, distilling key takeaways to accelerate integration and implementation.

Open Source Project Page Parsing

Parse project websites or repository pages (such as README, release notes, and usage guides) to extract core information and link lists, assisting evaluation and integration.
Extract steps, commands, and caveats from blogs, tutorials, and guide pages, organizing unstructured content into actionable developer notes and task lists.
For issue remediation, read the publicly available steps on the specified web page and use them as references to resolve the problem.
Convert content from designated web pages into structured data and leverage in-page links for incremental synchronization to build a team technical knowledge base.

Installation and Usage

Quick Start

1

Get API Key

Visit Z.AI Console to get your api key
2

Configure MCP Server

According to the client you’re using, choose the corresponding installation method from the options below.

Supported Clients

  • Claude Code
  • Cline (VS Code)
  • OpenCode
  • Crush
  • Goose
  • Roo Code, Kilo Code, Others
One-click install commandReplace your_api_key with the API key you obtained in the previous step
claude mcp add -s user -t http web-reader https://api.z.ai/api/mcp/web_reader/mcp --header "Authorization: Bearer your_api_key"
Manual configurationEdit the Claude Code configuration file under your home directory, the MCP section of .claude.json:
{
  "mcpServers": {
    "web-reader": {
      "type": "http",
      "url": "https://api.z.ai/api/mcp/web_reader/mcp",
      "headers": {
        "Authorization": "Bearer your_api_key"
      }
    }
  }
}

Troubleshooting

Issue: Received an invalid access token errorSolutions:
  1. Verify the token was copied correctly
  2. Check that the token is activated
  3. Ensure the token has sufficient balance
  4. Confirm the Authorization header format is correct
Issue: Connection to the MCP server timed outSolutions:
  1. Check your network connection
  2. Verify firewall settings
  3. Ensure the server URL is correct
  4. Increase client timeout settings
Issue: Web content reading returned empty result or errorSolutions:
  1. Confirm the target URL is accessible
  2. Check if the page has anti-scraping mechanisms
  3. Try different URLs
  4. Ensure network connectivity is normal
  5. Contact technical support for assistance

Quota

The MCP quotas for the Lite, Pro and Max plans are as follows:
  • Lite: Include a total of 100 web searches and web readers, along with the 5-hour maximum prompt resource pool of the package for vision understanding.
  • Pro: Include a total of 1,000 web searches and web readers, along with the 5-hour maximum prompt resource pool of the package for vision understanding.
  • Max: Include a total of 4,000 web searches and web readers, along with the 5-hour maximum prompt resource pool of the package for vision understanding.

Resources