by mshojaei77
ReActMCP is a reactive MCP client that empowers AI assistants to instantly respond with real-time, Markdown-formatted web search insights powered by the Exa API.
# Add to your Claude Code skills
git clone https://github.com/mshojaei77/ReActMCPReActMCP Web Search is an MCP (Model Context Protocol) server that integrates web search capabilities into your AI assistant framework. It leverages the Exa API to perform both basic and advanced web searches, returning real-time, markdown-formatted results including titles, URLs, publication dates, and content summaries.
This repository is part of the broader ReActMCP project that connects various MCP tools and servers to empower your AI assistant with a wide range of capabilities.
Clone the Repository
git clone https://github.com/mshojaei77/ReActMCP.git
cd ReActMCP
Create a Virtual Environment (Optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
Install Dependencies
pip install -r requirements.txt
Create a .env file in the project root directory with at least the following variable:
EXA_API_KEY=your_exa_api_key_here
OPENAI_API_KEY=...
This key is required by the Exa API for performing web searches.
The MCP configuration file mcp_config.json defines the settings and tools available to your MCP server. An example configuration is provided:
{
"websearch": {
"script": "web_search.py",
"encoding_error_handler": "ignore",
"description": "Web search capability using Exa API that provides real-time internet search results. Supports both basic and advanced search with filtering options including domain restrictions, text inclusion requirements, and date filtering. Returns formatted results with titles, URLs, publication dates, and content summaries.",
"required_env_vars": ["EXA_API_KEY"],
"a...