# Self-hosted alternatives to Mcfly

The best self-hosted alternative to Mcfly is Atuin (highest rated, 32 617 stars).

> 1 self-hostable, open-source alternative to Mcfly, ranked by score.

- [Atuin](https://selfhost.directory/project/atuin): Atuin replaces your shell's plain history file with a SQLite database that records extra context for every command — exit code, working directory, hostname…

## Also in CLI Tools

Not listed as Mcfly alternatives, but from the same category:

- [Open Codex](https://selfhost.directory/project/open-codex): Open Codex is an open-source CLI AI assistant that converts natural language to shell commands using local LLMs via Ollama, running offline on macOS, Linux, and Windows.
- [Twin](https://selfhost.directory/project/twin): Twin is a self-hosted, open-source text-mode window environment providing a terminal emulator, window manager, and multiplexer with mouse support and networked clients.

All 28 CLI Tools projects: https://selfhost.directory/cli-tools

## About these Mcfly alternatives

1 open-source, self-hosted alternatives to Mcfly are listed here, ranked by popularity, maintenance and documentation.

- **Highest rated:** Atuin (32 617 GitHub stars, MIT license, written in Rust)
- **Docker:** 1 of the top 1 ship an official Docker image
- **Easiest to set up:** Atuin
- **Recently updated:** Atuin v18.25.1 on 2026-11-20

### Mcfly alternatives compared

| Project | License | Language | Stars | Docker | Setup | Latest release | Score |
|---|---|---|---:|---|---|---|---:|
| [Atuin](https://selfhost.directory/project/atuin) | MIT | Rust | 32 617 | Yes | Easy | v18.25.1 2026-11-20 | 83 |

---
Source: https://selfhost.directory/alternative-to/mcfly