Navigation
Bocha AI Web Search MCP Server: Lightning-Fast AI Insights at Enterprise Scale - MCP Implementation

Bocha AI Web Search MCP Server: Lightning-Fast AI Insights at Enterprise Scale

Bocha AI Web Search MCP Server delivers lightning-fast, AI-driven web insights with enterprise-grade scalability, empowering smarter decisions through seamless data integration.

Research And Data
4.1(103 reviews)
154 saves
72 comments

This tool saved users approximately 14074 hours last month!

About Bocha AI Web Search MCP Server

What is Bocha AI Web Search MCP Server: Lightning-Fast AI Insights at Enterprise Scale?

Bocha AI Web Search MCP Server is a specialized Model Context Protocol (MCP) server designed to deliver high-performance AI-driven search capabilities. Tailored for Chinese internet content, it enables businesses to retrieve web pages, images, and summaries while adhering to China's regulatory standards. The server acts as a bridge between developers and Bocha AI's search engine, offering scalable solutions for enterprise-grade applications.

Key Features of Bocha AI Web Search MCP Server: Lightning-Fast AI Insights at Enterprise Scale?

At its core, this server offers:

  • Comprehensive web search with smart filtering by time ranges like "OneDay" or "noLimit"
  • Flexible output formats - switch between human-readable Markdown or structured JSON for programmatic use
  • Robust error handling with clear diagnostic messages
  • Configurable result counts from 1 to 50 entries per query

Notably, the "summary" parameter allows toggling detailed text summaries, making it ideal for both quick scans and in-depth analysis.

Bocha AI Web Search MCP Server Features

How to Use Bocha AI Web Search MCP Server: Lightning-Fast AI Insights at Enterprise Scale?

Deploying the server involves three main steps:

  1. Clone the repository and configure your Bocha API key in .env
  2. Install dependencies via npm and build the project
  3. Launch the server with Node.js while specifying the absolute path to index.js

After setup, interact with the server using standard HTTP requests to execute searches and process responses.

Potential Use Cases

Enterprise scenarios include:

  • Real-time market monitoring using Chinese web content
  • Compliance-focused content aggregation for legal or regulatory reporting
  • Integrating search capabilities into internal tools for customer support teams

Bocha AI Web Search MCP Server FAQ

FAQ: Common Questions About the Server

Q: Can I use this outside China?

A: While technically possible, the server is optimized for Chinese-language content and regulatory requirements. Non-China users should verify data compliance policies.

Q: What determines query speed?

A: Performance scales with your API plan. Contact Bocha AI for enterprise-tier speed guarantees and concurrency limits.

Q: How do I handle expired API keys?

A: Regenerate keys through the Bocha AI developer portal and update the .env file immediately. Unmonitored keys may cause unexpected downtime.

Content

Bocha AI Web Search MCP Server

An MCP (Model Context Protocol) server for Bocha AI web search functionality. This server provides a powerful search tool that returns web content and related images, supporting both human-readable Markdown output and raw JSON data.

About Bocha AI

Bocha AI (博查AI) is a legal and compliant AI search service operating in the People's Republic of China(PRC), specifically designed for searching Chinese internet content. It provides comprehensive search capabilities while adhering to all relevant Chinese regulations and standards.

Features

  • Web Search: Retrieve relevant web content, summaries, and images
  • Flexible Time Range: Search from the past day to unlimited time periods
  • Smart Summaries: Optional detailed text summaries
  • Dual Output Formats:
    • Markdown: Human-readable format with links and image previews
    • JSON: Structured data for programmatic processing
  • Robust Error Handling: Comprehensive error management with clear messages

Tools

bocha_web_search

A powerful web search tool that retrieves content from Chinese internet sources.

  • query (required): Search keywords

    • Type: string
    • Description: The search terms to look up
  • freshness (optional): Time range for search results

    • Type: enum
    • Values: "OneDay", "OneWeek", "OneMonth", "OneYear", "noLimit"
    • Default: "noLimit"
    • Description: Filter results by time period
  • summary (optional): Enable detailed text summaries

    • Type: boolean
    • Default: false
    • Description: Whether to generate comprehensive summaries for search results
  • count (optional): Number of results to return

    • Type: number
    • Range: 1-50
    • Default: 10
    • Description: Control the amount of search results
  • raw_json (optional): Return format control

    • Type: boolean
    • Default: false
    • Description: When false, returns human-readable Markdown; when true, returns structured JSON data

Setup

make sure you have node.js and npm install already.

git clone [[email protected]](/cdn-cgi/l/email-protection):yoko19191/bocha-ai-mcp-server.git
cd bocha-ai-mcp
cp .env.example .env # configure your bocha api key
npm install
npm run build

Configuration

mcp.json

{
  "mcpServers": {
    "bocha-ai-search": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/bocha-ai-mcp-server/build/index.js"
      ],
      "env": {
        "BOCHA_API_KEY": "<YOUR_BOCHA_API_KEY>"
      }
    }
  }
}

cursor

env BOCHA_API_KEY=YOUR_BOCHA_API_KEY node /ABSOLUTE/PATH/bocha-ai-mcp-server/build/index.js

FURTURE_WORK

This project currently implements the Web Search API functionality of Bocha AI. Future updates will include support for:

  • AI Search: Advanced semantic search capabilities
  • Agent Search: Intelligent agent-based search features

License

MIT

Related MCP Servers & Clients