Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Cocktails RAG Server

БесплатноНе проверен

Provides cocktail recommendations using a Retrieval-Augmented Generation (RAG) pipeline powered by LangChain, FAISS, and Groq. It enables users to search for co

GitHubEmbed

Описание

Provides cocktail recommendations using a Retrieval-Augmented Generation (RAG) pipeline powered by LangChain, FAISS, and Groq. It enables users to search for cocktail recipes and receive personalized drink suggestions through natural language.

README

MCP tool for cocktail recommendations using RAG (Retrieval-Augmented Generation).

Requirements

Quick Start

  1. Get Groq API key (free): https://console.groq.com/keys

  2. Setup:

    # Clone the repository
    git clone https://github.com/00200200/cocktails-rag-mcp.git
    cd cocktails-rag-mcp
    
    # Copy environment template
    cp .env.example .env
    
    # Edit .env and add your GROQ_API_KEY
    nano .env
    
    # Install dependencies
    uv sync
    
  3. Pre-download models (required):

    Download embeddings and reranker models:

    uv run python -c "from src.rag.rag import RAG; RAG(); print('Models downloaed!')"
    
  4. Install for Claude Desktop:

    Automatic (Recommended)

    uv run fastmcp install claude-desktop fastmcp.json --name cocktails --env-file .env
    

    Manual

    Edit config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    {
        "mcpServers": {
            "cocktails": {
                "command": "uv",
                "args": [
                    "run",
                    "--with","faiss-cpu",
                    "--with","fastmcp",
                    "--with","jq",
                    "--with","langchain",
                    "--with","langchain-community",
                    "--with","langchain-groq",
                    "--with","langchain-huggingface",
                    "--with","pandas",
                    "--with","python-dotenv",
                    "--with","sentence-transformers",
                    "fastmcp",
                    "run",
                    "/ABSOLUTE/PATH/TO/src/mcp/server.py:mcp"
                ],
                "env": {
                    "GROQ_API_KEY": "your_groq_api_key_here"
                }
            }
        }
    }
    

    Replace /ABSOLUTE/PATH/TO/ with your project path and GROQ_API_KEY with your API key.

Example Usage

Local Testing

# Test RAG pipeline directly
uv run python -m src.rag.rag

# Test MCP server locally
uv run python src/mcp/server.py

Development

Code Formatting

# Format code with black
uv tool run black .

# Sort imports with isort
uv tool run isort .

Project Structure

RAG/
├── src/
│   ├── mcp/         # MCP server implementation (FastMCP)
│   ├── rag/         # RAG pipeline (retrieve, rerank, generate)
│   ├── db/          # FAISS vector database handler
│   └── data/        # Data loading utilities
├── data/            # Cocktail dataset
├── faiss_index/     # Generated FAISS index (auto-created on first run)
├── notebooks/       # EDA notebook
├── fastmcp.json     # FastMCP configuration
├── pyproject.toml   # Project dependencies
└── .env.example     # Environment template

Tech Stack

  • MCP Framework: FastMCP
  • RAG Framework: LangChain
  • Embeddings: BAAI/bge-m3 (local via HuggingFace)
  • Vector DB: FAISS (local)
  • Reranker: BAAI/bge-reranker-v2-m3 (local via HuggingFace)
  • LLM: Groq API (llama-3.1-8b-instant)
  • Package Manager: uv

from github.com/00200200/cocktails-rag-mcp

Установка Cocktails RAG Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/00200200/cocktails-rag-mcp

FAQ

Cocktails RAG Server MCP бесплатный?

Да, Cocktails RAG Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Cocktails RAG Server?

Нет, Cocktails RAG Server работает без API-ключей и переменных окружения.

Cocktails RAG Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Cocktails RAG Server в Claude Desktop, Claude Code или Cursor?

Открой Cocktails RAG Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Fetch

Web content fetching and conversion for efficient LLM usage.

автор: Community

Roblox Studio

Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce

paralovавтор: paralov

Opencode Omniroute Plugin

OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc

GitHub Actionsавтор: GitHub Actions

AWS KB Retrieval

Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.

modelcontextprotocolавтор: modelcontextprotocol

Spring AI MCP Server

Provides auto-configuration for setting up an MCP server in Spring Boot applications.

автор: Community

llm-analysis-assistant

A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also

xuzexin-hzавтор: xuzexin-hz

MCP-Agent

A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)

lastmile-aiавтор: lastmile-ai

Spring AI MCP Client

Provides auto-configuration for MCP client functionality in Spring Boot applications.

автор: Community

mcp.natoma.ai

A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)

автор: Community

MCPHub

Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.

автор: Community

Compare Cocktails RAG Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai