
博查
STDIO使用Bocha API为AI代理提供网络搜索功能
使用Bocha API为AI代理提供网络搜索功能
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.
Tool Name | Description | Parameters |
---|---|---|
mcp-bocha_search | Search the web for information | query : The search query stringfreshness : Optional time filter ["oneDay", "oneWeek", "oneMonth", "oneYear", "noLimit"]summary : Optional boolean for summarized resultsinclude : Optional array of domains to includeexclude : Optional array of domains to excludecount : Optional number of results to return |
{ "mcpServers": { "mcp-bocha": { "command": "npx", "args": ["-y", "@humansean/mcp-bocha"], "env": { "BOCHA_API_KEY": "YOUR_API_KEY" } } } }
Apache-2.0 license