A fork of the Ollama Deep Researcher project that integrates with the web-mcp server for enhanced web search capabilities.
This project extends the original Ollama Deep Researcher by replacing the default search methods with the web-mcp server. This integration provides:
- More robust web scraping capabilities
- Improved content extraction
- Better handling of dynamic websites
-
Clone the repository:
git clone https://github.com/PreistlyPython/ollama-deep-researcher-web.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Ensure the web-mcp server is running and configured in your MCP settings.
-
Import the necessary components:
from assistant import State, Configuration, SearchAPI
-
Configure the assistant to use the web-mcp search:
config = Configuration(search_api=SearchAPI.WEB_MCP) state = State(configuration=config)
-
Use the search functionality:
results = state.search_web("Your search query") print(results)
- Web-MCP Integration: Uses the web-mcp server for improved web scraping
- Knowledge Graph: Builds a graph of related information
- State Management: Keeps track of conversation and search history
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.