Skip to main content
Glama

Personal AI Assistant MCP

by debajoycs98
WEBSEARCH_INTEGRATION_SUMMARY.txtβ€’9.5 kB
╔══════════════════════════════════════════════════════════════════════════╗ β•‘ β•‘ β•‘ ✨ WebSearch-MCP Integration Successfully Completed! ✨ β•‘ β•‘ β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• Reference: https://mcpservers.org/servers/mnhlt/WebSearch-MCP ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“¦ WHAT WAS CREATED: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ βœ… docker-compose.yml β†’ Docker configuration for WebSearch crawler + FlareSolverr β†’ Uses Mac Apple Silicon compatible images βœ… start_websearch.sh (executable) β†’ Helper script to start Docker services β†’ Includes health checks and status monitoring βœ… test_websearch.py (executable) β†’ Comprehensive test script for web search functionality β†’ Tests basic search, news, and weather queries βœ… WEBSEARCH_SETUP.md β†’ Complete documentation for WebSearch setup β†’ Architecture diagrams β†’ Troubleshooting guide β†’ Docker commands reference βœ… QUICKSTART.md β†’ 5-minute quick start guide β†’ Step-by-step instructions β†’ Common commands and troubleshooting βœ… web_search.py (UPDATED) β†’ Now uses WebSearch-MCP crawler API β†’ Rich results with metadata β†’ Advanced filtering (all, news, blogs) β†’ Language and region support β†’ Cloudflare bypass capability βœ… ReadMe.md (UPDATED) β†’ Added WebSearch features documentation β†’ Updated prerequisites (Docker, etc.) β†’ Added quick setup instructions βœ… .env (UPDATED) β†’ Added WEBSEARCH_API_URL=http://localhost:3001 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 FEATURES YOU NOW HAVE: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌐 Real-Time Web Search β€’ Production-ready crawler service β€’ Google search integration β€’ Rich metadata (titles, snippets, URLs, authors, sources) πŸ”“ Cloudflare Bypass β€’ FlareSolverr integration β€’ Access to protected websites β€’ Automatic CAPTCHA handling πŸ“° Advanced Filtering β€’ All results (general web) β€’ News articles only β€’ Blog posts only β€’ Language filtering β€’ Region-specific results πŸ“Š Rich Results β€’ Page titles β€’ Content snippets β€’ Full URLs β€’ Site names β€’ Author/byline information ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸš€ HOW TO START USING IT: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STEP 1: Start Docker Desktop β€’ Open Docker Desktop app β€’ Wait for it to be fully running (Docker icon in menu bar) STEP 2: Start WebSearch Services cd ~/Desktop/Programming_llms/model_context_protocol ./start_websearch.sh STEP 3: Wait 30-60 seconds for services to initialize STEP 4: Test the Setup uv run python test_websearch.py STEP 5: Use in Your AI Assistant uv run python ai_chat_assistant.py ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ’¬ EXAMPLE QUERIES TO TRY: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ In your AI assistant, try asking: β€’ "Search the web for Python 3.12 new features" β€’ "What's the latest news about SpaceX?" β€’ "Search for React best practices 2025" β€’ "Find articles about quantum computing" β€’ "What's the weather in San Francisco?" β€’ "Search for AAPL stock price" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“š DOCUMENTATION: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“„ QUICKSTART.md β†’ 5-minute setup guide πŸ“„ WEBSEARCH_SETUP.md β†’ Detailed WebSearch documentation πŸ“„ ReadMe.md β†’ Complete project documentation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ—οΈ ARCHITECTURE: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ User Question ↓ AI Assistant (ai_chat_assistant.py) ↓ Python MCP Server (web_search.py) ↓ HTTP POST WebSearch Crawler API (Docker: localhost:3001) ↓ FlareSolverr (Cloudflare Bypass) ↓ 🌐 Internet (Google, News, Blogs) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🐳 DOCKER SERVICES: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Service 1: websearch-api β€’ Image: laituanmanh/websearch-crawler:latest β€’ Port: 3001 β€’ Purpose: Web crawling and search Service 2: flaresolverr β€’ Image: 21hsmw/flaresolverr:nodriver β€’ Port: 8191 β€’ Purpose: Bypass Cloudflare protection ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ βš™οΈ USEFUL COMMANDS: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Start Services: ./start_websearch.sh OR: docker-compose up -d Stop Services: docker-compose down Check Status: docker-compose ps View Logs: docker-compose logs -f Test API: curl http://localhost:3001/health Restart: docker-compose restart ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚠️ IMPORTANT NOTES: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ β€’ Docker Desktop MUST be running for web search to work β€’ First search may take 10-20 seconds (containers warming up) β€’ Subsequent searches are faster (2-5 seconds) β€’ Services use ~500MB RAM β€’ Stop services when done to save resources: docker-compose down ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸŽ‰ YOU'RE ALL SET! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Your Personal AI Assistant now has production-grade web search capabilities! Next: Start Docker Desktop, run ./start_websearch.sh, and enjoy real-time web searching in your AI assistant! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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/debajoycs98/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server