Enterprise DNA
M MCP Servers Developer low

HasanJahidul/terminal-history-mcp

by Various

Search your shell history (zsh/bash/fish) from Claude/MCP. Local SQLite FTS5. Secret-redacted.

H

MCP

HasanJahidul/terminal-history-mcp

Added 1 June 2026

#claude #cli #fts5 #mcp #model-context-protocol #shell-history #sqlite #terminal

Overview

A TypeScript MCP server that enables searching shell history (zsh, bash, fish) from Claude. It uses local SQLite with FTS5 for full-text search and redacts secrets from the history.

Best for

Best for
Developers who want to query their shell history from within Claude or other MCP-compatible assistants

Use cases

  • Finding a previously used command during a Claude conversation
  • Querying shell history with full-text search without leaving the chat
  • Reviewing terminal history while keeping sensitive data hidden

Notes

A TypeScript MCP server that enables searching shell history (zsh, bash, fish) from Claude. It uses local SQLite with FTS5 for full-text search and redacts secrets from the history.

2 stars on GitHub. Last updated 2026-05-11. Licensed MIT.

Use cases

  • Finding a previously used command during a Claude conversation
  • Querying shell history with full-text search without leaving the chat
  • Reviewing terminal history while keeping sensitive data hidden

Pros

  • Fast full-text search via SQLite FTS5
  • Redacts sensitive information from history
  • Supports zsh, bash, and fish shells

Cons

  • Low community adoption (2 stars)
  • Requires an MCP client like Claude Desktop
  • Only searches local shell history, not remote or shared histories

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Fast full-text search via SQLite FTS5
  • Redacts sensitive information from history
  • Supports zsh, bash, and fish shells

Cons

  • Low community adoption (2 stars)
  • Requires an MCP client like Claude Desktop
  • Only searches local shell history, not remote or shared histories