mcp-bing-search
Provides web search through Sogou, used as a fallback engine for Bing and as a direct search engine for Chinese-language queries, returning titles, URLs, and snippets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-bing-searchsearch the web for 李子柒 最新动态"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-bing-search
A local MCP server for web search that works from mainland China without any API key.
Primary engine: Bing (
cn.bing.com)Automatic fallback for fresh Chinese trending topics: Qihoo 360 → Sogou
Resolves search-engine redirect links to real URLs
It was built to replace public searxng instances (e.g. baresearch.org), which are
unreachable from mainland China and return nothing for Chinese long-tail queries.
Not affiliated with Microsoft's official
mcp-server-bing-search(which requires an API key) — this is a no-key, China-friendly alternative.
Why this exists
Problem | This project's answer |
Public searxng instances unreachable from mainland China | Direct request to |
No API key / no billing | Scrapes the search result page (HTML parsing), no key needed |
Bing indexes Chinese campus/trending topics poorly |
|
Baidu blocks automated requests with captchas | Baidu is intentionally not used |
Related MCP server: Heventure Search MCP
Features
web_search(query, max_results, fallback)— Bing first; when results are irrelevant (common for very fresh Chinese topics), automatically retries 360 → Sogou.cn_search(query, max_results)— search Chinese engines directly (360 → Sogou).Redirect-link resolution — 360/Sogou's encrypted jump links (
so.com/link?m=...) are resolved to the final real URL (HTTP redirects and JS redirects supported).Self-contained single file; only depends on
mcp,httpx,lxml.
Install
Option A: pip (recommended)
pip install mcp-bing-searchOption B: from source
git clone https://github.com/Quqing-future/mcp-bing-search.git
cd mcp-bing-search
pip install .
# or run directly without installing:
python mcp_bing_search.pyConfigure with Reasonix
Add to your global config.toml (all projects) or project reasonix.toml:
[[plugins]]
name = "bing-search"
command = "python" # or the absolute path to python.exe
args = ["-m", "mcp_bing_search"] # if installed via pip
# args = ["/path/to/mcp_bing_search.py"] # if running from sourceOr use the standard .mcp.json:
{
"mcpServers": {
"bing-search": {
"command": "python",
"args": ["-m", "mcp_bing_search"]
}
}
}Changes take effect on the next session. Tools appear as
mcp__bing-search__web_search and mcp__bing-search__cn_search.
Configure with other MCP clients
Any MCP client works — Claude Desktop, Cursor, VS Code, etc. Point it at:
python -m mcp_bing_search
# or
python /path/to/mcp_bing_search.pyTools
web_search(query: str, max_results: int = 8, fallback: bool = True) -> str
Search the web. Bing first; if fallback is enabled and Bing returns no relevant
results (no title/url contains a query token), retries with Qihoo 360, then Sogou.
cn_search(query: str, max_results: int = 8) -> str
Search Chinese engines directly (360 → Sogou). Use for fresh Chinese trending topics, campus/weibo news, or anything Bing indexes poorly.
How it works
MCP client (Reasonix / Claude Desktop / ...)
↕ stdio + JSON-RPC
mcp_bing_search.py (MCP server)
↕ HTTPS (plain HTTP GET, browser User-Agent)
cn.bing.com → www.so.com → www.sogou.comRequest —
httpxGETshttps://cn.bing.com/search?q=...with a desktop browser User-Agent.Parse —
lxmlXPath extractstitle / url / snippetfromli.b_algonodes.Relevance check — if no result title/url contains any query token (e.g. "本地大模型", "部署教程"), the result set is considered irrelevant.
Fallback — on empty/irrelevant Bing results, tries 360 → Sogou and uses the first engine with relevant results.
Link cleanup — redirect links (
so.com/link?m=...,/link?url=...) are resolved once more to their real destination (Location header orwindow.location.replace(...)).
Known limitations
Scraping depends on the engines' HTML structure; a redesign may break parsing.
No key = no SLA; very frequent calls may be rate-limited.
Bing's coverage of fresh Chinese social-media topics is weak — use
fallbackorcn_searchfor those.Baidu is excluded on purpose: it aggressively captchas automated requests.
ToS disclaimer: this project works by parsing public search-result pages. It is provided for personal / educational use and does not claim to comply with the terms of service of Bing, Qihoo 360, or Sogou. Scraping may violate those terms; automated access may be throttled or blocked. Use at your own risk, and consider the official Search APIs for production use.
License
MIT © Quqing-future
This server cannot be deployed
Maintenance
Related MCP Connectors
Search the agentic web. 4,100+ sites, 11 tools incl. check_url + verify_mcp for probe-before-use.
Google, Bing, DuckDuckGo and Google Maps search results, free without an API key.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
The best web search for your AI Agent
Related MCP Servers
- AlicenseAqualityBmaintenanceWeb search using free multi-engine search (NO API KEYS REQUIRED) — Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.55,716 npm1,812Apache 2.0
- AlicenseAqualityBmaintenanceEnables web search without API keys using DuckDuckGo and Bing search engines, and retrieves webpage content. Supports multiple search engines simultaneously with privacy protection and asynchronous processing.2121 PyPI9MIT
- AlicenseAqualityCmaintenanceProvides Bing Chinese search and webpage crawling tools, enabling AI assistants to fetch real-time web information without API keys.2318 npm70MIT
- AlicenseNot gradedqualityDmaintenanceEnables web search using Bing and DuckDuckGo combined, and fetching readable content from web pages, with no API key required.9 npm2MIT