← Back to list

terminal-history-mcp

MCP ServerClaude Code Sessions & Messages Low risk

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

MCP Server npx -y terminal-history-mcp
Claude Code 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

37 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
37 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
4
mo. downloads
49
Last push
2026-05-11
Created
2026-05-08

Links

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

DeepSeek Harness
Score77

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.

☆ 116 ↓ 5.7K Sessions & Messages ↗
DeepSeek Harness New
Score71

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.

☆ 5.9K ↓ – Sessions & Messages ↗
DeepSeek Harness
Score71

dsh-nested-followups

sluminositys/dsh-nested-followups

Keep branching from any completed answer at any depth while the main session stays untouched.

☆ 48 ↓ 830 Sessions & Messages ↗
DeepSeek Harness Featured
Score69

dsh-session-sync

PerryLink/dsh-session-sync

Cross-device session sync for DeepSeek Harness — syncs sessions and settings between machines through git.

☆ 12 ↓ 2.8K Sessions & Messages ↗