You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/bocha_search_server.py
+16-15Lines changed: 16 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
importasyncio
2
1
importos
3
2
importsys
4
3
importjson
@@ -15,13 +14,13 @@
15
14
"bocha-search-mcp",
16
15
prompt="""
17
16
# Bocha Search MCP Server
18
-
17
+
19
18
Bocha is a Chinese search engine for AI, This server provides tools for searching the web using Bocha Search API.
20
19
It allows you to get enhanced search details from billions of web documents, including weather, news, wikis, healthcare, train tickets, images, and more.
21
20
22
21
## Available Tools
23
-
24
-
### 1. bocha_web_search
22
+
23
+
### 1. bocha_web_search
25
24
Search with Bocha Web Search and get enhanced search details from billions of web documents, including page titles, urls, summaries, site names, site icons, publication dates, image links, and more.
26
25
27
26
### 2. bocha_ai_search
@@ -36,7 +35,7 @@
36
35
- Bocha AI search: Title, URL, Description, Published date, Site name, and structured data card
37
36
38
37
If the API key is missing or invalid, appropriate error messages will be returned.
0 commit comments