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 true
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.1.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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_smart_searcher-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 65e4c1cc393d8d6fb31d21fddee42546df2ee1f126c59fee353cf0b8f7c47053
MD5 bb39b3733788a116bdd4685cf3f7f717
BLAKE2b-256 036838a046050df6aef0fe76f498a5d6cfaa5f392346c69e1bbd4076587f80b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_smart_searcher-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c45b127c52b375061d055afc85b13a739d0fd478b627d3261b357932baed26c
MD5 8c69e0c96184b0ae03bf0b66caf0647d
BLAKE2b-256 fdfb19ba40ae07e859fa4f2f950e22884138a46e75c2e8b0d33d2737271ff910

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