Baidu Search MCP Server I A Model Context Protocol (MCP) server that provides web search capabilities through Baidu, with additional features for content fetching and parsing.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"baidu-search": {
"args": [
"baidu-mcp-server"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that provides web search capabilities through Baidu, with additional features for content fetching and parsing.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@Evilran/baidu-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @Evilran/baidu-mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in search
Web and local search using Brave Search API
Production ready MCP server with real-time search, extract, map & crawl.
mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
MCP server for Firecrawl — search, scrape, and interact with the web. Supports both cloud and self-hosted instances. Features include web search, scraping, page interaction, batch processing, and LLM-powered content analysis.
MCP Security Weekly
Get CVE alerts and security updates for Baidu Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that provides web search capabilities through Baidu, with additional features for content fetching and parsing.
To install Baidu Search Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Evilran/baidu-mcp-server --client claude
uvInstall directly from PyPI using uv:
uv pip install baidu-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the following configuration:
{
"mcpServers": {
"baidu-search": {
"command": "uvx",
"args": ["baidu-mcp-server"]
}
}
}
For local development, you can use the MCP CLI:
# Run with the MCP Inspector
mcp dev server.py
# Install locally for testing with Claude Desktop
mcp install server.py
async def search(query: str, max_results: int = 10) -> str
Performs a web search on Baidu and returns formatted results.
Parameters:
query: Search query stringmax_results: Maximum number of results to return (default: 10)Returns: Formatted string containing search results with titles, URLs, and snippets.
async def fetch_content(url: str) -> str
Fetches and parses content from a webpage.
Parameters:
url: The webpage URL to fetch content fromReturns: Cleaned and formatted text content from the webpage.
Issues and pull requests are welcome! Some areas for potential improvement:
This project is licensed under the MIT License.
The code in this project references the following repositories:
Thanks to the authors and contributors of these repositories for their efforts a