MiniMax Search MCP Server

MiniMax Search MCP Server

MCP server enabling parallel web search and batch browsing with intelligent content understanding via MiniMax LLM.

Category
访问服务器

README

MiniMax Search MCP Server

English Doc | Chinese Doc

MiniMax Search is an MCP (Model Context Protocol) server that provides web search and browsing capabilities.

🔧 Version Notes

This project uses the standard MCP Server protocol, compliant with MCP specifications:

  • ✅ Complete list_tools() implementation
  • ✅ Complete call_tool() implementation
  • ✅ Standard stdio_server() communication

Features

  • 🔍 Multi-Engine Search: Supports Google search engine
  • 🚀 Parallel Search: Native support for parallel multi-query search
  • 🌐 Batch Browsing: Support for batch browsing of multiple URLs
  • 🤖 Intelligent Understanding: Uses MiniMax LLM to understand web content and answer questions
  • 🎯 Advanced Search: Supports Google advanced search syntax
  • 🔄 Auto Fallback: Automatically switches to other engines when search fails

Quick Start

Install via Git (Recommended)

# Run directly from Git repository
uvx --from git+ssh://git@github.com:MiniMax-AI/minimax_search.git minimax-search 

Install via Local Path (Development)

# Run from local directory
uvx --from /xxx/minimax_search minimax-search

MCP Client Configuration

Add to your MCP client configuration file (e.g., mcp.json):

{
  "mcpServers": {
    "minimax_search": {
      "command": "uvx",
      "args": [
        "--from",
        "git+ssh://git@github.com:MiniMax-AI/minimax_search.git",
        "minimax-search"
      ],
      "env": {
        "MINIMAX_API_KEY": "your_minimax_api_key",
        "SERPER_API_KEY": "your_serper_api_key",
        "JINA_API_KEY": "your_jina_api_key"
      }
    }
  }
}

Available Tools

1. search - Parallel Web Search

Search multiple queries simultaneously, returning brief results (title, URL, snippet).

Parameters:

  • queries (array of strings, required): List of queries, supports Google advanced search syntax

Supported Search Engines:

  • Google Search (via Serper API)

Advanced Search Syntax:

  • site:example.com - Limit to specific site
  • intitle:keyword - Title contains keyword
  • inurl:keyword - URL contains keyword
  • "exact match" - Exact phrase match

Example:

{
  "queries": ["Python asyncio tutorial", "Python threading vs asyncio"]
}

2. browse - Batch Intelligent Browsing

Visit multiple web pages, use MiniMax LLM to understand content and answer questions.

Parameters:

  • urls (array of strings, required): List of target web page URLs
  • query (string, required): Question to be answered

Example:

{
  "urls": [
    "https://docs.python.org/3/library/asyncio.html",
    "https://realpython.com/async-io-python/"
  ],
  "query": "Summarize the main features and use cases of asyncio"
}

Environment Variables Configuration

Required Environment Variables

Basic Search Functionality:

  • SERPER_API_KEY: Google Search
    • Get it from: https://serper.dev/
    • Free tier: 2,500 requests/month

Web Browsing Functionality:

  • JINA_API_KEY: Web content reading
    • Get it from: https://jina.ai/
    • Free tier available

Browse Functionality (LLM Understanding):

  • MINIMAX_API_KEY: MiniMax API Key
    • Get it from: https://platform.minimax.io/

Usage Examples

Using in an Agent

Once the MCP server is started, the Agent can use the following tools:

Parallel search for multiple queries:

User: Search for "Python asyncio" and "Python threading" differences simultaneously

Agent: [Calls search tool]
→ search(queries=["Python asyncio", "Python threading"])
→ Returns search results for both queries (executed in parallel)

Batch browse multiple web pages:

User: Visit these links and summarize the main features of asyncio
     - https://docs.python.org/3/library/asyncio.html
     - https://realpython.com/async-io-python/

Agent: [Calls browse tool]
→ browse(
    urls=["https://docs.python.org/...", "https://realpython.com/..."],
    query="Summarize the main features of asyncio"
  )
→ Returns comprehensive summary and answer

Technical Implementation

Project Structure

minimax_search/
├── server.py                    # MCP Server entry point (2 tools)
├── minimax_search_browse.py     # Core search and browse implementation
├── pyproject.toml              # Project configuration
└── README.md

Core Features

Parallel Search:

  • Native support for queries array
  • Concurrent execution using thread pool
  • Automatic formatting and grouping of results

Batch Browsing:

  • Native support for urls array
  • Jina Reader extracts web content (converts to Markdown)
  • MiniMax LLM understands content and generates comprehensive answers

License

MIT

This project is based on the MiniMax-M2 Model project

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选