heventure-search-mcp
Provides web search capabilities through DuckDuckGo, returning titles, URLs, and snippets without requiring an API key.
Provides web search through Google, including standard HTML search without an API key and optional Google Custom Search Engine support.
Click on "Install 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., "@heventure-search-mcpSearch the web for quantum computing breakthroughs in 2025"
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.
heventure-search-mcp
一个无需 API Key 即可使用的网页搜索 MCP(Model Context Protocol)服务,支持多搜索引擎并发与自动回退。
🔗 基于上游项目:HughesCuit/heventure-search-mcp v1.5.3
本仓库在上游基础上增加了 Google CSE 引擎支持(参考 SearXNG 的
google_cse.py引擎实现),以及 Bing 中文搜索语言检测修复等改进。感谢原作者 HughesCuit 和 SearXNG 项目的工作。
✨ 特性
多引擎并发:DuckDuckGo + Bing + Google + SerpAPI + Google CSE,一次查询覆盖多个搜索引擎
零配置可用:不配任何 API Key 即可使用 DuckDuckGo + Bing + Google(HTML 解析)
按需启用:配置 SERPAPI_KEY / TAVILY_API_KEY / GOOGLE_CSE_ID 后自动激活对应引擎
智能缓存:内置 LRU 缓存,减少重复请求
自动重试:网络超时自动重试,提高稳定性
SSRF 防护:内置 URL 安全校验
Related MCP server: Multi-Search MCP Server
🔍 支持的搜索引擎
引擎 | 需要 | 说明 |
DuckDuckGo | 无 | 免费,调 API 绕过反爬 |
Bing | 无 | 免费,动态 Accept-Language(中文→zh-CN,英文→en-US) |
无 | 免费,HTML 解析 | |
SerpAPI |
| 付费,Google 官方 API,英文搜索质量最高 |
Google CSE |
| 免费,自定义搜索引擎,可限定白名单站点 |
Tavily |
| 付费,AI 搜索引擎 |
📦 安装
# 克隆项目
git clone https://github.com/yourname/heventure-search-mcp.git
cd heventure-search-mcp
# 安装依赖
pip install -r requirements.txt⚙️ 配置
所有配置通过环境变量传入,无需修改代码:
# 必需(无则仅用免费引擎)
export SERPAPI_KEY="your_serpapi_key" # https://serpapi.com
export GOOGLE_CSE_ID="your_cse_id" # https://programmablesearchengine.google.com
export TAVILY_API_KEY="your_tavily_key" # https://tavily.com
# 可选
export WEB_SEARCH_SSL_VERIFY="true" # SSL 验证(默认 true)
export SOCKS_PROXY="socks5://127.0.0.1:1080" # SOCKS5 代理🚀 使用
作为 MCP Server 运行
python -m heventure_search_mcp.server在 QwenPaw 中配置
在 drivers/mcp/heventure-search.yaml 中:
name: heventure-search
type: stdio
command: /path/to/python3
args:
- -m
- heventure_search_mcp.server
env:
PYTHONPATH: /path/to/heventure_search_mcp
SERPAPI_KEY: your_serpapi_key
GOOGLE_CSE_ID: your_cse_id搜索引擎选择
通过 search_engine 参数指定引擎:
值 | 引擎 |
| 所有可用引擎并发 |
| 仅 DuckDuckGo |
| 仅 Bing |
| 仅 Google(HTML) |
| 仅 SerpAPI |
| 仅 Tavily |
| 仅 Google CSE |
📖 API
web_search
搜索网页,返回标题、URL、摘要。
参数:
query(必需):搜索查询字符串search_engine(可选):搜索引擎,默认bothmax_results(可选):最大结果数,默认 10,最大 20
get_webpage_content
获取指定网页的文本内容。
参数:
url(必需):要获取内容的网页 URL
📄 License
MIT
🙏 Acknowledgements
原始项目:heventure-search-mcp by HughesCuit
Google CSE 引擎实现参考:SearXNG —
searx/engines/google_cse.py
🏗️ 开发环境
本项目在以下环境中开发与测试:
Agent 框架:QwenPaw(by AgentScope team from Qwen lab)
运行环境:Alibaba Cloud(新加坡节点),Linux 容器
Python:3.11
部署方式:作为 QwenPaw MCP 工具(stdio 模式),由 supervisor 托管
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
- FlicenseNot gradedqualityCmaintenanceEnables web search across multiple search engines (DuckDuckGo, Bing, Startpage) with parallel execution and result deduplication. Also provides web page content extraction capabilities.2
- AlicenseAqualityCmaintenanceProvides unified web search across multiple providers (Google, Tavily, DuckDuckGo, Brave) with automatic fallback, maximizing free API quota usage for AI workflows.1367MIT
- 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
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive web searching and content extraction using multiple search engines (Bing, Brave, DuckDuckGo) without API keys. Provides tools for full web searches with content extraction, quick search summaries, and single webpage content retrieval.1,085MIT
Related MCP Connectors
Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
The best web search for your AI Agent
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/Sw0rDF/heventure-CSE-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server