Skip to main content
Glama
Johnhong9527

bocha-mcp

by Johnhong9527

Bocha Search MCP Server

MCP server for Bocha Search API, providing web search and AI search capabilities.

Features

  • Web Search: Search the web using Bocha Web Search API (default)

  • AI Search: Search using Bocha AI Search API with multimodal cards and AI-generated answers (only when specifically requested)

Related MCP server: MCP-Bocha

Installation

  1. Clone this repository

  2. Install dependencies:

    npm install
  3. Copy .mcp.example.json to .mcp.json and add your Bocha API key:

    cp .mcp.example.json .mcp.json
  4. Edit .mcp.json and replace YOUR_BOCHA_API_KEY_HERE with your actual API key

Usage

As MCP Server

Add the following to your Claude configuration:

{
  "mcpServers": {
    "bocha-search": {
      "command": "node",
      "args": ["/path/to/bocha-mcp/index.js"],
      "env": {
        "BOCHA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Tools

  1. web-search: Search the web using Bocha Web Search API

    • query: Search query (supports natural language)

    • count: Number of results (1-50, default 10)

    • freshness: Time range filter (noLimit, day, week, month, year)

    • summary: Whether to include text summary (default true)

  2. ai-search: Search using Bocha AI Search API

    • query: Search query

    • count: Number of results (1-50, default 10)

    • freshness: Time range filter (noLimit, day, week, month, year)

    • answer: Whether to generate AI answer (default false)

    • stream: Whether to use streaming response (default false)

Environment Variables

  • BOCHA_API_KEY: Your Bocha API key (required)

License

ISC

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to search the web using Bocha AI's search API, supporting features like time filtering, domain inclusion/exclusion, and summarized results.
    Last updated
    1
    112
    3
    Apache 2.0
  • F
    license
    -
    quality
    -
    maintenance
    An MCP server that provides web search and semantic reranking capabilities using the LangSearch API. It enables searching billions of web documents with AI-optimized results and reordering them based on semantic relevance scores.
    Last updated
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that provides web search and URL fetching capabilities by delegating execution to an EnriProxy server. It enables AI agents to perform structured web searches and retrieve content with support for filtering, recency limits, and pagination.
    Last updated
    2
    5
    2
    AGPL 3.0

View all related MCP servers

Related MCP Connectors

  • MCP server for Google search results via SERP API

  • Serper MCP — wraps the Serper Google Search API (serper.dev)

  • Fast, intelligent web search and web crawling. New mcp tool: Exa-code is a context tool for coding

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Johnhong9527/bocha-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server