← Back to Leaderboard
Lmr-karan

mr-karan/logchef

A self-hosted Go workspace for querying and monitoring existing log stores

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A · 79/100
Maintenance Activity
● Updated 2d ago
Latest Release
v2.8.3
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption13/25
Release Cadence20/20
License Clarity11/20
DockerSelf-HostedMCPCLI
Total Stars
★ 953
24h Growth
+0
7d Growth
+6
Forks
67

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

mr-karan/logchef Star History (2025-04-20 - 2026-12-03) ALL-TIME STAR HISTORY (2025-04 – 2026-12) +952 in 592d · avg +2/day 1k 503 0 2025-04-20: ★ 12025-05-31: ★ 4202025-07-12: ★ 4372025-08-23: ★ 4442025-10-04: ★ 4662025-11-15: ★ 4732025-12-27: ★ 5952026-02-07: ★ 6862026-03-21: ★ 7202026-05-02: ★ 7372026-06-13: ★ 7502026-07-25: ★ 7582026-09-05: ★ 8782026-10-17: ★ 9142026-12-03: ★ 953 ★ 953 2025-04 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Logchef is a query and access-control layer over existing log stores, not an ingestion or storage engine. The Go server embeds the Vite UI: the Dockerfile builds it with Bun into cmd/server/ui before compiling the server. go.mod lists Fiber v3, Participle v2, a ClickHouse SQL parser, and the ClickHouse v2 driver. For ClickHouse and VictoriaLogs, users can query through LogchefQL or use the source’s native language.

Application metadata is separate from log data: SQLite is the default, and PostgreSQL is an option for multi-replica deployments. Browser users can sign in with local credentials or OIDC, with RBAC for access control. The CLI authenticates to a Logchef server, while AI clients can connect through the built-in MCP endpoint with OAuth sign-in; mcp-go is listed in the Go dependencies.

Key Capabilities & Differentiators

The clearest fit is ClickHouse and VictoriaLogs. Both support LogchefQL and live tail, and users can fall back to native SQL or LogsQL. logchef explain shows the generated query without executing it. VictoriaLogs also supports source-level authentication, tenant headers, and immutable query scope. The project description lists Grafana Loki, but equivalent query, live-tail, and dashboard behavior is not established; validate the Loki workflows you need before standardizing on it.

Dashboards can combine ClickHouse and VictoriaLogs panels on a shared time range, with time-series, stat, breakdown, and table views. Saved queries support repeat investigations, and scheduled rules notify by email or webhook. The AI Query Assistant drafts LogchefQL, ClickHouse SQL, or LogsQL from natural language. That authoring feature is distinct from MCP, which gives external assistants an integration endpoint.

Trade-offs & Limitations

Compared with using native ClickHouse or VictoriaLogs clients alone, Logchef adds value when teams need common query workflows, shared dashboards, alerts, and access control. For one source and a team already fluent in its native query language, Logchef is another service to operate. It is also not a drop-in Kibana migration: assess the workflows you need rather than assuming existing dashboards or queries will transfer.

Dashboard caching, ClickHouse query guardrails, streaming for large ClickHouse results, and opt-in rate limiting help manage workload, but the sources still execute the queries. Test peak dashboard refreshes, long live tails, and scheduled alerts against the backends you already run. AGPL-3.0 permits commercial use, but review the source-code obligations before distributing builds or offering a modified version over a network.

Hardware & Deployment Guide

For a Docker evaluation, use deployment/docker/docker-compose.yml; the local UI is at http://localhost:8125. The server also ships as a single executable with the UI embedded, so Bun is a build dependency, not a runtime service. The chart under deployment/helm covers Logchef, Dex, and ClickHouse via the Altinity operator. Plan for network access to existing log sources and choose local authentication or an OIDC provider. The CLI is released separately under cli-v tags.

Start with SQLite for a single instance; use PostgreSQL when planning multiple replicas. No GPU is specified for the core query path. Size the server for concurrent queries, live tails, scheduled alerts, and result volume, and size the query backends separately. The v2.8.1 notes include an SMTP envelope-sender fix, v2.8.2 fixed Explorer filter actions that should run queries, and v2.8.3 lists documentation changes. The no-migration notes apply to the stated v2.8.1 and v2.8.2 upgrade paths, not to upgrades in general.

Packaging: Bun builds the Vite frontend into cmd/server/ui for embedding in the Go server binary.
Query workflow: Use LogchefQL across ClickHouse and VictoriaLogs, inspect the generated query with logchef explain, or switch to native SQL or LogsQL.
Operations: Combine ClickHouse and VictoriaLogs panels on one dashboard, follow live logs, and send scheduled alerts by email or webhook.
Identity and integrations: Local email/password or OIDC with RBAC for application access; OAuth sign-in for the built-in MCP endpoint.
Metadata and observability: SQLite by default, PostgreSQL for multi-replica deployments, and Prometheus metrics for usage and performance.
Terminal workflows: The separately released CLI supports multiple contexts and includes histogram, tail, and doctor.
Best For

SRE and platform teams that already run ClickHouse or VictoriaLogs and want shared investigations, dashboards, alerts, and controlled access from the browser, CLI, or AI assistants.

Skip If

You need Logchef to collect and store logs, require a drop-in Kibana migration, or cannot verify the Loki capabilities your workflow depends on.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPCLI
# Download the Docker Compose file
curl -LO https://raw.githubusercontent.com/mr-karan/logchef/refs/heads/main/deployment/docker/docker-compose.yml

# Start the services
docker compose up -d

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
logchef ★953+6GoAGPL-3.0A self-hosted Go workspace for querying and monitoring existing log stores
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
windmill19k+236Rust—PostgreSQL-backed orchestration for code-first workflows, apps, and AI agents
Vibe-Trading39.6k+490PythonMITA self-hosted trading agent for evidence-linked research and inspectable backtes

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/mr-karan/logchef.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

mr-karan/logchef Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about logchef

How do existing log sources, terminal users, and AI assistants connect?

Logchef queries existing sources rather than importing their logs. For ClickHouse and VictoriaLogs, users can start with LogchefQL, inspect the generated native query with logchef explain, or use SQL or LogsQL directly. Assistants connect to the built-in MCP endpoint using OAuth. Grafana Loki is listed in the project description, but do not assume it has the same query and tailing behavior.

Does Logchef need a GPU, and what should I size separately?

No GPU or VRAM requirement is specified for the Go server or CLI, and the core log workflow does not require a local model runtime. Size the application for concurrent queries, live tails, scheduled alerts, and result volume. Size the log backends separately for storage and query work, and account for PostgreSQL if you choose a multi-replica deployment.

Can a company self-host Logchef under AGPL-3.0?

Yes. AGPL-3.0 permits commercial use. If you modify Logchef and let users interact with the modified version over a network, you must offer those users the corresponding source. Distribution has its own license obligations. Review both scenarios before embedding the service, shipping a modified image, or operating a hosted offering.

When is Logchef a better fit than native clients or a Kibana-style workflow?

Keep native clients if most investigations are confined to one backend and the team already works comfortably in SQL or LogsQL. Logchef is a better fit when several teams need the same investigation workflow, shared dashboards, alerts, and access controls over existing sources. If you are evaluating a Kibana replacement, compare those workflows directly rather than assuming compatibility with Kibana artifacts or its storage stack.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining mr-karan/logchef? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature mr-karan/logchef on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare