MCP Web Search Server

A web search server powered by DuckDuckGo, no API key required.

δΈ­ζ–‡ | English


PyPI version Python License: MIT Downloads heventure-search-mcp MCP server

πŸ” MCP Web Search Server

Free forever. No API key required. A web search MCP server that works out of the box with Claude Desktop, Cursor, and any MCP-compatible AI tool.

pip install heventure-search-mcp

✨ Why?

Most MCP search servers require you to sign up for API keys (Bing, Google, SerpAPI...). This one works immediately β€” zero configuration, zero cost, zero sign-ups.

FeatureThis ServerOthers
No API key neededβœ…βŒ
DuckDuckGo (free)βœ…varies
Bing (free)βœ…βŒ
Google (free)βœ…βŒ
Optional SerpAPI/Tavilyβœ…βœ…
Async + cachingβœ…varies
Install in 10 secondsβœ…varies

πŸš€ Quick Start

Option 1: Claude Desktop / Cursor

Add to your MCP config:

{
  "mcpServers": {
    "web-search": {
      "command": "uvx",
      "args": ["heventure-search-mcp"]
    }
  }
}

Option 2: Command Line

pip install heventure-search-mcp
heventure-search-mcp

Option 3: Docker

docker run -p 8080:8080 heventure-search-mcp

πŸ”§ Available Tools

web_search

Search the web with multiple engines simultaneously.

ParameterTypeDefaultDescription
querystringrequiredSearch query
max_resultsint10Number of results (1-20)
search_enginestring"both"duckduckgo, bing, google, or both

get_page_content

Extract readable text from any webpage.

ParameterTypeDefaultDescription
urlstringrequiredPage URL to fetch

πŸ”‘ Optional: Enhanced Search

The free engines work great for most use cases. For higher quality results, you can optionally add paid API keys:

# SerpAPI β€” 100 free searches/month
export SERPAPI_KEY="your_key"

# Tavily β€” 1,000 free searches/month  
export TAVILY_API_KEY="your_key"

πŸ—οΈ Architecture

  • Engines: DuckDuckGo, Bing, Google, SerpAPI, Tavily
  • Caching: LRU cache with 300s TTL (100 entries max)
  • Protocol: MCP (Model Context Protocol)
  • Runtime: Python 3.10+ with asyncio

🀝 Contributing

Issues and Pull Requests are welcome! See CONTRIBUTING.md for guidelines.

πŸ“„ License

MIT License β€” use it however you want.

Related Servers