Terminal History Mcp MCP Server

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.

Local serverstdioMIT

What is the Terminal History Mcp Server?

Terminal History Mcp is an MCP project maintained in the hasanjahidul/terminal-history-mcp repository. The maintainer describes its purpose as “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”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using terminal-history-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
reindexRe-parse history files + extended log

How to install the Terminal History Mcp Server

{
  "mcpServers": {
    "terminal-history": {
      "command": "terminal-history-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.