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.
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.
bocha_web_search
A powerful web search tool that retrieves content from Chinese internet sources.
query
(required): Search keywords
freshness
(optional): Time range for search results
summary
(optional): Enable detailed text summaries
count
(optional): Number of results to return
raw_json
(optional): Return format control
make sure you have node.js and npm install already.
git clone git@github.com:yoko19191/bocha-ai-mcp-server.git
cd bocha-ai-mcp
cp .env.example .env # configure your bocha api key
npm install
npm run build
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
This project currently implements the Web Search API functionality of Bocha AI. Future updates will include support for:
MIT
Seamless access to top MCP servers powering the future of AI integration.