Web MCP
Provides web search through DDGS with Brave as a configurable search backend.
Provides web search through DDGS with DuckDuckGo as a configurable search backend.
Provides web search through DDGS with Google as a configurable search backend.
Converts HTML and fetched web content into Markdown, supporting structural conversion and Trafilatura article extraction.
Provides web search through DDGS with Wikipedia as a configurable search backend.
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 MCP search the web for Python 3.13 release notes and fetch the top result as markdown"
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 MCP
The ultimate web-access MCP server. Combines extended Playwright browser automation with stealth capabilities, free web search, and dual-mode HTML-to-Markdown conversion.
Features
Browser automation with three engines: vanilla Playwright, Camoufox (Firefox stealth), and CloakBrowser (Chromium stealth)
Free web search via DDGS (multi-backend: Bing, Brave, DuckDuckGo, Google, Yahoo, Wikipedia)
HTML-to-Markdown in two modes: as-is structural conversion (markdownify) and article extraction (Trafilatura)
Related MCP server: Playwright MCP Server
Requirements
Python 3.12+
Setup
uv sync
uv run playwright installUsage
Run MCP server over stdio
uv run python -m web_mcpRun MCP server over HTTP
Start Web MCP in HTTP mode:
uv run python -m web_mcp --httpBy default, MCP server will run at:
http://127.0.0.1:9000/mcp--host— bind address; default127.0.0.1, or setWEB_MCP_HOST.--port— bind port; default9000, or setWEB_MCP_PORT.--path— MCP URL path; default/mcp, or setWEB_MCP_PATH.
Add to MCP configuration (stdio-based)
{
"mcpServers": {
"web-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/web-mcp", "python", "-m", "web_mcp"]
}
}
}Tools
Browser Tools
Tool | Description |
| Set engine (playwright/camoufox/cloakbrowser), stealth options, proxy, viewport |
| Navigate to URL |
| Go back in history |
| Get accessibility tree with numbered element refs |
| Capture page or element screenshot |
| Click an element by ref |
| Type text into an element |
| Fill multiple form fields at once |
| Select dropdown option(s) |
| Hover over an element |
| Drag and drop between elements |
| Press a keyboard key |
| Execute JavaScript on the page |
| Wait for time, text, or selector |
| List, create, close, or switch tabs |
| Resize viewport |
| Upload file(s) to a file input |
| Handle alert/confirm/prompt dialogs |
| Get console output |
| Get network request log |
| Get page HTML source |
| Current page HTML as Markdown (same conversion as |
| Close the browser |
Search Tools
Tool | Description |
| Text search with configurable backend |
| News search |
| Image search |
Content Tools
Tool | Description |
| Convert HTML to Markdown as-is (full structure) |
| Extract article from HTML via Trafilatura |
| HTTP-fetch a URL, return raw HTML |
| HTTP-fetch + convert to Markdown |
| HTTP-fetch + extract article |
Available Tools
31 toolsbrowser_clickB
Click a page element identified by its ref number from browser_snapshot.
Modifiers can include 'Alt', 'Control', 'Meta', 'Shift'.
Inputs: ref (required), button, modifiers, double_click. Returns: result
browser_closeA
Close the browser and free resources. The browser can be re-launched by navigating again.
Inputs: no named parameters. Returns: result
browser_configureA
Configure the browser engine and stealth options. Call before navigating.
Engines:
playwright: vanilla Playwright (chromium/firefox/webkit). Set user_agent manually.
camoufox: Firefox stealth with auto-generated fingerprints. Use geoip=True with a proxy.
cloakbrowser: Chromium stealth (passes Cloudflare). Use humanize=True for human-like input.
The browser launches automatically on the first navigation. Re-calling this closes the current browser and applies the new config.
Inputs: geoip, engine, locale, headless, +8 more. Returns: result
browser_console_messagesB
Get console messages from the browser. Each level includes more severe levels.
Inputs: level. Returns: result
browser_dragC
Drag an element and drop it onto another element.
Inputs: end_ref (required), start_ref (required). Returns: result
browser_evaluateB
Execute JavaScript on the page and return the result.
If ref is provided, the expression receives the element as its first argument
(use element => element.textContent style arrow functions).
Inputs: expression (required), ref. Returns: result
browser_file_uploadC
Upload file(s) to a file input element. Paths must be absolute.
Inputs: ref (required), paths (required). Returns: result
browser_fill_formA
Fill multiple form fields at once.
fields_json: a JSON array of objects, each with:
ref (int): element ref from browser_snapshot
value (str): value to set
type (str, optional): "textbox" | "checkbox" | "radio" | "combobox" | "slider" (defaults to "textbox")
Example: [{"ref": 3, "value": "Alice"}, {"ref": 5, "value": "true", "type": "checkbox"}]
Inputs: fields_json (required). Returns: result
browser_get_as_markdownA
Convert the current page HTML to Markdown (as-is, no content filtering).
Same conversion as fetch_as_markdown: full structural Markdown with script/style stripped.
Inputs: no named parameters. Returns: result
browser_get_htmlA
Get the full HTML source of the current page.
[!] DO NOT use this tool unless you absolutely need the raw HTML.
In most cases, using browser_get_as_markdown is the right way to go.
The output of this tool may be extremely long, use it only when truly required.
Inputs: no named parameters. Returns: result
browser_handle_dialogB
Set up a handler for the next browser dialog (alert/confirm/prompt).
Call this BEFORE the action that triggers the dialog.
Inputs: accept (required), prompt_text. Returns: result
browser_hoverC
Hover over a page element identified by its ref number.
Inputs: ref (required). Returns: result
browser_network_requestsB
Get the network request log since the page was loaded.
Inputs: no named parameters. Returns: result
browser_press_keyB
Press a keyboard key (e.g. 'Enter', 'Tab', 'Escape', 'ArrowDown', 'a').
Inputs: key (required). Returns: result
browser_resizeC
Resize the browser viewport.
Inputs: width (required), height (required). Returns: result
browser_select_optionC
Select one or more options in a dropdown by their values.
Inputs: ref (required), values (required). Returns: result
browser_snapshotA
Get an accessibility snapshot of the current page.
Returns a text tree of page elements. Interactive elements are labeled with [ref] numbers that can be used in other browser tools (click, type, etc.). Always call this before interacting with elements.
Inputs: no named parameters. Returns: result
browser_tabsA
Manage browser tabs.
Actions:
list: show all open tabs
new: open a new tab (optionally navigate to url)
close: close tab at index (default: active tab)
select: switch to tab at index
Inputs: action (required), url, index. Returns: result
browser_take_screenshotC
Take a screenshot of the page or a specific element.
Returns a base64-encoded PNG image.
Inputs: ref, full_page. Returns: result
browser_typeA
Type text into a page element (appends to existing text).
Set submit=True to press Enter after typing. Set slowly=True for human-like speed.
Inputs: ref (required), text (required), slowly, submit. Returns: result
browser_wait_forB
Wait for a condition: a number of seconds, specific text to appear, or a CSS selector.
Inputs: text, selector, time_seconds. Returns: result
extract_articleB
Extract article content from HTML and convert to Markdown.
Strips navigation, ads, sidebars, and other clutter. Returns clean Markdown plus metadata (title, author, date) when available.
Inputs: html (required), include_links, include_images, include_tables, +1 more. Returns: result
fetch_articleB
Fetch a URL and extract the article to Markdown. Use this tool when accessing news articles, blog-posts or similar content. In other cases it may return empty or partial results.
Combines fetch_page + extract_article in one call. Returns clean Markdown with metadata.
Inputs: url (required), headers, include_links, include_images. Returns: result
fetch_as_markdownB
Fetch a URL and convert the full HTML to Markdown (as-is, no content filtering).
Combines fetch_page + html_to_markdown in one call.
Inputs: url (required), headers. Returns: result
fetch_raw_page_as_htmlA
Fetch a URL via HTTP and return the raw HTML.
[!] DO NOT use this tool unless you absolutely need the raw HTML.
In most cases, using fetch_as_markdown is the right way to go.
The output of this tool may be extremely long, use it only when truly required.
This is a lightweight fetch (no JavaScript rendering). For JS-heavy pages, use browser_navigate + browser_get_html instead.
Inputs: url (required), headers. Returns: result
html_to_markdownA
Convert an HTML string to Markdown as-is (preserves the full page structure).
This performs a faithful structural conversion — no content is stripped. Use extract_article instead if you want to pull just the article body.
Inputs: html (required). Returns: result
image_searchC
Search for images.
Returns image URLs with metadata (title, source, dimensions).
Inputs: query (required), region, safesearch, max_results. Returns: result
news_searchC
Search for recent news articles.
Args: query: Search query. max_results: Number of results. region: Region code. safesearch: Content filter level. timelimit: Time filter — "d" (day), "w" (week), "m" (month).
Inputs: query (required), region, timelimit, safesearch, +1 more. Returns: result
web_searchB
Search the web using DDGS (multi-backend metasearch: Bing, Brave, DuckDuckGo, Google, Yahoo, Wikipedia).
Args: query: Search query. max_results: Number of results (default 10). region: Region code (default "wt-wt" for worldwide). Examples: "us-en", "uk-en", "de-de". safesearch: Content filter level. backend: Comma-separated engines, or "auto" (Wikipedia-first; can flake on wiki HTTP errors). Default omits Wikipedia-first ordering for reliability. timelimit: Time filter — "d" (day), "w" (week), "m" (month), "y" (year), or None.
Inputs: query (required), region, backend, timelimit, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
The browser_* interaction tools are cleanly separated, but the content-retrieval layer has seven overlapping tools (browser_get_html, browser_get_as_markdown, html_to_markdown, extract_article, fetch_raw_page_as_html, fetch_as_markdown, fetch_article) whose boundaries differ only by source (live DOM vs HTTP) and fidelity (as-is vs article extraction). Descriptions do explain the distinctions and convenience combos, and the '[!] DO NOT use' warnings steer agents away from the raw-HTML variants, but an agent must still reason carefully to pick correctly.
All names are snake_case with coherent verb-first or subject-first phrasing, and the browser_* family is strongly grouped. Minor deviations exist in the fetch family, where the pattern shifts between fetch_as_markdown, fetch_article, and fetch_raw_page_as_html, and some html_/extract_ tools lack a shared prefix.
At 31 tools this is over the comfortable range, and several are redundant convenience combinations (fetch_as_markdown = fetch + html_to_markdown; fetch_article = fetch + extract_article) rather than independent capabilities. The count could be meaningfully reduced without losing surface area.
Coverage of the browser-automation lifecycle is strong: navigate/back, snapshot, click/type/hover/drag, forms, keys, tabs, dialogs, uploads, viewport, console, network, screenshots, and teardown. Small gaps remain, such as no forward history navigation, no cookie/storage or download handling.
Maintenance
Related MCP Connectors
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides web search and page fetch capabilities using a browser-based approach, enabling LLMs to search DuckDuckGo, Google, or Yandex and retrieve rendered HTML from URLs.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables browser automation using Playwright, allowing LLMs to interact with web pages, take screenshots, generate test code, scrape web pages, and execute JavaScript in a real browser environment.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to perform browser automation using Playwright, including navigation, content extraction, screenshot analysis, and custom script execution.5MIT
- AlicenseNot gradedqualityDmaintenanceProvides browser automation using Playwright, enabling LLMs to interact with web pages, take screenshots, scrape, and execute JavaScript.MIT