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 API Key
Using Search MCP Server requires a valid api key. Please visit the corresponding platform to obtain:- Z.AI Platform (Z.AI)
Platform URL: https://z.ai/model-api
Get Token: Z.AI Console
Get Token: Z.AI Console
Installation and Usage
Quick Start
1
Get API Key
Visit Z.AI Console to get your api key
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
- Claude Code
- Cline (VS Code)
- OpenCode
- Crush
- Goose
- Roo Code, Kilo Code and Other MCP Clients
One-click Installation CommandBe sure to replace Manual ConfigurationEdit Claude Code’s configuration file
your_api_key with the API Key you obtained..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
Invalid API Key
Invalid API Key
Issue: Receiving invalid api key errorSolutions:
- Confirm the api key is correctly copied
- Check if the api key is activated
- Confirm the api key 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