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
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 CommandManual ConfigurationEdit Claude Code’s configuration file
.claude.json
in the user directory, MCP section:Usage Example
Using Z.AI Search MCP Server in Claude Code:- “Help me search for the latest AI technology developments”
- “Find best practices for Python asynchronous programming”
Troubleshooting
Invalid Access Token
Invalid Access Token
Issue: Receiving invalid access token errorSolutions:
- Confirm the access token is correctly copied
- Check if the access token is activated
- Confirm the access token has sufficient balance
- Check if the Authorization header format is correct
Connection Timeout
Connection Timeout
Issue: MCP server connection timeoutSolutions:
- Check network connection
- Confirm firewall settings
- Verify the server URL is correct
- Increase timeout settings
Empty Search Results
Empty Search Results
Issue: Search returns empty resultsSolutions:
- Try using different search keywords
- Check if the search query is too specific
- Confirm network connection is normal
- Contact technical support for assistance