一个无需API key的网页搜索MCP服务器,支持DuckDuckGo和必应搜索
Project description
中文 | English
MCP Web Search Server
A free, API-key-free web search MCP (Model Context Protocol) server supporting DuckDuckGo, Bing, and Google search engines.
Features
- 🔍 Multi-Engine Search: DuckDuckGo, Bing, Google support, no API key required
- 📄 Web Content Fetching: Get text content from any webpage
- 🚀 Async Processing: High-performance asyncio-based async handling
- 🛡️ Secure & Private: No external API keys needed, protects privacy
Installation
PyPI (Recommended)
pip install heventure-search-mcp
heventure-search-mcp
uvx
uvx heventure-search-mcp
From Source
pip install git+https://github.com/HughesCuit/heventure-search-mcp.git
python -m server
Usage
MCP Client Config
{
"mcpServers": {
"web-search": {
"command": "python",
"args": ["/path/to/server.py"]
}
}
}
Trae AI
{
"mcpServers": {
"heventure-search-mcp": {
"command": "uvx",
"args": ["heventure-search-mcp"]
}
}
}
Available Tools
web_search
Search web content with multiple engines.
Parameters:
query(string, required): Search querymax_results(integer, optional): Max results (default: 10, range: 1-20)search_engine(string, optional): Engine choice (default: "both")"duckduckgo": DuckDuckGo only"bing": Bing only"google": Google only"both": All engines combined
Example:
{
"query": "Python tutorial",
"max_results": 5,
"search_engine": "both"
}
get_webpage_content
Get text content from a webpage.
Parameters:
url(string, required): Target webpage URL
Example:
{
"url": "https://example.com"
}
Error Handling
- Automatic retry on network failure
- Graceful degradation on parse errors
- User-friendly error messages
License
MIT License
Contributing
Issues and Pull Requests are welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heventure_search_mcp-1.2.2.tar.gz.
File metadata
- Download URL: heventure_search_mcp-1.2.2.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01f60d1665a829e6daeaa093913556e8351b84e308c6edfff41536335491c448
|
|
| MD5 |
df0b11d1fb028bfabb4e13971fce0bed
|
|
| BLAKE2b-256 |
77412b861312c2b86137f92497a9ba53fba2fd799f8045152e5bb847ce9f5893
|
File details
Details for the file heventure_search_mcp-1.2.2-py3-none-any.whl.
File metadata
- Download URL: heventure_search_mcp-1.2.2-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5956f485fb38a88721706d3d86bdb976fe4527288a3f0551d20ed90fdbe05cb
|
|
| MD5 |
cbb1af28f575bbd063398718f4934994
|
|
| BLAKE2b-256 |
3fd1b6fcd0288f482ceaf5768e5c7f5e6e0bc7a6e283d0a016ce2c28b4080d21
|