Deploy Agentic Data Stack Lite (Langfuse Cloud)
The Agentic Data Stack instrumented with Langfuse Cloud
LibreChat
clickhouse-mcp
Just deployed
librechat-admin-panel
Just deployed
librechat
Just deployed
clickhouse
Just deployed
/var/lib/clickhouse
mongo
Just deployed
/data/db
Deploy and Host Agentic Data Stack Lite (Langfuse Cloud) on Railway
A self-hosted, observability-first agentic chat platform combining LibreChat (multi-provider LLM chat with MCP tool support), Langfuse Cloud (full trace observability), and a ClickHouse MCP server pre-wired to the public ClickHouse demo cluster.
About Hosting Agentic Data Stack Lite (Langfuse Cloud)
This template deploys five Railway services: LibreChat with its admin panel and MongoDB store, ClickHouse, and a ClickHouse MCP server that exposes ClickHouse's public sql-clickhouse.clickhouse.com demo cluster to LibreChat's agents. After deploy, you sign into LibreChat and start chatting with agents that can query the ClickHouse demo data out of the box, OAuth into your own ClickHouse Cloud account via the ClickHouse Cloud MCP, or bring your own MCP servers. Every agent run streams traces to a configurable Langfuse Cloud project for inspection, scoring, and evaluation.
Common Use Cases
-
Self-hosted ChatGPT-style frontend with multi-provider LLM support and per-trace observability
-
First-touch demo environment for ClickHouse Cloud combined with agentic SQL workflows
-
Learning how to navigate and evaluate traces generated by LLM-based chat applications with Langfuse
Dependencies for Agentic Data Stack Lite (Langfuse Cloud) Hosting
- At least one LLM provider API key
- Optional: a ClickHouse Cloud account to point the ClickHouse Cloud MCP at your own data
Deployment Dependencies
- LibreChat: chat frontend with MCP tool integration
- Langfuse Cloud: LLM observability and tracing
- ClickHouse MCP: Model Context Protocol server for ClickHouse
- Agentic Data Stack: source repository for the LibreChat config this template fetches at boot
Why Deploy Agentic Data Stack Lite on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Agentic Data Stack Lite on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
clickhouse-mcp
mcp/clickhouseCLICKHOUSE_PASSWORD
MUST be left blank - if Railway prevents you from deploying from template without populating this field, please remember to change it back to an empty value after deployment, otherwise calls to the clickhouse sample database will fail auth.
librechat-admin-panel
ghcr.io/clickhouse/librechat-admin-panel:latestlibrechat
ghcr.io/danny-avila/librechat:latestLANGFUSE_BASE_URL
Langfuse host URL used by the agents SDK for trace export.
LANGFUSE_PUBLIC_KEY
Langfuse public API key.
LANGFUSE_SECRET_KEY
Langfuse secret API key.
clickhouse
clickhouse/clickhouse-servermongo
mongo:8.0.17