Baidu Search MCP Server
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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Baidu Search MCP Server
这是一个用于 Model Context Protocol (MCP) 的百度搜索服务器实现,它允许AI助手使用百度文心API进行智能搜索。
功能特性
支持使用百度文心API进行智能搜索
支持多种模型选择(ernie-3.5-8k, ernie-4.0-8k, deepseek-r1, deepseek-v3)
提供搜索结果和参考来源
支持深度搜索和时效性过滤
Related MCP server: ORZ MCP
安装
npm install @modelcontextprotocol/sdk axios配置
首先需要获取百度文心API密钥:
访问 百度智能云
创建应用并获取API密钥
设置环境变量:
export BAIDU_API_KEY=your_api_key_here使用方法
作为独立服务器运行
node build/index.js在MCP配置中使用
在你的MCP设置文件中添加以下配置:
{
"mcpServers": {
"baidu-search": {
"command": "node",
"args": ["/path/to/baidu-search-mcp/build/index.js"],
"env": {
"BAIDU_API_KEY": "your_api_key_here"
},
"disabled": false,
"autoApprove": []
}
}
}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"
开发
克隆仓库
安装依赖:
npm install编译TypeScript:
npm run build许可证
MIT License
贡献
欢迎提交 Issues 和 Pull Requests!
免责声明
本项目不对API密钥的使用承担责任,请确保遵守百度文心API的使用条款和政策。
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
The best web search for your AI Agent
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides web search capabilities through Baidu with content fetching and parsing features, allowing LLMs to search the web and extract webpage content.145 PyPI28MIT
- FlicenseAqualityBmaintenanceProvides web search capabilities across multiple engines and webpage content fetching to simplified Markdown. It enables AI assistants to access real-time internet information and extract text from specific URLs.213-
- AlicenseAqualityDmaintenanceProvides Bing Chinese search and webpage crawling tools, enabling AI assistants to fetch real-time web information without API keys.2632 npm70MIT
- AlicenseAqualityDmaintenanceProvides intelligent web search capabilities using OpenAI's reasoning models, enabling AI assistants to fetch up-to-date information with smart reasoning.1MIT