What it is
An MCP server that pairs search with retrieval. Searches come back as ranked summaries with stable result ids, and the fetch tool reads the full page behind any id, so an answer can be grounded in the source text rather than a snippet. Brave Search is the primary provider; DuckDuckGo runs without a key.
Requirements
A Brave Search API key is optional: without it DuckDuckGo handles web_search, while news_search and image_search need the key. Set it as BRAVE_API_KEY, or set ALLOW_KEYLESS to false to make the server refuse to start without one. Node.js >= 20.18 and npm >= 10; the npm package name is mcp-web-search-tool (2.0.0), built from a clone with npm install and npm run build, or run as a Docker image. MAX_RESULTS, REQUEST_TIMEOUT, DEFAULT_PROVIDER, the two cache pairs and FETCH_TIMEOUT_MS / FETCH_MAX_BYTES set the defaults and budgets.
Setup effort
One command — npx -y github:gabrimatic/mcp-web-search-tool