websearch
Provides web search capabilities using DuckDuckGo as a fallback search engine. Allows performing web queries and retrieving search results.
Click on "Install 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., "@websearchsearch 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: DuckDuckGo 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 envMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jinddddd/websearch_tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server