A web search and content extraction tool using the Firecrawl API for advanced web scraping, searching, and content analysis.
A powerful web search and content extraction tool built with Python, leveraging the Firecrawl API for advanced web scraping, searching, and content analysis 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 virtual environment
uv venv
# Activate on Windows
.\.venv\Scripts\activate.ps1
# Activate on Unix/MacOS
source .venv/bin/activate
# Install from requirements.txt
uv sync
# 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:
%env:AppData%\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
Add the WebSearch server configuration to the mcpServers
section:
{
"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.
Search
Extract Information
Crawl Websites
Scrape Content
query
(str): The search queryurls
(List[str]): List of URLs to extract information fromprompt
(str): Instructions for extractionenableWebSearch
(bool): Enable supplementary web searchshowSources
(bool): Include source referencesurl
(str): Starting URLmaxDepth
(int): Maximum crawl depthlimit
(int): Maximum pages to crawlurl
(str): Target URLThe tool requires certain API keys to function. We provide a .env.example
file that you can use as a template:
# On Unix/MacOS
cp .env.example .env
# On Windows
copy .env.example .env
.env
file with your API keys:# 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
OpenAI API Key:
Firecrawl API Key:
If everything is configured correctly, you should receive a JSON response with search results.
If you encounter errors:
.env
file.env
file is in the root directory of the projectgit checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License - see the LICENSE file for details.
JosΓ© MartΓn Rodriguez Mortaloni - @m4s1t425 - jmrodriguezm13@gmail.com
Made with β€οΈ using Python and Firecrawl
An MCP server using Playwright for browser automation and webscrapping
MCP Server to let Claude / your AI control the browser
A MCP server to retrieve up-to-date jobs from company career sites.
Render website screenshots with ScreenshotOne
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.
Scrape websites with Oxylabs Web API, supporting dynamic rendering and parsing for structured data extraction.
Playwright MCP server
Query financial web tables from sources like iwencai, tdx, and eastmoney using Playwright.
Interact with WebScraping.AI for web data extraction and scraping.
A server for browser automation using Google Chrome, based on the MCP framework.