🕷️ MCP Web Scrape
Clean, cached web content for agents—Markdown + citations, robots-aware, ETag/304 caching.
📦 Version
Current Version: 1.0.7
🚀 Quick Start Demo
# Extract content from any webpage
npx [email protected]
# Example: Extract from a news article
> extract_content https://news.ycombinator.com
✅ Extracted 1,247 words with 5 citations
📄 Clean Markdown ready for your AI agent
🎯 Tool Examples
# Extract all forms from a webpage
> extract_forms https://example.com/contact
✅ Found 3 forms with 12 input fields
# Parse tables into structured data
> extract_tables https://example.com/data --format json
✅ Extracted 5 tables with 247 rows
# Find social media profiles
> extract_social_media https://company.com
✅ Found Twitter, LinkedIn, Facebook profiles
# Analyze sentiment of content
> sentiment_analysis https://blog.example.com/article
✅ Sentiment: Positive (0.85), Emotional tone: Optimistic
# Extract named entities
> extract_entities https://news.example.com/article
✅ Found 12 people, 8 organizations, 5 locations
# Check for security vulnerabilities
> scan_vulnerabilities https://mysite.com
✅ No XSS vulnerabilities found, 2 header improvements suggested
# Analyze competitor SEO
> analyze_competitors ["https://competitor1.com", "https://competitor2.com"]
✅ Competitor analysis complete: keyword gaps identified
# Monitor uptime and performance
> monitor_uptime https://mysite.com --interval 300
✅ Uptime: 99.9%, Average response: 245ms
# Generate comprehensive report
> generate_reports https://website.com --metrics ["seo", "performance", "security"]
✅ Generated 15-page analysis report
⚡ Quick Start
# Install globally
npm install -g [email protected]
# Try it instantly (latest version)
npx mcp-web-scrape@latest
# Try specific version
npx [email protected]
# Or start HTTP server
node dist/http.js
ChatGPT Desktop Setup
Add to your ~/Library/Application Support/ChatGPT/config.json:
{
"mcpServers": {
"web-scrape": {
"command": "npx",
"args": ["[email protected]"]
}
}
}
Claude Desktop Setup
Add to your ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"web-scrape": {
"command": "npx",
"args": ["[email protected]"]
}
}
}
🛠️ Available Tools
Core Extraction Tools
Advanced Extraction Tools
Content Transformation Tools
Advanced Analysis Tools
SEO & Marketing Tools
Security & Privacy Tools
Advanced Monitoring Tools
Analysis & Monitoring Tools
🤔 Why Not Just Use Built-in Browsing?
Deterministic Results → Same URL always returns identical content
Smart Citations → Every fact links back to its source
Robots Compliant → Respects robots.txt and rate limits
Lightning Fast → ETag/304 caching + persistent storage
Agent-Optimized → Clean Markdown instead of messy HTML
🔒 Safety First
- ✅ Respects robots.txt by default
- ✅ Rate limiting prevents server overload
- ✅ No paywall bypass - ethical scraping only
- ✅ User-Agent identification for transparency
📦 Installation
# Install specific version
npm install -g [email protected]
# Or use directly (latest)
npx mcp-web-scrape@latest
# Or use specific version
npx [email protected]
🔧 Configuration
# Environment variables
export MCP_WEB_SCRAPE_CACHE_DIR="./cache"
export MCP_WEB_SCRAPE_USER_AGENT="MyBot/1.0"
export MCP_WEB_SCRAPE_RATE_LIMIT="1000"
🌐 Transports
STDIO (default)
mcp-web-scrape
HTTP/SSE
node dist/http.js --port 3000
📚 Resources
Access cached content as MCP resources:
cache://news.ycombinator.com/path → Cached page content
cache://stats → Cache statistics
cache://robots/news.ycombinator.com → Robots.txt status
🤝 Contributing
We love contributions! See CONTRIBUTING.md for guidelines.
Good First Issues:
- Add new content extractors
- Improve error handling
- Write more tests
- Enhance documentation
📄 License
MIT © Mahipal
🌟 Star History
Built with ❤️ for the Model Context Protocol ecosystem