Enables web searching via DuckDuckGo, including standard, intelligent, and news-specific searches, as well as tools to search and automatically scrape content from 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 Web Scraper ServerSearch for the latest news on artificial intelligence"
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.
π Production MCP Web Scraper Server
A modular, production-ready MCP server built with the official MCP Python SDK. Optimized for Render deployment with clean separation of concerns.
π Project Structure
β¨ Features
π Search Tools (tools/search.py)
web_search - DuckDuckGo web search
news_search - News articles with metadata
search_and_scrape - Search + content extraction
smart_search - Adaptive search (quick/standard/comprehensive)
π Scraping Tools (tools/scraping.py)
scrape_html - HTML scraping with CSS selectors
extract_article - Clean article extraction
extract_links - Link extraction with filtering
extract_metadata - Page metadata & Open Graph
scrape_table - Table data extraction
π Quick Deploy to Render
Step 1: Create Project Structure
Step 2: Push to GitHub
Step 3: Deploy on Render
Go to render.com
Click "New +" β "Web Service"
Connect your GitHub repository
Render auto-detects
render.yamlClick "Create Web Service"
Wait 2-3 minutes β¨
Step 4: Get Your URL
Your service: https://your-app.onrender.com
MCP endpoint: https://your-app.onrender.com/mcp
π Connect to Claude Desktop
Config Location
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Configuration
Restart Claude Desktop after updating config!
π» Local Development
Server runs at http://localhost:8000/mcp
Test Locally
π οΈ Adding New Tools
1. Search Tool Example
Edit tools/search.py:
2. Scraping Tool Example
Edit tools/scraping.py:
3. Deploy Changes
π Monitoring
View Logs
Render Dashboard β Your Service
Click "Logs" tab
View real-time logs
Health Check
π― Architecture Benefits
β Modular Design
Separation of concerns - Each file has one responsibility
Easy to maintain - Find and update code quickly
Scalable - Add new tools without touching existing code
β Clean Code
Type hints - Better IDE support and error catching
Logging - Track all operations
Error handling - Graceful failures with detailed errors
β Production Ready
Official MCP SDK - FastMCP framework
Streamable HTTP - Single endpoint communication
Stateless - Horizontally scalable
Health checks - Automatic monitoring
π¬ Example Usage in Claude
"Search for latest quantum computing news"
"Extract the article from https://example.com/post"
"Find and scrape top 5 articles about AI safety"
"Get all links from https://news.ycombinator.com"
"Do comprehensive research on renewable energy"
π Troubleshooting
Import Errors
Tools Not Registered
Check logs for "Registering X tools..." messages
Module Not Found
Ensure all __init__.py files exist in:
tools/__init__.pyutils/__init__.py
π Resources
π License
MIT License - Free to use and modify!
Modular β | Production-Ready β | Easy to Extend β