Search MCP Server
Enables AI agents to perform unified web searches, GitHub, and GitLab searches with caching, reranking, and fallback across multiple providers.
README
MCP Web Hound
Unified MCP search tools for AI agents — abstracts providers, caching, reranking, and rate limits behind a few simple tools.
⚠️ Work in progress. Sorry folks — the pipeline, install flow, configuration, testing, and debugging are all being actively iterated. Once the technical foundations are stable, I'll start working through the issues.
Quick Start
# Run with npx (no install needed)
npx mcp-web-hound --help
# Config is auto-created at ~/.config/mcp-web-hound/.env on first run.
# Edit it via:
npx mcp-web-hound-configure
OpenCode Setup
Add to ~/.config/opencode/opencode.json under mcp:
"web_search": {
"type": "local",
"command": ["npx.cmd", "-y", "mcp-web-hound"],
"enabled": true
}
Or via CLI:
opencode mcp add web_search -- npx.cmd -y mcp-web-hound
For other clients and advanced setup → see Deployment Guide.
⚠️ Search protocol is embedded in the MCP server's
InitializeResult.instructionsand auto-injected into agent context on OpenCode v1.17.10+. For older versions, see the deployment guide.
Provider Setup
Use mcp-web-hound-configure to set API keys. Startpage, DDG, Brave Web, and Bing work with zero config.
| Provider | Key Required | Tier | Rate Limit |
|---|---|---|---|
| Startpage | No | 1 | — |
| DuckDuckGo | No | 1 | 10 req/min |
| Brave Web | No | 1 | — |
| Bing | No | 1 | — |
| Brave API | BRAVE_API_KEY |
2 | 2000/month |
| Tavily | TAVILY_API_KEY |
2 | 1000/month |
| Exa | EXA_API_KEY |
3 | Trial |
| Firecrawl | FIRECRAWL_API_KEY |
3 | Trial |
Tools
| Tool | Purpose |
|---|---|
web_search |
Universal web search (registered as web_search) with caching, reranking, and fallback across 8 providers |
github_search |
Search GitHub repos, code, issues, and users |
gitlab_search |
Search GitLab projects, issues, MRs, and code blobs |
status |
Server diagnostics, provider health, budget state |
Query Formats
| Tool | Example |
|---|---|
web_search |
typescript tutorial, how to install docker, repo:vercel/next.js |
github_search |
repo:org/name, user:vercel, language:typescript |
gitlab_search |
project:org/name, scope filter via type param |
Tool Reference
web_search
web_search({
query: string,
})
Returns merged results from healthy providers (parallel), deduplicated and reranked by relevance. Optimized for AI agents — one parameter, server-side intent detection.
github_search
github_search({
query: string,
type?: "repositories" | "code" | "issues" | "users",
language?: string,
stars?: string, // e.g. ">1000", "500..5000"
page?: number
})
Rate limit: 60 req/hr without token, 5000 req/hr with GITHUB_TOKEN.
gitlab_search
gitlab_search({
query: string,
scope?: "projects" | "issues" | "merge_requests" | "blobs",
page?: number
})
Requires GITLAB_TOKEN with read_api scope.
status
status()
Returns provider health, cache stats, budget state, uptime.
Architecture
Core pipeline: Budget Check → Normalize → Classify (intent + freshness) → Cache → Router (parallel N, 1s delay per provider) → Rerank → Cache → Respond
Providers
| Provider | Type | Key | Tier | Rate Limit | Delay | Suspension |
|---|---|---|---|---|---|---|
| Startpage | Google mirror (scrape) | No | 1 | — | 1s | incremental backoff |
| DDG | HTML scrape | No | 1 | 10 req/min | 1s | captcha → 24h |
| Brave Web | HTML scrape | No | 1 | — | 1s | 1min→5min→15min→1h→4h→24h |
| Bing | HTML scrape | No | 1 | — | 1s | — |
| Brave API | Official API | Yes | 2 | 2000/month | — | — |
| Tavily | Official API | Yes | 2 | 1000/month | — | — |
| Exa | Official API | Yes | 3 | trial 1000 | — | — |
| Firecrawl | Official API | Yes | 3 | trial 500 | — | — |
Rate Limiting
- 1-second delay between requests per scraped provider (static
lastRequestTime) - Incremental backoff on 429/403: suspension grows 1min → 5min → 15min → 1h → 4h → 24h
- Counter resets on success
- Rate limit windows (minute/day/month) persisted to JSON
Full docs:
If you want to learn more about the decisions made, check out the Architecture Decisions document.
Donations / Support the Project
-
EVM Address (USDT, USDC, ETH, BNB):
0x3acf78e721aa065bd1509735a3ace630fcd0f452Supported networks: BNB Smart Chain (BEP20), Polygon, Arbitrum One, Ethereum (ERC20) <details> <summary>Show EVM QR Code</summary> <img src=".github/images/evm.jpg" width="300" alt="EVM Deposit QR"> </details>
-
USDT (TRC20):
TMG1BZJswd8UacHANKVi9Veq5FqSbaMjAQSupported network: Tron (TRC20) <details> <summary>Show TRC20 QR Code</summary> <img src=".github/images/trc20.jpg" width="300" alt="TRC20 Deposit QR"> </details>
-
TON / USDT (TON):
UQDjf84AZSwuCPC3UWFv28p-V44zI-1lfhqCMfaex2Q-jDsYSupported network: The Open Network (TON) <details> <summary>Show TON QR Code</summary> <img src=".github/images/ton.jpg" width="300" alt="TON Deposit QR"> </details>
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。