HomeDevelopment › terminal-history-mcp

terminal-history-mcp

Full-text search over your shell history (zsh / bash / fish) via SQLite FTS5. Local-only. 11-pattern secret redaction runs BEFORE insert. Captures cwd / exit code / duration via opt-in shell hook. Tools: `search_history`, `recent_in_dir`, `failed_commands`, `command_chains`, `reindex`.

TypeScript Local macOSLinux
★ 4 stars Last pushed 2026-05-11 License: MIT

Topics: Command Line

Connect

See the repository for installation instructions: https://github.com/HasanJahidul/terminal-history-mcp

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)