tianmingwan/dsh-balanced-search

tianmingwan★ 0PythonLast synced: 2026-08-16

Open on GitHub

Balanced web search plugin/MCP server for DeepSeek Harness: Keenable / Exa / Tavily round-robin with failover. / 均衡搜索插件:Keenable / Exa / Tavily 轮流调用,自动故障切换。

README excerpt

dsh-balanced-search English: A balanced web search plugin / MCP server that round-robins across Keenable (Keen Search) / Exa / Tavily and automatically fails over to the next provider. Returns normalized titles, links, and content summaries. 中文: 均衡搜索插件 / MCP 服务器:把 Keenable(Keen Search)/ Exa / Tavily 三个搜索 API 轮流调用 (round-robin),某个服务失败时 自动切换下一个 ,统一返回标题 / 链接 / 摘要。 This repository provides two forms / 本仓库同时提供两种形态: 1. DeepSeek Harness native plugin (recommended) / dsh 原生插件(推荐) — registers balanced search / balanced fetch directly as dsh tools, no Python required. / 直接注册 balanced search / balanced fetch 两个 dsh 工具,无需 Python。 2. Generic MCP server / 通用 MCP 服务器 — exposes search / fetch over stdio via server.py for any MCP client. / 通过 server.py 以 stdio 方式暴露 search / fetch ,可供任意 MCP 客户端使用。 Features / 功能 - Search the web and return titles, links, and content summaries. / 搜索网页,返回标题、链接和内容摘要。 - Fetch a URL and return clean markdown text. / 抓取指定 URL 的网页正文,返回 clean markdown。 - Round-robin across providers with automatic failover. / 三个服务轮流调用,单个服务失败时自动切换下一个。 - Configure API keys via environment variables; providers without a key are skipped. / 通过环境变量配置 API key;未配置的服务不会启用。 Environment Variables / 环境变…

View full README on GitHub →
Searchdsh-pluginsearch

Category