| name | websearch |
| description | Use when the user needs current web results, recent information, source discovery, live Bing search, or GUILessBingSearch MCP search_bing support before ScholarAIO ingestion. |
websearch — 实时网页搜索
通过本地或远端 GUILessBingSearch 服务执行实时 Bing 搜索,获取互联网最新信息。
优先使用 MCP search_bing tool;HTTP /search 保留为兼容 fallback。
前置要求
-
安装并启动 GUILessBingSearch 服务:
git clone https://github.com/wszqkzqk/GUILessBingSearch
cd GUILessBingSearch
pip install -r requirements.txt
python guiless_bing_search.py
-
服务默认运行在 http://127.0.0.1:8765
-
推荐 MCP endpoint 为 http://127.0.0.1:8765/mcp
用法
scholaraio websearch "深度学习 congestion control"
scholaraio websearch "transformer architecture" --count 20
配置
推荐在 config.yaml 中配置 MCP:
websearch:
transport: mcp
mcp_url: http://127.0.0.1:8765/mcp
api_key: null
mcp_tool: search_bing
HTTP 兼容配置:
websearch:
transport: http
base_url: http://127.0.0.1:8765
api_key: null
或通过环境变量:
export WEBSEARCH_TRANSPORT=mcp
export WEBSEARCH_MCP_URL=http://127.0.0.1:8765/mcp
export WEBSEARCH_URL=http://127.0.0.1:8765
export WEBSEARCH_API_KEY=your_key
输出示例
找到 10 条结果('深度学习 congestion control'):
[1] On the Design of High-throughput Congestion Control
https://example.com/paper1
深度学习方法在拥塞控制中的应用...
[2] Learning-based Congestion Control Survey
https://example.com/paper2
本文综述了基于学习的拥塞控制算法...
与其他功能配合
搜索结果可用于:
- 发现新的研究论文和 arXiv 链接
- 获取最新技术动态
- 验证本地知识库的信息完整性
- 为文献综述补充最新资料
故障排除
服务不可用
搜索服务未启动或不可达: http://127.0.0.1:8765
解决方案:
- 确认 GUILessBingSearch 服务已启动
- 检查端口是否被占用
- MCP 模式下确认
/mcp endpoint 可访问,tool 名为 search_bing
- HTTP fallback 下验证
config.yaml 中的 websearch.base_url 配置