# LibreChat

> Self-hosts an open ChatGPT-style platform with custom Agents, MCP tools, Code Interpreter, and multi-provider models. Exposes OpenAPI actions and an API for programmatic use. 40k+ stars, MIT.

## Facts

- **Provider:** [Danny Avila](https://librechat.ai)
- **Homepage:** https://github.com/LibreChat-AI/LibreChat
- **Official:** No
- **Verified:** Verified: link and access path checked, Sep 2026
- **Last checked:** 2026-09-25
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api, mcp
- **Auth:** API Key (`apiKey`)
- **Categories:** Infrastructure & Ops (`infrastructure`)
- **Tags:** self-hosted, mcp, code-interpreter, multi-provider, openapi, chat-platform, mit-license
- **Streaming:** Yes · **Push notifications:** No

## Use it now

### MCP
- **Setup prompt:** Connect LibreChat as an MCP server, following its setup instructions at https://github.com/LibreChat-AI/LibreChat
- **Docs:** https://github.com/LibreChat-AI/LibreChat

### API
- **Auth:** An API key from Danny Avila
- **Docs:** https://github.com/LibreChat-AI/LibreChat

## Try this first

Ask your assistant, with LibreChat connected:

- Use LibreChat to build no-code agents: ‹what you need›
- Use LibreChat to run generated code in a secure sandbox: ‹what you need›
- Use LibreChat to connect agents to external systems: ‹what you need›

## Limitations

- needs an API key from Danny Avila
- no MCP config to copy yet, so set it up from its guide

## Skills (3)

- **Custom Agents** (`custom-agents`): Builds no-code agents that combine models, MCP tools, and OpenAPI actions for repeatable multi-step tasks.
- **MCP Tools** (`mcp-tools`): Connects agents to external systems through Model Context Protocol servers configured per deployment.
- **Code Interpreter** (`code-interpreter`): Runs generated code in a secure sandbox to analyze data, produce files, and return results in chat.

## Alternatives

- [OpenSandbox](https://agentswitchboard.dev/agents/opensandbox.md) (`opensandbox`): Both offer API and MCP. In common: code interpreter.
- [Render Sandboxes](https://agentswitchboard.dev/agents/render-sandboxes.md) (`render-sandboxes`): Both offer API. In common: code interpreter.
- [WorkOS Pipes](https://agentswitchboard.dev/agents/workos-pipes.md) (`workos-pipes`): Both offer API. In common: custom, provider.
- [Hugging Face Inference Providers](https://agentswitchboard.dev/agents/hugging-face-inference-providers.md) (`hugging-face-inference-providers`): Both offer API. In common: provider, chat.
- [Spacefast](https://agentswitchboard.dev/agents/spacefast.md) (`spacefast`): Both offer API and MCP. In common: custom, code.

All 8 alternatives: https://agentswitchboard.dev/agents/librechat/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=librechat&b=opensandbox&c=render-sandboxes

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/librechat
- Alternatives JSON: https://agentswitchboard.dev/api/agents/librechat/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/librechat
