terminal-history-mcp
Search your shell history (zsh/bash/fish) from Claude/MCP. Local SQLite FTS5. Secret-redacted.
从Claude/MCP搜索你的shell历史(zsh/bash/fish)。本地SQLite FTS5。机密信息已隐藏。
How to install
npx -y terminal-history-mcp git clone https://github.com/HasanJahidul/terminal-history-mcp ~/.claude/skills/terminal-history-mcp About
terminal-history-mcp Search your shell history (zsh / bash / fish) from Claude Code, Cline, Cursor, Zed, or any MCP client. Local-only. SQLite FTS5. Secret-redacted before storage. What you can ask *"When did I last ssh into the staging server?"* *"Show recent failed commands."* *"What did I run yesterday in /etc/nginx?"* *"What's that long docker compose flag I used 3 weeks ago?"* *"Show command chains around kubectl apply."* Install bash npm install -g terminal-history-mcp terminal-history-mcp index # one-time backfill from existing history (Or run from a clone: git clone … && npm install &&…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 4
- mo. downloads
- 49
- Last push
- 2026-05-11
- Created
- 2026-05-08
Basic safety check
- Findings
- None
- Sources
- curated:punkpeye/awesome-mcp-servers
- Topics
- claude, cli, fts5, mcp, model-context-protocol, shell-history, sqlite, terminal, typescript
Related plugins
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
Inline-edit and recall your own user messages in dsh web — lazily and seamlessly, with a version pager and per-session draft persistence.
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
Chat recovery for DSH: edit the last finished user message and explicitly retry failed turns, both via session-fork branches that leave the original conversation untouched.
dsh-nested-followups
sluminositys/dsh-nested-followups
Keep branching from any completed answer at any depth while the main session stays untouched.
dsh-session-sync
PerryLink/dsh-session-sync
Cross-device session sync for DeepSeek Harness — syncs sessions and settings between machines through git.