SuperAPI AI Directory

minimax-web-search

Agents & models

View repository

Updated 10-15 20:10

About this skill

MiniMax Web Search

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

  1. Install dependencies:pip install mcp
  2. Configure environment variables: copy scripts/.env.example to scripts/.env and fill in the API Key
  3. Install and ensure uvx minimax-coding-plan-mcp is 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