Skip to main content

A smart MCP server for multi-engine web search with AI-powered results

Project description

MCP Smart Searcher

A smart MCP (Model Context Protocol) server for multi-engine web search with AI-powered results.

Features

  • Multi-engine search — Search across 6 engines simultaneously: DuckDuckGo, Baidu, Juejin, GitHub, GitHub Code, Tavily
  • Web content extraction — Fetch and extract clean text from any public URL, with noise removal and prompt-guided filtering
  • Rate limiting — Built-in concurrency control via semaphore
  • Proxy support — Per-engine proxy configuration
  • Engine allowlist — Restrict which engines can be used

Installation

pip install -e ".[dev]"

Usage

Run the server

python -m mcp_smart_searcher

MCP client configuration

Add to your MCP client config (e.g., Claude Desktop):

{
  "mcpServers": {
    "smart-searcher": {
      "command": "python",
      "args": ["-m", "mcp_smart_searcher"]
    }
  }
}

Development

# Run with MCP inspector
mcp dev src/mcp_smart_searcher/server.py

# Run tests
PYTHONPATH=src pytest

# Build
python -m build

Configuration

Environment Variable Description Default
DEFAULT_SEARCH_ENGINE Default search engine duckduckgo
ALLOWED_SEARCH_ENGINES Comma-separated engine allowlist (all allowed)
TAVILY_API_KEY Tavily AI Search API key (none)
GITHUB_TOKEN GitHub API token (none)
USE_PROXY Enable proxy false
PROXY_URL Proxy URL http://127.0.0.1:7890
PROXY_ENGINES Comma-separated engines using proxy (all)
MAX_CONCURRENT_SEARCH Max concurrent search requests 5
LOG_LEVEL Logging level INFO

License

Apache-2.0

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

mcp_smart_searcher-0.2.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

mcp_smart_searcher-0.2.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_smart_searcher-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_smart_searcher-0.2.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for mcp_smart_searcher-0.2.0.tar.gz
Algorithm Hash digest
SHA256 918db16133a0c8fd5b73ee523242474a1065057221e707c6d778d1fd5892ad13
MD5 bd4b4ae8d934b861de0e3f4466c356a8
BLAKE2b-256 1105b1f233f6740c91f98358c2f54c27f6c4d86d10682bf413f2bd690deaf2cf

See more details on using hashes here.

File details

Details for the file mcp_smart_searcher-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_smart_searcher-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0040e0b025f66ca37608a814fd13bf8405bd19515d92e48113f7f1e650a7998e
MD5 9388e801ce937719bbabd1a1c67a6097
BLAKE2b-256 4e84a567a51e3839ca32f483a7dfe80e2c6a1cf24cdb93664d4c81e3d32c2663

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