web-tool-mcp
This MCP server provides lightweight web search plus on-demand page content extraction.
Search the web via Bing → Brave → DuckDuckGo and return concise titles, URLs, and snippets (5 by default, up to 10), with backend-supported operators like site:, filetype:, intitle:, -term, and quoted phrases.
Fetch 1–5 HTTP(S) URLs and extract cleaned text/Markdown with headings and links, using a default 15,000-character inline budget per page.
For oversized pages, return a head-and-tail window and save the full extracted text locally with a path and paging/read_file hint.
Represent inline images as
[IMAGE: alt]placeholders and preserve linked image URLs.Try HTTP extraction first for HTML and fall back to a browser extractor; PDF URLs are recognized but PDF text extraction is not implemented.
Pages requiring JavaScript, login, or interaction may need a separate browser tool.
Provides web search through Brave as one of the server's search backends, returning result titles, URLs, and snippets.
Provides web search through DuckDuckGo as one of the server's search backends, returning result titles, URLs, and snippets.
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., "@web-tool-mcp Search for the latest Node.js LTS release notes and extract the official page."
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.
# web-tool-mcp
A stdio MCP server derived from web-search-mcp that separates lightweight discovery from on-demand page reading.
Tools
web_search
Searches through the inherited Bing → Brave → DuckDuckGo backend and returns only titles, URLs, and search snippets (five results by default). It does not fetch result pages. Query syntax is passed to the backend; operators such as site:, filetype:, intitle:, exclusions, and exact phrases work when supported by the selected engine.
web_extract
Fetches one to five supplied HTTP(S) URLs and returns cleaned page text with headings and links. It uses an inline character budget of 15,000 per page by default. Longer pages return a head-and-tail window and save the complete extracted text under the OS temporary directory (WEB_EXTRACT_SAVE_DIR can override it), with a path and a read_file paging hint. Images appear as [IMAGE: alt] placeholders with image links where available. HTML extraction tries HTTP first and the inherited browser extractor as a fallback. PDF URLs are recognized but PDF text extraction is not implemented in this build. Pages requiring JavaScript, login, or interaction may still need a browser tool.
Related MCP server: Web Search MCP Server
Run
Requires Node.js 24+.
npm install
npm install-scripts approve esbuild
npm install
npx playwright install
npm run build
# Test
npx @modelcontextprotocol/inspector node dist/index.jsor
pnpm install
pnpm approve-builds
pnpm install
pnpm dlx playwright install
pnpm run build
# Test
pnpm dlx @modelcontextprotocol/inspector node dist/index.jsIf you want to use firefox;
pnpm dlx @modelcontextprotocol/inspector -e BROWSER_TYPES=firefox node dist/index.jsExample MCP configuration:
{
"mcpServers": {
"web-tool": {
"command": "node",
"args": ["/path/to/web-tool-mcp/dist/index.js"]
}
}
}Useful environment settings inherited from the base project include DEFAULT_TIMEOUT, BROWSER_HEADLESS, BROWSER_TYPES, BROWSER_FALLBACK_THRESHOLD, ENABLE_RELEVANCE_CHECKING, and FORCE_MULTI_ENGINE_SEARCH.
Available Tools
2 toolsweb_extractA
Extract readable page content from one or more web page URLs. Returns cleaned Markdown/text directly without LLM summarization. Pages within the character budget (15,000 by default) are returned whole; longer pages return a head-and-tail window and save the complete text to a local file, with a path and read_file instructions for paging through the omitted middle. PDF URLs are accepted as inputs, but PDF text extraction requires a PDF reader dependency not included in this build. Inline images are represented as [IMAGE: alt] and linked image URLs are preserved. If a page fails, times out, or requires JavaScript, login, or clicks, use a browser tool instead.
Inputs: urls (required), head_chars, char_budget.
web_searchA
Search the web and return concise results with titles, URLs, and search snippets (5 by default). Use web_extract to read a result in detail. The query is passed through to the configured search backend, so operators such as site:domain, filetype:pdf, intitle:word, -term, and quoted phrases may work when supported by the backend.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
web_search and web_extract have clearly distinct roles: discovery vs. full-page reading. The descriptions explicitly cross-reference each other, telling the agent to use web_search first and web_extract for detail.
Both tools follow a strict web_verb pattern (web_search, web_extract) with snake_case throughout. The convention is predictable and easy to extend.
Two tools form a coherent minimal pair but feel thin for a web utility server, lacking follow-up operations like opening/crawling many links or handling JS-heavy pages. It is borderline under-scoped rather than inappropriate.
The core search-then-extract workflow is complete, including pagination guidance for long pages. Minor gaps exist around JavaScript/login-protected pages and PDF extraction, though the descriptions explicitly point to external browser tools for those cases.
Maintenance
Related MCP Connectors
Search the web and extract clean, readable text from webpages. Process multiple URLs at once to sp…
Clean web data for agents: any URL to Markdown or JSON, plus search, crawls and company brand data.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Search + read the web for $0.002/page; failed URLs free; per-URL errors never fail the call.
Related MCP Servers
- FlicenseBqualityCmaintenanceProvides web search and page fetch tools for LLM assistants, extracting content and enabling text search within fetched pages.3-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform web searches, extract webpage content, and conduct end-to-end search-and-extract operations using multiple search providers and content extraction methods.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform live web searches with ranked results and extracted page passages, plus clean markdown extraction of any URL.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform LLM-optimized web searches, retrieve recent news articles with full text, and extract clean readable content from URLs. It returns synthesized answers, ranked cited sources, and page text suitable for grounding RAG workflows.296 npmMIT