Bocha Search MCP Server

目前博查的搜索效果是国内最接近Bing Search API的搜索引擎,由于Bing Search API数据会出海(无国内Region)、价格昂贵(15美元/千次)且不提供文本摘要(只有50-100字的snippet),国内很多企业客户都已经从Bing切换至博查。

Local serverstdioPython

What is the Bocha Search MCP MCP server?

If you already use Bocha Search MCP, the bocha search mcp mcp server is the piece that lets your assistant work with it directly. 目前博查的搜索效果是国内最接近Bing Search API的搜索引擎,由于Bing Search API数据会出海(无国内Region)、价格昂贵(15美元/千次)且不提供文本摘要(只有50-100字的snippet),国内很多企业客户都已经从Bing切换至博查。.

Installation

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: BOCHA_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by BochaAI; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

How to install the Bocha Search MCP MCP server

{
  "mcpServers": {
    "bocha-search": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "BOCHA_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
BOCHA_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Bocha Search MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Bocha Search MCP directly.