deep_researcher
by blue007-arc
README.md
# Deep Researcher Agent & MCP Server šš§
[](https://www.python.org/downloads/)
[](https://www.agno.com/)
[](https://modelcontextprotocol.io/)
[](https://streamlit.io)
[](LICENSE)
[](https://github.com/blue007-arc)
An autonomous multi-stage AI research workflow agent that searches the web, analyzes unstructured data, and compiles publication-quality technical reports. Features both a **Streamlit Web UI** and a native **Model Context Protocol (MCP) server** for integration with Claude Desktop and Cursor.
Developed and maintained by **[Sakshi Pandey](https://github.com/blue007-arc)** (`231FA04H01@gmail.com`).
---
## šļø Multi-Stage Pipeline Workflow
```mermaid
graph TD
classDef inputNode fill:#1E293B,stroke:#38BDF8,stroke-width:2px,color:#F8FAFC;
classDef stageNode fill:#0F172A,stroke:#818CF8,stroke-width:2px,color:#F8FAFC;
classDef outputNode fill:#064E3B,stroke:#34D399,stroke-width:2px,color:#FFF;
Topic["šÆ User Research Query / Topic"]:::inputNode
subgraph AutonomousResearchPipeline ["š Multi-Stage Agno Workflow Engine"]
Topic --> Searcher["š Searcher Agent<br/><i>(Scrapegraph AI & Web Extraction)</i>"]:::stageNode
Searcher --> Analyst["š Analyst Agent<br/><i>(Pattern synthesis & data normalization)</i>"]:::stageNode
Analyst --> Writer["āļø Writer Agent<br/><i>(Markdown synthesis with inline citations)</i>"]:::stageNode
end
subgraph ClientInterfaces ["š Delivery Channels"]
Writer --> StreamlitUI["š» Streamlit Web UI<br/><i>(Interactive research exploration)</i>"]:::outputNode
Writer --> MCPServer["š Native MCP Server<br/><i>(Direct tool in Claude Desktop & Cursor)</i>"]:::outputNode
end
```
---
## š Key Features
- **š Multi-Stage Orchestration**: Dedicated sub-agents (Searcher, Analyst, Writer) collaborate sequentially to produce exhaustive, cited research reports.
- **š AI-Assisted Scraping**: Extracts data from live web pages using Scrapegraph AI and Nebius AI models.
- **š Native MCP Server**: Exposes the deep research pipeline as an MCP tool directly accessible inside **Claude Desktop**, **Cursor**, or any MCP-compatible client.
- **š» Multiple Interfaces**: Run research workflows via Streamlit web app, direct command line script, or through the background MCP server.
---
## š ļø Tech Stack
- **Agent Orchestrator**: [Agno](https://www.agno.com/)
- **Inference Provider**: [Nebius Token Factory](https://tokenfactory.nebius.com) (Qwen / Llama models)
- **Web Extraction**: [Scrapegraph AI](https://scrapegraphai.com/)
- **Protocol**: [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
- **UI & Visualization**: [Streamlit](https://streamlit.io/)
---
## š Repository Structure
```text
deep-researcher-agent-mcp/
āāā app.py # Streamlit web interface
āāā agents.py # Core multi-stage agent pipeline (Searcher, Analyst, Writer)
āāā server.py # Native Model Context Protocol (MCP) server
āāā assets/ # Architecture graphics and demo assets
āāā pyproject.toml # uv / pip dependency specifications
āāā .env.example # API key template
āāā .gitignore # Git ignore rules
āāā LICENSE # MIT License
```
---
## ā” Quick Start
### 1. Prerequisites
- Python 3.10 or higher
- [uv](https://github.com/astral-sh/uv) (recommended) or `pip`
- [Nebius Token Factory](https://tokenfactory.nebius.com) API Key
- [Scrapegraph AI](https://scrapegraphai.com/) API Key
### 2. Installation
```bash
# Clone the repository
git clone https://github.com/blue007-arc/deep-researcher-agent-mcp.git
cd deep-researcher-agent-mcp
# Install dependencies with uv
uv sync
```
### 3. Environment Setup
```bash
cp .env.example .env
```
Add your API keys to `.env`:
```env
NEBIUS_API_KEY=your_nebius_api_key_here
SGAI_API_KEY=your_scrapegraph_api_key_here
```
---
## š» Running the Agent
### Option 1: Web Interface (Streamlit)
```bash
uv run streamlit run app.py
```
Open `http://localhost:8501` in your browser. Enter any topic (e.g. *"State of Autonomous Coding Agents in 2025"*) and watch the multi-stage research flow stream in real-time.
### Option 2: Command Line
```bash
uv run python agents.py
```
### Option 3: Connect to Claude Desktop or Cursor (MCP)
Add the server configuration to your `claude_desktop_config.json` or `.cursor/mcp.json`:
```json
{
"mcpServers": {
"deep_researcher": {
"command": "python",
"args": [
"run",
"server.py"
],
"env": {
"NEBIUS_API_KEY": "your_nebius_api_key_here",
"SGAI_API_KEY": "your_scrapegraph_api_key_here"
}
}
}
}
```
---
## š¤ Author & Maintainer
**Sakshi Pandey**
- GitHub: [@blue007-arc](https://github.com/blue007-arc)
- Email: [231FA04H01@gmail.com](mailto:231FA04H01@gmail.com)
---
## š License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues