MCP Web Utilities Server MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
uv sync
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add web-utilities -- node "<FULL_PATH_TO_MCPSERVER>/dist/index.js"

Replace <FULL_PATH_TO_MCPSERVER>/dist/index.js with the actual folder you prepared in step 1.

README.md

Lightweight server exposing web search and page fetching

MCP Web Utilities Server

Lightweight server exposing web search and page fetching through:

  • MCP (stdio) for MCP clients
  • OpenAPI HTTP (FastAPI)
Features
  • search_on_web and search_on_website using ddgs (DDGS | Dux Distributed Global Search, a multi-source search engine).
  • fetch_webpage that returns simplified Markdown using crawl4ai with stealth settings.
Requirements
  • Python 3.13+
  • uv installed
Setup

Install uv on Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uv sync

Then activate the virtual environment and run the crawler setup:

.venv\Scripts\activate
crawl4ai-setup
Run the server

MCP (stdio):

uv run src\main.py

Or when developing:

start_mcp_server.cmd

OpenAPI HTTP (127.0.0.1:8000):

uv run uvicorn src.mainhttp:app --host 127.0.0.1 --port 8000

Or when developing:

start_mcp_server_http.cmd

OpenAPI schema:

http://127.0.0.1:8000/openapi.json
LM Studio Configuration

To use this server in LM Studio, add the following to your MCP settings (mcp.json):

{
  "mcpServers": {
    "web-utilities": {
      "command": "uv",
      "args": [
        "--directory",
        "D:\\Dev\\McpServer",
        "run",
        "src\\main.py"
      ]
    }
  }
}

Note: Replace D:\\Dev\\McpServer with the actual path to your project.

Tools

search_on_web(query: str, results: int = 10) -> str

  • Returns results formatted as:
[title](url)
description

search_on_website(query: str, sites: list[str], results: int = 10) -> str

  • Same format, restricted to the provided sites.

fetch_webpage(target_url: str) -> str

  • Returns simplified Markdown for the target page.
OpenAPI Endpoints
  • GET /search/web?query=...&results=10
  • GET /search/website?query=...&sites=example.com&sites=docs.python.org&results=10
  • GET /webpage?target_url=https://example.com
  • GET /date
Tests
python -m unittest src.tests
Notes
  • Avoid writing to STDOUT (e.g., print) when the server is running; it will break JSON RPC communication.
  • Network-dependent tests may fail if external services are blocked in the current environment.

Tools (3)

search_on_webPerforms a web search using DuckDuckGo and returns results with titles, URLs, and descriptions.
search_on_websitePerforms a web search restricted to specific websites.
fetch_webpageFetches a webpage and returns its content as simplified Markdown.

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "web-utilities": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/McpServer",
        "run",
        "src\\main.py"
      ]
    }
  }
}

Try it

Search the web for the latest updates on MCP protocol developments.
Find documentation on Python 3.13 features by searching specifically on python.org.
Fetch the content of this URL and summarize the key technical requirements: https://example.com/article
Search for recent news about AI regulations and provide a summary of the top 5 results.

Frequently Asked Questions

What are the key features of MCP Web Utilities Server?

Web search capabilities via DuckDuckGo. Targeted site searching for specific domains. Webpage content extraction into simplified Markdown. Stealth-enabled scraping using crawl4ai. Dual interface support via MCP (stdio) and OpenAPI (HTTP).

What can I use MCP Web Utilities Server for?

Researching current events by aggregating search results directly into the chat context.. Extracting clean text from documentation pages to help the AI answer technical questions.. Monitoring specific websites for updates by restricting search queries to those domains.. Automating the retrieval of web content for analysis without manual copy-pasting..

How do I install MCP Web Utilities Server?

Install MCP Web Utilities Server by running: uv sync

What MCP clients work with MCP Web Utilities Server?

MCP Web Utilities Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep MCP Web Utilities Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare