LibreChat

v1.0.0Communicationstable

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenA

aianthropicartifactsawsazure
Share:
37,304
Stars
0
Downloads
0
Weekly
0/5

What is LibreChat?

LibreChat is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enhanced chatgpt clone: features agents, mcp, deepseek, anthropic, aws, openai, responses api, azure, groq, o1, gpt-5, mistral, openrouter, vertex ai, gemini, artifacts, ai model switching, message se...

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenA

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anth

Use Cases

ChatGPT alternative
Multi-model support
AI assistant platform
danny-avila

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx librechat

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use LibreChat

LibreChat is a self-hosted, open-source AI chat platform that acts as a unified interface for dozens of AI providers — OpenAI, Anthropic, Azure, Google Vertex, AWS Bedrock, DeepSeek, Mistral, Groq, and more — all in one web application. It is an official MCP client, meaning you can plug any MCP server into LibreChat and have your AI agents use those tools natively inside conversations. Beyond MCP, it includes a built-in code interpreter, DALL-E image generation, file analysis, web search, and a plugin ecosystem, making it a full-featured alternative to ChatGPT Plus for teams that need data privacy and model flexibility.

Prerequisites

  • Docker and Docker Compose installed (recommended deployment path)
  • Node.js 18+ if running without Docker
  • MongoDB instance (included in the Docker Compose stack)
  • API keys for at least one AI provider (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY)
  • An MCP-compatible server you wish to connect (LibreChat itself is the MCP client)
1

Clone the LibreChat repository

Clone the official repo to get the Docker Compose files and example configuration.

git clone https://github.com/danny-avila/LibreChat.git
cd LibreChat
2

Copy and configure the environment file

Copy the example .env file and add your AI provider API keys and any other required settings.

cp .env.example .env
# Edit .env and set values like:
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...
# MONGO_URI=mongodb://mongodb:27017/LibreChat
3

Start LibreChat with Docker Compose

Bring up the full stack including MongoDB and the LibreChat web application. The first startup downloads images and may take a few minutes.

docker compose up -d
4

Access the web interface

Open your browser to http://localhost:3080 and create an admin account on first launch.

# Open browser at:
http://localhost:3080
5

Configure MCP servers inside LibreChat

In the LibreChat admin panel, navigate to the MCP Servers section and add the command, args, and any environment variables for each MCP server you want to expose to agents.

6

Create an Agent that uses MCP tools

In the Agents section, create a new agent, select the MCP tools you want to enable, and start a conversation to test the integration.

LibreChat Examples

Client configuration

LibreChat acts as the MCP client. This snippet shows how to add an MCP server entry in librechat.yaml (the runtime config file) so LibreChat agents can use it.

{
  "mcpServers": {
    "librechat": {
      "command": "npx",
      "args": ["librechat"]
    }
  }
}

Prompts to try

Prompts that demonstrate LibreChat's multi-model switching, code interpreter, and MCP tool usage inside the chat interface.

- "Switch to Claude 3.5 Sonnet and summarize the attached PDF document"
- "Use the code interpreter to analyze this CSV file and plot a bar chart of monthly revenue"
- "Generate an image of a futuristic city skyline at sunset using DALL-E"
- "Search the web for the latest news on AI regulation in the EU and summarize the top three stories"
- "Using the connected GitHub MCP server, list all open pull requests in my repository that are more than 7 days old"

Troubleshooting LibreChat

Docker containers start but the UI shows a blank page or 502 error

The LibreChat app container may still be initializing. Wait 30-60 seconds and refresh. Check logs with 'docker compose logs librechat' to see startup progress. Ensure the MONGO_URI in .env matches the MongoDB service name in docker-compose.yml.

MCP server tools are not appearing in the agent tool list

Verify the MCP server command is correct and executable within the LibreChat container environment. Node.js and the target package must be available inside the container. Test the MCP server command manually inside the container with 'docker exec -it librechat bash'.

AI provider API calls fail with authentication errors

Double-check that your API keys are set in the .env file without extra spaces or quotes. After changing .env, restart the stack with 'docker compose down && docker compose up -d' so the new environment variables are loaded.

Frequently Asked Questions about LibreChat

What is LibreChat?

LibreChat is a Model Context Protocol (MCP) server that enhanced chatgpt clone: features agents, mcp, deepseek, anthropic, aws, openai, responses api, azure, groq, o1, gpt-5, mistral, openrouter, vertex ai, gemini, artifacts, ai model switching, message search, code interpreter, langchain, dall-e-3, opena It connects AI assistants to external tools and data sources through a standardized interface.

How do I install LibreChat?

Follow the installation instructions on the LibreChat GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with LibreChat?

LibreChat works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is LibreChat free to use?

Yes, LibreChat is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "librechat": { "command": "npx", "args": ["-y", "librechat"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use LibreChat?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides