# Terminal History MCP

> Use this tool when you need to efficiently search and manage your shell command history across multiple clients and tools. It solves problems like locating specific commands, identifying failed commands, and analyzing multi-step sequences, providing valuable insights for developers. The tool takes shell history as input and outputs relevant search results, command chains, and statistics, making it ideal for use during debugging, troubleshooting, or optimizing development workflows.

Canonical page: https://skillsregistry.net/skills/hasanjahidul-terminal-history-mcp  
JSON: https://api.skillsregistry.net/v1/skills/hasanjahidul-terminal-history-mcp

## Description

Developers: Search your zsh, bash, or fish shell history from Claude Code, Cline, Cursor, Zed, or any MCP client using tools like search_history (full-text with timestamp/CWD/exit code), recent_in_dir, failed_commands, and command_chains for multi-step sequences. Reindex after new activity. Local-only SQLite FTS5 with secrets redacted before storage.

## Trust

- **Trust score (0–1):** 0.94
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/sbyj3oh8kb)
- **Repository:** <https://github.com/HasanJahidul/terminal-history-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "hasanjahidul-terminal-history-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/hasanjahidul-terminal-history-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/hasanjahidul-terminal-history-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
