Important: This skill is for the OpenClaw platform. If you are using Claude Code, please ignore this skill.
Web search via MiniMax MCP.
Trigger Conditions
Use when you need to search for real-time information or the latest web updates.
Dependencies
System Dependencies
| Dependency | Installation Method |
|---|---|
| Python 3.10+ | macOS: brew install python3Linux: sudo apt-get install python3 |
Python Package
| Package Name | Purpose | Installation Command |
|---|---|---|
mcp |
MCP client library | pip install mcp |
Prerequisites
- Install dependencies:
pip install mcp - Configure environment variables: copy
scripts/.env.exampletoscripts/.envand fill in the API Key - Install and ensure
uvx minimax-coding-plan-mcpis available
Usage
cd ~/.openclaw/skills/minimax-web-search/scripts
source .env
python3 web_search.py "搜索关键词"
Calling in Code
import sys
import os
sys.path.insert(0, "~/.openclaw/skills/minimax-web-search/scripts")
os.environ["MINIMAX_API_KEY"] = "your-key" # 或从 .env 加载
from web_search import web_search
result = await web_search("法律AI最新动态")
Configuration File
.env It is recommended to place the file in the scripts/ directory, in the format:
MINIMAX_API_KEY=your-api-key