MCP MCP Server

A simple but helpful MCP server using bocha api service

Local serverstdio

What is the MCP MCP server?

MCP MCP server exists for a simple reason — assistants are far more useful when they can act on MCP directly instead of describing what you should do. A simple but helpful MCP server using bocha api service.

What you get

A Model Context Protocol (MCP) server that provides web search capabilities to AI agents using the Bocha API.

MCP-Bocha is a tool that exposes Bocha AI's web search API capabilities through the Model Context Protocol. It allows AI assistants to search the web programmatically, enabling tasks such as information retrieval, research, and up-to-date data collection.

What the assistant can call

Once MCP is connected, these are the calls the assistant has available:

  • mcp-bocha_search — Search the web for information

Configuration and credentials

You will need 2 environment variables: BOCHA_API_KEY, YOUR_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP's toolset — mcp-bocha_search — is a fair guide to whether it matches your workflow. It is maintained by humansean; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • 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.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
mcp-bocha_searchSearch the web for information

How to install the MCP MCP server

{
  "mcpServers": {
    "mcp-bocha": {
      "command": "npx",
      "args": ["-y", "@humansean/mcp-bocha"],
      "env": {
        "BOCHA_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
BOCHA_API_KEYCredential the server authenticates with.Yes
YOUR_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP to mcp-bocha search.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (mcp-bocha_search) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.