# agent-history-mcp

> agent-history-mcp — terminalgravity-agent-history-mcp. Use this tool when you need to efficiently search and retrieve specific information from local AI-agent session logs without compromising transcript privacy. It solves the problem of quickly finding relevant conversation chunks within large logs, using local embeddings for semantic search. The tool takes session logs as input and returns relevant chunks as output, ideal for use cases requiring secure and precise log analysis.

Canonical page: https://skillsregistry.net/skills/terminalgravity-agent-history-mcp  
JSON: https://api.skillsregistry.net/v1/skills/terminalgravity-agent-history-mcp

## Description

Enables semantic search over local AI-agent session logs (e.g., Claude Code, Hermes) using local embeddings, returning relevant chunks without exposing full transcripts.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/kp67gpu9e1)
- **Repository:** <https://github.com/TerminalGravity/agent-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": "terminalgravity-agent-history-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/terminalgravity-agent-history-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/terminalgravity-agent-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
