Making your terminal magical
open sourceMITself-hostablefreeMCP
Atuin replaces your shell history with a SQLite database that records exit codes, working directories, hostnames and durations, and opens a full-screen search UI on Ctrl-R. It can sync history across machines with end-to-end encryption, through the hosted Atuin service or a self-hosted sync server. Newer versions also capture coding agent sessions ("threads") and expose history to agents through a built-in MCP server.
Ways to install
On your own server
Package managers
Problems it solves
- my shell history is different on every laptop and server
- I ran a long command last month on another machine and cannot find it
- bash history gets lost or overwritten when I have several terminals open
- search my command history by directory, host or whether it succeeded
- sync shell history between computers without trusting a server with plaintext
- Ctrl-R only shows one match at a time and is painful to use
- want stats on which commands I run most often
- let my AI coding agent see what I did in the terminal yesterday
- keep history of what commands took how long and which failed
- self-host my own shell history sync server
Features
- SQLite history store
- full-screen search UI
- end-to-end encrypted sync
- self-hostable sync server
- per-directory/host filters
- usage stats
- agent thread capture
- built-in MCP server
Ways to run it
Atuin Hub
Price not published
Only in this edition
- hosted end-to-end encrypted sync
- Atuin AI with hosted models
- a web app with shareable links and organizations
Atuin sync server
free
Not included
- the Hub web app (shared links, organizations), which isn't in the open source repo
- hosted Atuin AI: self-hosting it takes the separate atuin-ai-server and your own OpenAI-compatible model endpoint
You arrange
- a server or container (Docker, Kubernetes or systemd)
- a database: PostgreSQL, MySQL or SQLite
- TLS through a reverse proxy
- user accounts, created with the admin CLI (open registration is off by default)
- backups and upgrades
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
Alternatives
The same job
These do what Atuin does.
- fzf A command-line fuzzy finder
