mcp-web
Provides web search capabilities through DuckDuckGo, returning titles, URLs, and snippets for 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., "@mcp-web search the web for latest MCP servers and summarize top results"
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.
mcp-web
An MCP server that gives a locally-run LLM access to the internet: web search, page fetching, raw HTTP, and optional headless rendering. Built for LM Studio, but it is a plain stdio MCP server and works with any MCP client.
Tools
Tool | What it does |
| DuckDuckGo search. Returns title, url, snippet. |
| Fetches a page and returns its main content as markdown. |
| Arbitrary HTTP method/headers/body. For JSON APIs. |
| Loads a page in headless Chromium, runs its JS, returns text. Registered only when the |
Related MCP server: solocrawl
Install
uv venv
uv pip install -e .With headless rendering:
uv pip install -e ".[browser]"
uv run playwright install chromiumWiring into LM Studio
LM Studio reads ~/.lmstudio/mcp.json (also reachable from the Program tab in
the right sidebar → Install → Edit mcp.json). Add:
{
"mcpServers": {
"mcp-web": {
"command": "/Users/YOU/mcp-web/.venv/bin/mcp-web"
}
}
}Then load a tool-capable model and enable the server for the chat. LM Studio asks for confirmation before each tool call by default.
Security
Local models are talked into things. Every outbound request in this server —
including redirects and browser navigations — goes through net/guard.py,
which resolves the hostname and refuses:
loopback, RFC1918, link-local, reserved, and multicast addresses
cloud metadata endpoints (169.254.169.254)
anything but
httpandhttpsIPv4 addresses disguised as IPv6 (
::ffff:127.0.0.1) or as integers (http://2130706433/)
Without this, http_request would hand the model your router admin page and
every service you have bound to localhost.
Known gap: the guard resolves DNS, then httpx resolves it again to connect. A hostile authoritative nameserver can answer differently the second time (DNS rebinding) and reach a private address. Closing this needs a custom transport that connects to the already-validated IP. Acceptable for a local tool on a trusted network; not acceptable if you ever expose this server.
Configuration
All optional, all environment variables:
Variable | Default | Meaning |
|
|
|
| empty | Comma-separated hosts; when set, nothing else is reachable |
|
| Per-request timeout, seconds |
|
| Response body cap |
|
| Redirect hop limit |
| Chrome-ish | Sent on every request |
Tests
uv run pytestAvailable Tools
3 toolsfetch_urlA
Fetch a web page and return its main content as markdown.
Use this for ordinary pages and articles. If the result looks empty or is obviously a JavaScript shell, retry with render_page.
Inputs: url (required), max_chars.
http_requestA
Make an arbitrary HTTP request and return the raw response.
Use this for JSON APIs. For reading web pages prefer fetch_url, which strips navigation and boilerplate.
Inputs: url (required), body, method, headers, +1 more.
web_searchA
Search the web with DuckDuckGo.
Returns a list of results with title, url and snippet. Follow up with fetch_url on any result whose full text you need.
Inputs: query (required), region, max_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct role: web_search finds pages, fetch_url converts pages to markdown, and http_request handles raw API calls. The descriptions also explicitly steer agents toward the right tool, so confusion is unlikely.
web_search and fetch_url follow a clean verb_noun pattern, while http_request is a noun phrase and breaks the pattern. Overall the names are still simple, lowercase, and readable, with only one minor deviation.
Three tools is a reasonable, well-scoped size for a focused web access server. Each tool earns its place and there is no obvious redundancy.
The basic search/fetch/request workflow is covered, but fetch_url explicitly tells agents to retry with render_page for JavaScript-heavy pages while render_page does not exist in the tool set. This creates a notable dead end for those pages and makes the surface feel incomplete.
Maintenance
Related MCP Connectors
Search the web, fetch any URL and map a site as clean, LLM-ready Markdown.
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Fetch any URL as markdown, text, HTML or selector-built JSON; search Google, Bing, Yahoo and Brave.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables local LLMs to search the web, scrape pages, and extract structured data (tables, metadata) from sources like Wikipedia and IMDb, with caching and rate limiting.1MIT
- AlicenseAqualityBmaintenanceEnables web search, scraping, and live package version lookup for local LLMs, with no API keys required.52MIT
- AlicenseNot gradedqualityCmaintenanceEnables local LLMs to perform real-time web searches, scrape static and dynamic pages, extract HTML tables via headless Chromium, and check HTTP status, with safeguards against SSRF and prompt injection.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl pages or whole sites into clean Markdown or JSON, including authenticated crawls and STDIO/HTTP transport.-