# cantino/mcfly

Fly through your shell history. Great Scott!

Repository: https://github.com/cantino/mcfly
Canonical: https://ross.abutalabs.com/products/mcfly
Language: Rust
License: MIT
License Family: permissive
Topics: rust, shell, history, search
Last push: 2026-08-26T05:34:18+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 30, longevity 100
- inputs: {"age_days": 2971, "days_push": 7, "days_rel": 252, "gap_med": 315, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7781, forks 201 (observed 2026-08-28T04:10:04.962879+00:00)

## What it is
McFly is a Rust-based CLI tool that replaces the default ctrl-r shell history search with an intelligent, context-aware search engine. It prioritizes command suggestions in real time using a small neural network and stores extended history metadata in a SQLite database.

## Use cases
- search shell history intelligently with ctrl-r
- find commands I ran in this directory before
- avoid re-running previously failed commands
- scrub sensitive commands from shell history
- track command exit status and timestamps
- get history suggestions based on recently executed commands

## When to choose
- you use Bash, Zsh, Fish, or PowerShell and want a smarter ctrl-r
- you want history search that considers working directory and command context
- you want a fast, safe Rust tool that keeps your normal history file intact

## When to avoid
- you need a tool with active maintenance and quick bug fixes
- you use a shell other than Bash, Zsh, Fish, or PowerShell
- you prefer simple plain-text history search without a database

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: search-engine, cli, developer-tools
- domain: developer-tools
- platform: windows, cli
- tags: shell-history, ctrl-r, neural-network, zsh, bash, fish, powershell, sqlite, command-line, macos, linux

## Member repositories
- cantino/mcfly (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:04.962879+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:34:43.870133+00:00, confidence not recorded.
  - readme: https://github.com/cantino/mcfly (fetched 2026-08-28T04:10:04.962879+00:00, sha 877e53fc575e)
  - registry_crates: https://crates.io/api/v1/crates/mcfly (fetched 2026-08-29T08:30:58.156568+00:00, sha 5935e049c9fd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
