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:10809
PROXY_ENGINES Comma-separated engines using proxy (auto: domestic engines excluded)
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.2.tar.gz (8.2 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.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_smart_searcher-0.2.2.tar.gz
  • Upload date:
  • Size: 8.2 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.2.tar.gz
Algorithm Hash digest
SHA256 fe930045c368db4ac1aba50ea5448ff18f5aebb7dfb510516dbca0a11f47bfd3
MD5 ca4cd010899dad988604083db2cc4ff8
BLAKE2b-256 fa321a5fcada1fcf33bee6e52eca6e2e1bbb44d3dae315eef79623683488bf11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_smart_searcher-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69663592165739e225435123f871176564166c8ad24ca6918e6b36655f26bdea
MD5 2038329909e47d865e940a37d57a8bf7
BLAKE2b-256 706778ac38586dc66a46b19fb16112152c2808f1b87f667812ca72005e37192f

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