File size: 1,748 Bytes
7422798
0321eee
 
7422798
0321eee
7422798
 
 
 
0321eee
 
 
7422798
 
0321eee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8da874d
0321eee
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
title: MCP - RAG and Research
emoji: 🌍
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.32.1
app_file: app.py
pinned: false
license: mit
short_description: Demonstrates implementation of the MCP server using Gradio
tag: mcp-server-track
---

# πŸ‘ MCP powered RAG and Research 🌍

I present to you a MCP powered RAG and Research.

RAG Tool uses GroundX service to fetch the knowledge base. The knowledge base is a document that contains information about the SU-35 aircraft, including its features, capabilities, and specifications.
Please check [this PDF](https://airgroup2000.com/gallery/albums/userpics/32438/SU-35_TM_eng.pdf) to formulate queries on Sukhoi.

The Research Tool is implemented using multi-agent workflow using LlamaIndex (ResearchAgent, WriteAgent, and ReviewAgent).

## Available Tools

### search_knowledge_base_for_context
- **Description**: Searches and retrieves relevant context from a knowledge base based on the user's query.
- **Example Queries**:
    - "What are the main features of fuel system of SU-35."
    - "What are the combat potential of SU-35."

### research_write_review_topic
- **Description**: Helps with writing a report with research, writing, and review on any topic.
- **Example Queries**:
    - "Write me a report on the history of the internet."
    - "Write me a report on origin of the universe."
    - "Write me a report on the impact of climate change on polar bears."

## How to Use
- Use the MCP RAG Tool tab above to query the knowledge base.
- Use the Research Tool tab above to write report on any topic.

## Demo Link
[Link to Demo on Youtube](https://youtu.be/wvHBqW2ABGg)

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference