WebSage
БесплатноНе проверенAI agent that can scrape websites, crawl pages, and extract structured data in real-time to answer your complex queries
Описание
AI agent that can scrape websites, crawl pages, and extract structured data in real-time to answer your complex queries
README
Python 3.13+ OpenAI License: MIT Firecrawl MCP
An intelligent conversational agent that combines OpenAI's GPT models with Firecrawl's powerful web scraping capabilities through the Model Context Protocol (MCP). Chat naturally with an AI that can scrape websites, crawl pages, and extract structured data in real-time.
🖼️ Snapshot

🔧 Prerequisites
- Python 3.13 or higher
- uv (efficient Python Package Management)
- Node.js (for Firecrawl MCP)
- OpenAI API key
- Firecrawl API key
📥 Installation
- Clone the project
git clone https://github.com/smaranjitghose/websage
- Navigate inside the directory
cd websage
- Create a
.envfile and store the API keys from OPENAI and FIRECRAWL as:
OPENAI_API_KEY=your-openai-api-key-here
FIRECRAWL_API_KEY=your-firecrawl-api-key-here
- Run the agent using uv (one the first run it will create a virtual environment and install the dependencies in it)
uv run main.py
- Start chatting with examples:
🗣️ You: Scrape https://news.ycombinator.com and get the top 5 story titles
🗣️ You: Extract all product prices from https://store.example.com
🗣️ You: Crawl https://blog.company.com and summarize the latest 3 articles
- Exit when done:
🗣️ You: quit
💡 Usage Examples
Basic Web Scraping
Scrape https://example.com for main content and headings
E-commerce Data Extraction
Get all product names and prices from https://shop.example.com/category/electronics
News and Content Analysis
Crawl https://techblog.com and extract all article titles published this month
Research and Data Collection
Scrape https://research-site.edu/publications and extract paper titles, authors, and abstracts
SEO and Competitive Analysis
Analyze the main headings and meta descriptions from https://competitor.com
🔍 How It Works
- MCP Integration - Uses Model Context Protocol to connect GPT with Firecrawl
- Tool Loading - Dynamically loads available Firecrawl scraping tools
- ReAct Agent - Employs reasoning and acting pattern for intelligent tool use
- Conversation Loop - Maintains context across multiple scraping requests
- Error Recovery - Handles network issues and API errors gracefully
🛡️ Best Practices
Ethical Scraping
- Always respect
robots.txtfiles - Be mindful of rate limiting and server load
- Only scrape publicly available content
- Consider reaching out to site owners for large-scale scraping
API Usage
- Monitor your Firecrawl and OpenAI API usage
- Set appropriate rate limits in production
- Cache results when appropriate to reduce API calls
🔧 Troubleshooting
Common Issues
"Invalid API key" errors
- Verify your
.envfile is in the correct location - Check that API keys are valid and have sufficient credits
- Ensure no extra spaces or quotes in the
.envfile
Connection timeout errors
- Check your internet connection
- Some websites may block automated requests
- Try with a different website to test functionality
Python import errors
uv add --upgrade mcp langchain-mcp-adapters langgraph langchain-openai python-dotenv
🤝 Contributing
Contributions are welcome! Here's how:
- Fork the repository
- Create a feature branch
git switch -c feature/amazing-feature
- Commit and push your changes
git commit -m "Add amazing feature"
git push origin feature/amazing-feature
- Open a pull request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Smaranjit Ghose
Установка WebSage
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/smaranjitghose/WebSageFAQ
WebSage MCP бесплатный?
Да, WebSage MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для WebSage?
Нет, WebSage работает без API-ключей и переменных окружения.
WebSage — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить WebSage в Claude Desktop, Claude Code или Cursor?
Открой WebSage на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare WebSage with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
