Skip to main content

一个无需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 query
  • max_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heventure_search_mcp-1.2.1.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heventure_search_mcp-1.2.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file heventure_search_mcp-1.2.1.tar.gz.

File metadata

  • Download URL: heventure_search_mcp-1.2.1.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for heventure_search_mcp-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d2ef7e7da6b6a40b72fe587886bc612df31033fd297073aa9293d1ea13290d37
MD5 e14e4e9a12e75f7498c7c4f8b1af1f88
BLAKE2b-256 93fa00f2f0b681616f97abeb1327a8ade91bcd549044c430ec2509c781589315

See more details on using hashes here.

File details

Details for the file heventure_search_mcp-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for heventure_search_mcp-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88143af1b0222ab7d1569b2adb8b714703c533ab537f2c9050eda642cb53ab7e
MD5 6651188074d78f7ea7cc0cbe67edd94d
BLAKE2b-256 b819714bac8e50e0c3369e784e3c945b4b56fb9aa58391c78ce3db830091538b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page