← Back to all frameworks MERN + API

LibreChat

Open-source ChatGPT clone built on the MERN stack — self-hostable, multi-model

What it is

A pure MERN-stack open-source chat UI: MongoDB + Express + React + Node. Multi-model (OpenAI, Anthropic, Google, Mistral, local Ollama), plugins, file uploads, custom branding — production-ready in a Docker compose.

How Vaaani uses it

  • Branded ChatGPT-style interface for a customer's internal team
  • Self-hosted multi-model playground with usage tracking
  • Foundation for custom chat experiences with plugin extensions
  • Privacy-friendly alternative when employee chats can't leave the org

Why it makes the cut

When a customer wants 'ChatGPT but ours,' LibreChat gets there in a weekend. It's also a brilliant reference for MERN-stack AI architecture.

Sample code

# .env — LibreChat config
MONGO_URI=mongodb://mongo:27017/LibreChat
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
ALLOW_REGISTRATION=false
APP_TITLE=Vaaani Chat

Related in the Vaaani stack

Have a project that needs LibreChat?

30-min discovery call. You describe the busywork; I map it to an AI worker and a budget.