web-mcp
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., "@web-mcpsearch for latest technology trends"
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 Server
A Model Context Protocol (MCP) server for web search and URL content retrieval, built with FastMCP.
Features
Web Search: Search the web using DuckDuckGo
URL Content Retrieval: Fetch and parse content from any URL as markdown
HTML pages: Convert to clean markdown format
Files: Extract text from various file types via Goggles API (PDF, DOCX, etc.)
Related MCP server: DuckDuckGo MCP Server
Running Locally
Prerequisites
Python 3.13+
Virtual environment (recommended)
Setup
# Create and activate virtual environment
python -m venv .venv
.venv\Scripts\Activate.ps1 # Windows PowerShell
# or
source .venv/bin/activate # Linux/Mac
# Install dependencies
pip install -r requirements.txt
# Run the server
python app.pyThe server will be available at:
MCP Endpoint: http://localhost:8000/mcp
Running with Docker
Build and run with Docker Compose (Recommended)
# Build and start the container
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the container
docker-compose downBuild and run with Docker directly
# Build the image
docker build -t web-mcp-server .
# Run the container
docker run -d -p 8000:8000 --name web-mcp-server web-mcp-server
# View logs
docker logs -f web-mcp-server
# Stop the container
docker stop web-mcp-server
docker rm web-mcp-serverMCP Tools
search_web - Web Search
Search the web using DuckDuckGo.
Parameters:
query(string, required): The search query
get_url_content - Get URL Content
Retrieve and parse content from a URL, returned as markdown with pagination support.
Parameters:
url(string, required): The URL to fetch content fromoffset(integer, optional): Character offset to start from (default: 0)limit(integer, optional): Maximum characters to return (default: 10000, max: 50000)
Response includes pagination info:
total: Total content lengthreturned: Characters returned in this responsehas_more: Whether more content is available
MCP Integration
Connect this server to any MCP client (Claude Desktop, Cursor, Windsurf) using:
{
"mcpServers": {
"web-mcp": {
"url": "http://localhost:8000/mcp/"
}
}
}Configuration
Goggles API Endpoint
The Goggles API endpoint can be configured via the GOGGLES_URL environment variable.
Default: http://localhost:8001
Set via environment variable:
# Linux/Mac
export GOGGLES_URL=http://your-goggles-instance:8001
# Windows PowerShell
$env:GOGGLES_URL="http://your-goggles-instance:8001"
# Docker
docker run -e GOGGLES_URL=http://your-goggles-instance:8001 -p 8000:8000 web-mcp-server
# Docker Compose
# Create a .env file in the project root:
echo "GOGGLES_URL=http://your-goggles-instance:8001" > .envDocker Hub Deployment
This repository includes a GitHub Actions workflow that automatically builds and pushes Docker images to Docker Hub when code is pushed to the main branch.
Setup GitHub Secrets and Variables
To enable automatic Docker Hub deployment, configure the following in your GitHub repository settings:
Secrets (Settings → Secrets and variables → Actions → New repository secret):
DOCKER_PASSWORD: Your Docker Hub password or access token
Variables (Settings → Secrets and variables → Actions → New repository variable):
DOCKER_USERNAME: Your Docker Hub username
Once configured, every push to main will automatically build and push a new Docker image tagged with both latest and the commit SHA.
Dependencies
fastmcp - Modern MCP server framework
requests - HTTP client
beautifulsoup4 - HTML parsing
markdownify - HTML to markdown conversion
This server cannot be installed
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 Servers
- Flicense-qualityCmaintenanceEnables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.
- AlicenseBqualityDmaintenanceEnables web search through DuckDuckGo and webpage content fetching with intelligent text extraction. Features built-in rate limiting and LLM-optimized result formatting for seamless integration with language models.62MIT
- AlicenseBqualityDmaintenanceEnables web searching via DuckDuckGo and extracting readable content from any URL using Mozilla Readability, providing web context similar to Cursor's built-in functionality.21534MIT
- Alicense-qualityDmaintenanceEnables AI assistants to read webpages and perform web searches using DuckDuckGo.MIT
Related MCP Connectors
Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.
Read any web page as clean Markdown for AI agents: fetch, search, metadata, links. SSRF-safe.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
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/magico13/web-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server