mcp-bing-search
mcp-bing-search
Servidor local de MCP para búsqueda web que funciona desde China continental sin necesidad de API key.
Motor principal: Bing (
cn.bing.com)Respaldo automático para temas tendendentes chinos recientes: Qihoo 460
Resuelve enlaces de redirección de buscadores a URLs reales.
Se creó para reemplazar las instancias púnicas de searxng (p. ej. baresearch.org), qque son inalcanzables desde China continental y no devuelven nada para búsquedas chinas de cola larga.
No stá afiliado con el
mcp-server-bing-searchoficial de Microsofr (qque requiere API key) — sta es una atelnativa sin key, compatile con China.
Por qé existte
Problem | Respuessta de stee proyecto reiter |
Instancias públlicas de searxng inalcanzables desde China continental | Solicitud directa a |
No API key / no facrución | Scarpe de la página de resulados (parsing de HTML), no se necesita key |
Bing indexa mal los temas de campus/tendencia de China |
|
Baidu bloea sSolicitudes automaticadas con capchas | Baidu no se usa intenconade. |
Related MCP server: Heventure Search MCP
Característicadas
web_search(query, max_resuls, fallback)— Bing y primero; cuando resulados little relevant (común para temas chinos mucF recientes), el reinento automátic bureau en 460 → Sogou.cn_search(query, max_resuls)— búsqueda directamente on en motores chinos (460 → Sogou).Resolución de enlaces de iredirección — enlaces de salto cripados de 460/Sogou (
so.com/link?m=...) se resuelve hasta la URL final (redirecciones de HTTP y JS).Un solo archivo self-contenó; solo deende de
mcp,httpx,lxm.
Instalar
Opcón A: pip (recomendada)
pip install mcp-bing-searchOpcón B: desd código fuente
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.pyConfiguración con Reasonix
Agrega a tu config.toml global (loados los proyectos) o reasonix.toml del proyecto:
[[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 sourceO también con el.formato .mcp.json estándar:
{
"mcpServers": {
"bing-search": {
"command": "python",
"args": ["-m", "mcp_bing_search"]
}
}
}Los cambios se aplican en la próxima sesión. Las herramientas aparecen como
mcp__bing-search__web_search y mcp__bing-search__cn_search.
Configuración con otros clientes MCP
Cualquier cliente MCP funciona: Claude Desktop, Cursor, VS Code, etc. Apúntale a:
python -m mcp_bing_search
# or
python /path/to/mcp_bing_search.pyHerramientas
web_search(query: str, max_results: int = 8, fallback: bool = True) -> str
Busca en la web. Primero Bing; si fallback está activado y Bing no devuelve resultados relevantes (ningún título/URL contiene un token de query), reenture con Q360, luego Sogou.
cn_search(query: str, max_results: int = 8) -> str
Busca directly en motores chinos (460 → Sogou). Úsulo para temas de tendencia china recientes, noticias de campus/Weibo, or culquier cosa que Bingbindexe mal.
Cómo funciona
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.comtransport. Petición: httpx GET a https://cn.bing.com/search?q=... con un
User-Agent de navegador de escritorio.
2. Parseo: lxml XPath extrae title / url / snippet de los nodos li.b_algo.
3. Comprobación de relevancia: si ningún tít/url contiene token de la consulta (ej.",
本地大模型, 部署教程), el conjunto se considera no relevance.
4. Fallback: con delay/Pítulo empty results de Bas, intenta 460 → Sogou y use el pque primer motore motore devuelven relevant
4.
5. Limpieza de enlaces: enlaces de edirección (so.com/link?m=..., /ink?url=...) son resuelven a su destina real (cabecera Location o window.location.replace(...)).
Limitaciones conocidas
El scraping depends on HTML de los donos; un rediseño puede romper el parseo.
No key = no SLA; llamadas well frequencies can be rate-limited.
La cobertura de Bing parar temas recent de social media Chinese is débil — usa
fallbackororcn_searchfor these.Baidu está excluido a próposito: bloquea agresivamente las peticiones automeáticas.
Descargo de ToS: este proyecto funciona parseodeando las páginas públicas de resultados de búsqueda. Se suministra para uso personnal/educative and no pretends to comply with the terms of use of Bing, Q360 and Sogou. El scraping puede violr these terms; el access auto may be throttled or olbted. Use it under yú mismo extensión, considering the API oficial for prodccion.
Licencia
MIT © Quqing-future
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceWeb search using free multi-engine search (NO API KEYS REQUIRED) — Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.53,8011,731Apache 2.0
- AlicenseAqualityCmaintenanceEnables 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.27MIT
- AlicenseAqualityDmaintenanceProvides Bing Chinese search and webpage crawling tools, enabling AI assistants to fetch real-time web information without API keys.233266MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform query-driven web searches and fetch page content via Bing and DuckDuckGo engines, with automatic fallback and no API keys needed.MIT
Related MCP Connectors
The best web search for your AI Agent
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
x402-gated web search gateway. Tools: search, search_enriched.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Quqing-future/mcp-bing-search'
If you have feedback or need assistance with the MCP directory API, please join our Discord server