websearch
Provides web search capabilities using DuckDuckGo as a fallback search engine. Allows performing web queries and retrieving search results.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@websearch search for latest AI breakthroughs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
websearch_tool
Web search tool with two interfaces sharing one core. Serper primary, DuckDuckGo fallback (on error or empty results).
Install
uv pip install -e . # or: pip install -e .
export SERPER_API_KEY=<your-key>Related MCP server: Web Search MCP Server
HTTP API
uvicorn websearch.http_api:app --port 8000
curl "http://127.0.0.1:8000/search?q=anthropic+claude&num=5"Endpoint | Params | Response |
|
|
|
| — |
|
source is serper or ddg. Each result has title, url, snippet.
MCP Server
python -m websearch.mcp_server # stdio transportExposes one tool: web_search(query: str, num: int = 10).
MCP client config:
{
"mcpServers": {
"websearch": {
"command": "python",
"args": ["-m", "websearch.mcp_server"],
"env": { "SERPER_API_KEY": "<your-key>" }
}
}
}Library
from websearch import search
resp = search("anthropic claude", num=5) # reads SERPER_API_KEY from envAvailable Tools
1 toolweb_searchC
Search the web (Serper primary, DuckDuckGo fallback).
Args: query: The search query. num: Max number of results (1-50).
Inputs: query (required), num.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools.
With a single tool named 'web_search', naming is trivially consistent.
One tool is minimal but acceptable for a focused search server; however, a more comprehensive set could include fetch or news tools.
The server only offers search functionality, lacking obvious features like fetching page content or news-specific search, which would be expected for a complete web search tool set.
Maintenance
Related MCP Connectors
Bing and DuckDuckGo results with snippets and readable page text for AI agents and RAG.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web search, Google SERP, page extraction to markdown and cited answers for AI agents.
Web search and page reading for AI agents: search, fetch, scrape, map and crawl, with sources.
Related MCP Servers
- FlicenseBqualityDmaintenanceAllows you to search the web using DuckDuckGo and optionally fetch and summarize content from search results.25-
- AlicenseNot gradedqualityDmaintenanceEnables web search across multiple search engines (DuckDuckGo, Bing, Startpage) with parallel execution and result deduplication. Also provides web page content extraction capabilities.2MIT
- AlicenseBqualityDmaintenanceEnables web search via Serper API with advanced search operators and webpage scraping capabilities to extract content in plain text or markdown format.21,853 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides a Google search tool via the Serper API, returning structured results and a summary answer for LLMs like Claude.1-