mcp-web
Provides web search capabilities through DuckDuckGo, returning titles, URLs, and snippets for 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., "@mcp-websearch 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: mcp-web-tools
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_chars | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the burden of behavior. It discloses the markdown-conversion behavior and hints that JavaScript-heavy pages are not handled, but it does not explicitly state that JavaScript is not executed, nor does it describe truncation via max_chars, error cases, or request-side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, with the core purpose first, usage guidance second, and the conditional fallback last. Every sentence contributes meaningful information with no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter fetch tool without an output schema, the description covers purpose, output format, and a key failure mode. It is slightly incomplete around max_chars semantics and does not mention whether the request is static-only, but it is otherwise sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description adds no parameter-level detail. 'url' is inferable from the first sentence, but 'max_chars' is never explained even though it has a default and likely controls output truncation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with a specific verb and resource ('Fetch a web page') and states the output format ('main content as markdown'). It also distinguishes itself from the JavaScript-rendering alternative by targeting 'ordinary pages and articles', making the tool's role clear relative to siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says when to use the tool ('ordinary pages and articles') and provides a concrete fallback condition ('If the result looks empty or is obviously a JavaScript shell, retry with render_page'). This is direct when/when-not guidance with a named alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| method | No | GET | |
| headers | No | ||
| max_chars | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It does disclose that the tool returns the raw response and makes arbitrary requests, which is useful. However, it does not mention that the response may be truncated or limited by max_chars, nor does it discuss error behavior, redirects, or authentication. These are meaningful gaps for an unrestricted HTTP client.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no filler. The core function is front-loaded in the first sentence, and the second sentence provides direct routing guidance. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a generic HTTP tool with 5 parameters, no output schema, and no annotations, the description is adequate but incomplete. It clearly explains what the tool does and when to use it, but leaves key invocation details such as response truncation, parameter roles, and error handling entirely to inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for undocumented parameters. It does not mention url, method, body, headers, or max_chars by name or explain their semantics. The phrase 'arbitrary HTTP request' loosely implies method and body flexibility, but max_chars is completely unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Make an arbitrary HTTP request and return the raw response.' It also distinguishes itself from fetch_url by noting that fetch_url is preferred for web pages. This clearly separates the tool from its siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says 'Use this for JSON APIs' and provides a direct alternative: 'For reading web pages prefer fetch_url.' This gives an agent a clear decision rule for when to use this tool versus a sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| region | No | wt-wt | |
| max_results | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of describing behavior. It discloses the search engine, result shape, and the need to fetch full text separately, but it does not mention rate limits, pagination behavior, or failure modes. This is adequate but not richly transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences front-load the purpose, then define the output, then give follow-up guidance. Every sentence earns its place with no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only search tool, the description covers core invocation, output shape, and the natural next step. However, missing parameter semantics and a lack of caveats about limitations leave minor but real gaps for an agent relying only on this text.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description adds no per-parameter meaning. The query parameter is inferable, but the region format (e.g., 'wt-wt') and the exact effect of max_results are left undefined.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action and resource: 'Search the web with DuckDuckGo.' It also defines the output as a list of results with title, url and snippet, clearly distinguishing it as a search tool rather than a generic HTTP fetcher.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly instructs the agent to 'Follow up with fetch_url on any result whose full text you need,' which provides a clear condition for using a sibling tool. However, it does not mention when to prefer http_request or provide exclusions for web_search, so it stops short of full coverage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Fetch pages as markdown, search web and news, extract structured data. For AI agents.
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
Web data tools for AI agents: pages as markdown, search, maps, commerce, jobs, AI answers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 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.3MIT
- AlicenseAqualityDmaintenanceProvides web access capabilities for LLMs including search, fetching, content extraction, PDF reading, image viewing, and screenshots.346MIT
- FlicenseNot gradedqualityDmaintenanceEnables tool-calling LLMs to search the internet, capture website images, extract webpage text, and more via a local MCP server.15
- AlicenseNot gradedqualityCmaintenanceEnables 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.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/MrDadpool/mcp-web'
If you have feedback or need assistance with the MCP directory API, please join our Discord server