mcpField
M
minimax-web-search

minimax-web-search

github.com/cat-xierluoProductivity76765 installsUpdated today
Repository

About minimax-web-search

minimax-web-search is an OpenClaw skill for web searches through MiniMax MCP. It is intended for users seeking current information and offers both a command-line script and a Python calling interface.

Key features

  1. 01Search the web through MiniMax MCP
  2. 02Query current information with keywords
  3. 03Provide a command-line script
  4. 04Offer a Python calling interface

Use cases

  1. 01Check recent developments online
  2. 02Search for updates in legal AI

MCP support

The skill uses MiniMax MCP for web searches and is called through OpenClaw.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cat-xierluo/legal-skills --skill minimax-web-search

After installing, type/minimax-web-searchin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

CHANGELOG.md
scripts/
.env.example
web_search.py

Details

From the project README

MiniMax 网络搜索

重要提示:本技能适用于 OpenClaw 平台。如果你使用的是 Claude Code,请忽略此技能。

通过 MiniMax MCP 进行网络搜索。

触发条件

需要搜索实时信息、网络最新动态时使用。

依赖

系统依赖
依赖安装方式
Python 3.10+macOS: brew install python3
Linux: sudo apt-get install python3
Python 包
包名用途安装命令
mcpMCP 客户端库pip install mcp

前置要求

  1. 安装依赖:pip install mcp
  2. 配置环境变量:复制 scripts/.env.example 为 scripts/.env 并填入 API Key
  3. 安装并确保 uvx minimax-coding-plan-mcp 可用

使用方法

cd ~/.openclaw/skills/minimax-web-search/scripts
source .env
python3 web_search.py "搜索关键词"

代码中调用

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最新动态")

配置文件

.env 文件建议放在 scripts/ 目录下,格式:

MINIMAX_API_KEY=your-api-key

Comments

Markdown supported