Integrate Baidu AI Search for Smarter Answers
An MCP server exposing Baidu AI Search, combining Baidu's search index with an LLM for answers backed by real-time web references.
1.1.1Add to Favorites
Why it matters
Leverage Baidu's AI Search capabilities combined with LLMs to provide intelligent, real-time answers sourced directly from the web. Enhance search results through advanced query rewriting and customizable search parameters.
Outcomes
What it gets done
Connect to Baidu's AI Search API using provided credentials.
Rewrite user queries for improved search accuracy and relevance.
Configure search scope including date ranges and website limitations.
Retrieve and present real-time web information with source links.
Source
Get it from source
Spark does not host a copy of it.
Open sourceReports
Agent outcome reports
No reports yet
Overview
Baidu AI Search MCP Server
An MCP server for Baidu's AI Search component, which pairs Baidu's search index with an LLM to produce answers grounded in real-time web references, with configurable persona, model, query rewriting, and search scope. Use it for Baidu-ecosystem applications needing search-grounded LLM answers with control over scope, site range, and reference count.
What it does
This MCP server exposes Baidu's AI Search component, which combines Baidu's search capabilities with large language model technology to produce intelligent responses backed by real-time web information references. It is built for a range of industry application scenarios and offers several standardized, configurable capabilities: custom persona settings, model selection, query rewriting (including time-sensitive and multi-turn rewriting to improve search results), search scope configuration (choice of modalities, site ranges, and publication dates), and a customizable number of reference links returned with each response.
When to use - and when NOT to
Use it when an application needs LLM-generated answers grounded in current web search results, with control over which sites, time windows, or content modalities the search draws from, and how many reference links come back with each answer. It is not a general-purpose Baidu Cloud connector - it is scoped to the AI Search capability specifically, configured through Baidu's AppBuilder console.
Capabilities
Configurable options include a custom assistant persona, choice of underlying model, query rewriting tuned for time-sensitive or multi-turn conversations, restricting search scope by modality, site range, or publication date, and setting how many reference links are surfaced per response.
How to install
Get an AppBuilder API Key from the Baidu AppBuilder console, then format the authorization token as Bearer+<AppBuilder API Key> (keeping the "+" between the two parts). Configure the MCP client with:
{
"mcpServers": {
"baidu_ai_search": {
"url": "http://appbuilder.baidu.com/v2/ai_search/mcp/sse?api_key=Bearer+bce-v3/ALTAK..."
}
}
}
Further documentation is available in Baidu's official AI Search docs (cloud.baidu.com).
Who it's for
Developers building on Baidu's AppBuilder platform who want search-grounded LLM answers with fine-grained control over search scope, persona, and reference count, for Chinese-market or Baidu-ecosystem applications.
Source README
Baidu AI Search
Baidu AI Search component combines Baidu's search capabilities with large language model technology to provide intelligent responses with real-time web information references, supporting various industry application scenarios. It offers rich standardized capabilities such as:
- Custom persona settings
- Model selection
- Query rewriting (including time-sensitive and multi-turn approaches to enhance search results)
- Search scope configuration (choice of modalities, site ranges and publication dates)
- Customizable number of reference links
Quick Start
- Get your AppBuilder API Key from the console
- Format your authorization token as:
Bearer+<AppBuilder API Key>(keep the "+" in between) - Config with
{
"mcpServers": {
"baidu_ai_search": {
"url": "http://appbuilder.baidu.com/v2/ai_search/mcp/sse?api_key=Bearer+bce-v3/ALTAK..."
}
}
}
For more details, please refer to 百度AI搜索
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.