Skip to main content

MiniMax Search MCP Server - 强大的网页搜索和浏览工具(标准 MCP 实现)

Project description

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

Web Browsing Functionality:

  • JINA_API_KEY: Web content reading

Browse Functionality (LLM Understanding):

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_minimax_ai_minimax_search-1.0.0.tar.gz (98.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_minimax_ai_minimax_search-1.0.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_minimax_ai_minimax_search-1.0.0.tar.gz
  • Upload date:
  • Size: 98.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_minimax_ai_minimax_search-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0f1694942009473cd2fe49aebb894b3195957beb12731ed43e7fe6230f90fbd3
MD5 7f86b8e134c252f47f4faf13c04b17fc
BLAKE2b-256 2f3ad9224cc0a0c2ef3f0806b30b2b25bab6b8962a886018046a776c124c5c2c

See more details on using hashes here.

File details

Details for the file iflow_mcp_minimax_ai_minimax_search-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_minimax_ai_minimax_search-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 105.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_minimax_ai_minimax_search-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0db2c1f8fc2329079cc5ed1aa0aeeac7c6af036d0f3f97aed09fbbecc42719d6
MD5 f6da9db20cfcca14e9a5420288993e1b
BLAKE2b-256 d4b9ab07aa63d82de4b42ad039d48d9759e6d706e3d3484fc93c6f17b0968efc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page