Skip to main content
The Web Search MCP Server is an exclusive Remote MCP Server developed by Z.AI for GLM Coding Plan users. Built on the Model Context Protocol (MCP), it connects to search capabilities to provide web search and real-time information retrieval for MCP-compatible clients, including Claude Code and Cline.

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.

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

One-click Installation CommandBe sure to replace your_api_key with the API Key you obtained.
Manual ConfigurationEdit Claude Code’s configuration file .claude.json in the user directory, MCP section:

Usage Example

Through the previous step of installing the Search MCP server to the client, you can directly use MCP in your Coding client.
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

Issue: Receiving invalid api key errorSolutions:
  1. Confirm the api key is correctly copied
  2. Check if the api key is activated
  3. Confirm the api key has sufficient balance
  4. Check if the Authorization header format is correct
Issue: MCP server connection timeoutSolutions:
  1. Check network connection
  2. Confirm firewall settings
  3. Verify the server URL is correct
  4. Increase timeout settings
Issue: Search returns empty resultsSolutions:
  1. Try using different search keywords
  2. Check if the search query is too specific
  3. Confirm network connection is normal
  4. Contact technical support for assistance