WebSearch
About
A web search and content extraction tool using the Firecrawl API for advanced web scraping, searching, and content analysis.
Details
- Author
- josemartinrodriguezmortaloni
- Categories
- Web Scraping, Search, Other
Jump to
Setup
Install WebSearch in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/josemartinrodriguezmortaloni/webSearch-Tools
Follow the installation instructions in the repository README, then restart your MCP client.
WebSearch - Advanced Web Search and Content Extraction Tool
A powerful web search and content extraction tool built with Python, leveraging the Firecrawl API for advanced web scraping, searching, and content analysis capabilities.
- Advanced Web Search: Perform intelligent web searches with customizable parameters
- Content Extraction: Extract specific information from web pages using natural language prompts
- Web Crawling: Crawl websites with configurable depth and limits
- Web Scraping: Scrape web pages with support for various output formats
- MCP Integration: Built as a Model Context Protocol (MCP) server for seamless integration
- Python 3.8 or higher
- uv package manager
- Firecrawl API key
- OpenAI API key (optional, for enhanced features)
- Tavily API key (optional, for additional search capabilities)
# On Windows (using pip) pip install uv # On Unix/MacOS curl -LsSf https://astral.sh/uv/install.sh | sh # Add uv to PATH (Unix/MacOS) export PATH="$HOME/.local/bin:$PATH" # Add uv to PATH (Windows - add to Environment Variables) # Add: %USERPROFILE%\.local\bin
git clone https://github.com/yourusername/websearch.git cd websearch
- Create and activate a virtual environment with uv:
# Create virtual environment uv venv # Activate on Windows .\.venv\Scripts\activate.ps1 # Activate on Unix/MacOS source .venv/bin/activate
# Create .env file touch .env # Add your API keys FIRECRAWL_API_KEY=your_firecrawl_api_key OPENAI_API_KEY=your_openai_api_key
Instead of running the server directly, you can configure Claude for Desktop to access the WebSearch tools:
-
Locate or create your Claude for Desktop configuration file:
- Windows:%env:AppData%\Claude\claude_desktop_config.json
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Add the WebSearch server configuration to themcpServerssection:
{ "mcpServers": { "websearch": { "command": "uv", "args": [ "--directory", "D:\\ABSOLUTE\\PATH\\TO\\WebSearch", "run", "main.py" ] } } }
-
Make sure to replace the directory path with the absolute path to your WebSearch project folder.
Save the configuration file and restart Claude for Desktop.
Once configured, the WebSearch tools will appear in the tools menu (hammer icon) in Claude for Desktop.
- query(str): The search query
- Returns: Search results in JSON format
- urls(List[str]): List of URLs to extract information from
- prompt(str): Instructions for extraction
- enableWebSearch(bool): Enable supplementary web search
- showSources(bool): Include source references
- Returns: Extracted information in specified format
- url(str): Starting URL
- maxDepth(int): Maximum crawl depth
- limit(int): Maximum pages to crawl
- Returns: Crawled content in markdown/HTML format
- url(str): Target URL
- Returns: Scraped content with optional screenshots
The tool requires certain API keys to function. We provide a.env.examplefile that you can use as a template:
# On Unix/MacOS cp .env.example .env # On Windows copy .env.example .env
# OpenAI API key - Required for AI-powered features OPENAI_API_KEY=your_openai_api_key_here # Firecrawl API key - Required for web scraping and searching FIRECRAWL_API_KEY=your_firecrawl_api_key_here
- VisitOpenAI's platform
- Sign up or log in
- Navigate to API keys section
- Create a new secret key
- VisitFirecrawl's website
- Create an account
- Navigate to your dashboard
- Generate a new API key
If everything is configured correctly, you should receive a JSON response with search results.
- Ensure all required API keys are set in your.envfile
- Verify the API keys are valid and have not expired
- Check that the.envfile is in the root directory of the project
- Make sure the environment variables are being loaded correctly
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
This project is licensed under the MIT License - see theLICENSEfile for details.
- Firecrawlfor their powerful web scraping API
- OpenAIfor AI capabilities
- MCPThe MCP community for the protocol specification
José Martín Rodriguez Mortaloni -@m4s1t425-jmrodriguezm13@gmail.com
An advanced web search and content extraction tool powered by the Firecrawl API for web scraping and analysis.
Adds powerful web scraping and search capabilities to LLM clients like Cursor and Claude.
Official OpenWeb Ninja MCP server connecting any AI agent to 40+ web data APIs for web search, e-commerce, local business, jobs, real estate, and finance data.
Integrate real-time Scrapeless Google SERP(Google Search, Google Flight, Google Map, Google Jobs....) results into your LLM applications. This server enables dynamic context retrieval for AI workflows, chatbots, and research tools.
Unified MCP server giving any AI agent access to 20+ social platforms, web search, scraping, and crypto data — one install, any MCP client.
MCP server for Al Jazeera 360 — Connect AI assistants to Al Jazeera's streaming catalog. Search, browse, and retrieve Arabic video content with direct watch links.
Scrapes and searches for products on Amazon.
An MCP server that connects AI agents to Amazon product, search, and review data across 20 marketplaces via the ChocoData Amazon Scraper API.
Interact with the Bilibili video website, enabling actions like searching for videos, retrieving video information, and accessing user data.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



