Web Search MCP Server is a Z.AI search capability implementation based on the Model Context Protocol (MCP), providing powerful Z.AI search capabilities for MCP-compatible clients such as Claude Code and Cline, including web search, real-time information retrieval, and other features.

Product Overview

This Remote MCP Server with search capabilities is an exclusive server developed by Z.AI for GLM Coding Plan Pro or higher tiers users, empowering your Code Agent with search capabilities and unlimited access to real-time information and web resources.

Features

Web Search

Supports comprehensive web search to retrieve the latest web information and resources

Real-time Information

Retrieves real-time updated information including news, stock prices, weather, and more

Remote Service

HTTP protocol-based remote MCP service, no local installation required

Supported Tools

This server implements the Model Context Protocol and can be used with any MCP-compatible client. Currently provides the following tools:
  • webSearchPrime - Search web information, returning results including page titles, URLs, summaries, site names, site icons, and more.

Authentication Configuration

Getting Access Token

Using Search MCP Server requires a valid access token. Please visit the corresponding platform to obtain:
Platform URL: https://z.ai/model-api
Get Token: Z.AI Console

Installation and Usage

Quick Start

1

Get Access Token

Visit Z.AI Console to get your access token
2

Configure MCP Client

Choose the appropriate configuration method based on your client
3

Start Using

After configuration is complete, you can use search functionality in the client

Supported Clients

One-click Installation Command
claude mcp add -s user -t http web-search-prime https://api.z.ai/api/mcp/web_search_prime/mcp --header "Authorization: Bearer your-token"
Manual ConfigurationEdit Claude Code’s configuration file .claude.json in the user directory, MCP section:
{
  "mcpServers": {
    "web-search-prime": {
      "type": "http",
      "url": "https://api.z.ai/api/mcp/web_search_prime/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key"
      }
    }
  }
}

Usage Example

Using Z.AI Search MCP Server in Claude Code:
claude mcp add -s user -t http web-search-prime https://api.z.ai/api/mcp/web_search_prime/mcp --header "Authorization: Bearer your-token"
After configuration is complete, you can directly use search functionality in conversations:
  • “Help me search for the latest AI technology developments”
  • “Find best practices for Python asynchronous programming”

Troubleshooting