Biogod2020/dsh-bing-search

Biogod2020★ 0PythonLast synced: 2026-08-17

Open on GitHub

DSH web search: DuckDuckGo first, locale-aware Bing fallback, quality scores so agents skip junk.

README excerpt

dsh-bing-search 简体中文 Web search for DeepSeek Harness (DSH) , implemented as a small MCP server and powered by curl cffi . search order: 1. Probe DuckDuckGo HTML ( html.duckduckgo.com ) and cache reachability for about 60 seconds. From mainland China this probe often fails unless a proxy is configured. 2. Use DDG when it is reachable. 3. Fall back to Bing when DDG is down, rate-limited (HTTP 202 / challenge), or the result set is quality label=poor . 4. Route Bing by language: Chinese / zh- markets go to cn.bing.com , otherwise www.bing.com . Every search response includes quality score (0–1) and quality label ( good / weak / poor ). Treat poor as unusable (dictionary pages, first-token junk). Do not cite those titles. It gives a DSH agent three browser-style tools: - mcp web search — search the public web and return normalized organic results. - mcp web open — open a public web page and extract readable text. - mcp web find — find text inside a long page and return nearby context. Mainland China: DuckDuckGo is often unreachable without a proxy or VPN. That is expected. The plugin then uses Bing and sets warnings to duckduckgo unreachable . The MCP child does not inherit your shell …

View full README on GitHub →
Agentsdeepseek-harnessdsh-pluginmcpagentsearch

Category