Basic information
About Baidu Search MCP Server
Baidu Search provides fast web search using baidu.com. Retrieve results and webpage content with robust error handling and parsing from www.baidu.com.
Baidu Search is a MCP server in the Search Web category listed in the AddMCP.net directory, published by evilran. It exposes 1 tool, including search. Supported transport: stdio, streamable-http. Runtime: Python. License: MIT. The repository has 27 GitHub stars. Source code is hosted on github.com. Related topics: baidu, community, content-fetching, mcp, search.
Setup
{
"mcpServers": {
"baidu-search": {
"command": "uvx",
"args": [
"baidu-mcp-server"
]
}
}
}
{
"mcpServers": {
"baidu-search": {
"command": "uvx",
"args": [
"baidu-mcp-server"
]
}
}
}
{
"servers": {
"baidu-search": {
"command": "uvx",
"args": [
"baidu-mcp-server"
]
}
}
}
Baidu Search MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"baidu-search": {
"command": "uvx",
"args": [
"baidu-mcp-server"
]
}
}
}
Baidu Search MCP Server tools
- search — Search Baidu and return formatted results. Args: query: The search query string max_results: Maximum number of results to return (default: 6) deep_mode: Deep search the web content (default: False) ctx: MCP context for logging
Overview
What is Baidu Search?
A Model Context Protocol (MCP) server that provides web search capabilities through Baidu, with additional features for content fetching and parsing. It is designed for developers and AI applications that need LLM-friendly search results from Baidu.
How to use Baidu Search?
Install via pip (uv pip install baidu-mcp-server) or Smithery, then configure it as an MCP server in Claude Desktop by adding a baidu-search entry with the command uvx baidu-mcp-server in the MCP configuration file. The server exposes two tools: search (for web searches) and fetch_content (for webpage content extraction).
Key features of Baidu Search
- Web search on Baidu with configurable result count (up to 10)
- Intelligent content fetching and text extraction from webpages
- Built-in rate limiting: 30 requests/min for search, 20 for fetching
- Ad removal, redirect URL cleaning, and LLM-friendly output formatting
- Comprehensive error handling and logging via MCP context
- Easy installation via PyPI, uv, or Smithery
Use cases of Baidu Search
- Enabling LLMs like Claude to search Baidu for real-time information
- Retrieving and processing webpage content for AI-assisted research
- Building AI agents that need access to Baidu search results without ads or redirects
- Automating content extraction for data analysis or summarization tasks
Frequently asked questions
1 What dependencies or runtime are required?
The server is a Python package that requires Python and the uv package manager (or pip). It runs as a command-line MCP server, typically launched by a client like Claude Desktop.
2 Where does search data come from and where is it stored?
All search results and fetched content are retrieved live from Baidu. The server does not cache or store any data persistently.
3 What are the known limits?
Search requests are limited to 30 per minute, and content fetching to 20 per minute. The server automatically queues requests and applies wait times to respect rate limits.
4 How is the server accessed and what transport does it use?
The server is accessed via the MCP protocol using stdio transport (command-line invocation). No authentication is required to run the server; it connects directly to Baidu’s public web search.
5 How does this server differ from alternatives?
While many MCP servers use DuckDuckGo or other search engines, this server is specifically built for Baidu, making it ideal for users in China or those needing Baidu-specific results and redirect cleaning.
Videos
Tutorials, guides, and showcases related to Baidu Search MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In