Integrations
Provides access to Baidu's Wenxin API for intelligent search capabilities, offering search results with reference sources, supporting multiple model options, deep search functionality, and recency filtering.
Baidu Search MCP Server
这是一个用于 Model Context Protocol (MCP) 的百度搜索服务器实现,它允许AI助手使用百度文心API进行智能搜索。
功能特性
- 支持使用百度文心API进行智能搜索
- 支持多种模型选择(ernie-3.5-8k, ernie-4.0-8k, deepseek-r1, deepseek-v3)
- 提供搜索结果和参考来源
- 支持深度搜索和时效性过滤
安装
配置
- 首先需要获取百度文心API密钥:
- 访问 百度智能云
- 创建应用并获取API密钥
- 设置环境变量:
使用方法
作为独立服务器运行
在MCP配置中使用
在你的MCP设置文件中添加以下配置:
API
baidu_search
搜索工具支持以下参数:
query
(必需): 搜索查询文本model
: 使用的模型名称- 可选值: "ernie-3.5-8k", "ernie-4.0-8k", "deepseek-r1", "deepseek-v3"
- 默认值: "ernie-3.5-8k"
search_mode
: 搜索模式- 可选值: "auto", "required", "disabled"
- 默认值: "auto"
enable_deep_search
: 是否开启深度搜索(默认:false)search_recency_filter
: 搜索结果的时效性范围- 可选值: "week", "month", "semiyear", "year"
开发
- 克隆仓库
- 安装依赖:
- 编译TypeScript:
许可证
MIT License
贡献
欢迎提交 Issues 和 Pull Requests!
免责声明
本项目不对API密钥的使用承担责任,请确保遵守百度文心API的使用条款和政策。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI assistants to perform intelligent web searches using the Baidu Wenxin API, supporting multiple models, search modes, and providing search results with reference sources.
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates integration of Brave Search functionalities with AI assistants through the Model Context Protocol, enabling web and local searches using the Brave Search API.Last updated -24PythonMIT License
- -securityAlicense-qualityEnables AI assistants to perform up-to-date web searches through the Tavily API, providing comprehensive search results with AI-generated summaries.Last updated -5JavaScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.Last updated -1448JavaScript
- -securityAlicense-qualityA Model Context Protocol server that provides real-time web search capabilities to AI assistants through pluggable search providers, currently integrated with the Brave Search API.Last updated -3TypeScriptMIT License