LiveKit RAG Assistant

LiveKit RAG Assistant

Enables AI-powered semantic search and question-answering for LiveKit documentation using Pinecone vector search and real-time web search with Tavily, providing detailed responses with source attribution.

Category
Visit Server

README

šŸ’¬ LiveKit RAG Assistant v2.0

Enterprise-grade AI semantic search + real-time web integration for LiveKit documentation

šŸŽÆ Features

  • Dual Search: Pinecone docs (3,000+ vectors) + Tavily real-time web
  • Standard MCP: Async LangChain with Model Context Protocol
  • Ultra-Fast: Groq LLM (llama-3.3-70b) sub-5s responses
  • Premium UI: Glassmorphism design with 60+ animations
  • Source Attribution: Full transparency on every answer

šŸš€ Quick Start

# Setup
conda create -n langmcp python=3.12
conda activate langmcp
pip install -r requirements.txt

# Configure .env
GROQ_API_KEY=your_key
TAVILY_API_KEY=your_key
PINECONE_API_KEY=your_key
PINECONE_INDEX_NAME=livekit-docs

# Terminal 1: Start MCP Server
python mcp_server_standard.py

# Terminal 2: Start UI
streamlit run app.py

App opens at http://localhost:8501

šŸ—ļø Architecture

Streamlit (app.py) → MCP Server → Dual Search:
ā”œā”€ Pinecone: Semantic search on embeddings (384-dim)
└─ Tavily: Real-time web results
    ↓
Groq LLM (2048 tokens, temp 0.3) → Response + Sources

šŸ”§ Tech Stack

Layer Tech Purpose
Frontend Streamlit Premium glassmorphism UI
Backend MCP Standard Async subprocess
LLM Groq API Ultra-fast inference
Embeddings HuggingFace all-MiniLM-L6-v2 (384-dim)
Vector DB Pinecone Serverless similarity search
Web Search Tavily Real-time internet results

šŸ“š Usage

  1. Choose mode: šŸ“š Docs or ļæ½ Web
  2. Ask naturally: "How do I set up LiveKit?"
  3. Get instant answer with šŸ“„ sources
  4. Copy messages or re-ask from history

⚔ Performance

  • First query: ~15-20s (model load)
  • Cached queries: 2-5s
  • Search latency: <500ms

šŸ› ļø Configuration

GROQ_API_KEY=gsk_***
TAVILY_API_KEY=tvly_***
PINECONE_API_KEY=***
PINECONE_INDEX_NAME=livekit-docs

šŸ”„ Populate Docs

python ingest_docs_quick.py  # Creates 3,000+ vector chunks

šŸ“Š Files

  • app.py - Streamlit UI with premium design
  • mcp_server_standard.py - MCP server with tools
  • ingest_docs_quick.py - Document ingestion
  • requirements.txt - Dependencies
  • .env - API keys

🚨 Troubleshooting

Issue Solution
No results Try web mode or different keywords
MCP not found Start mcp_server_standard.py in Terminal 1
Slow first response Normal (15-20s) - model initializes once
API errors Verify all keys in .env file

ļæ½ Features

āœ… Real-time chat with 60+ animations āœ… Semantic + keyword hybrid search āœ… Copy-to-clipboard for messages āœ… Recent query suggestions āœ… System status dashboard āœ… Chat history persistence āœ… Query validation + error handling


Version: 2.0 | Status: āœ… Production Ready | Created: November 2025

šŸ‘Øā€šŸ’» By @THENABILMAN | ļæ½ Open Source | ā¤ļø For Developers

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured