About Sessions
Sessions is an MCP server published by nicknisi in the Blockchain category: mCP server to search and browse Claude Code conversation history across projects. Conduid read 13 tools from its source: get_activity_digest, get_context_primer, get_handoff_brief, get_memory, get_memory_recurrence, get_memory_sources and 7 more. No package is published for it, so it installs from a source checkout.
The repository has 55 stars and 12 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include claude-code-extension, conversation-history and session-search.
Install
git clone https://github.com/nicknisi/sessionsTools (13)
get_activity_digestCompact digest of sessions in a date range, grouped by day and project — for weekly summaries| Parameter | Type | Description |
|---|---|---|
| detail | string | compact: topics + file paths only. highlights: first+last user messages for sessions with >3 messages (best for summaries). full: all user messages (large output). |
| endDate * | string | End date inclusive (YYYY-MM-DD). Example: "2026-05-14" |
| project | string | Filter to sessions from this project directory path |
| startDate * | string | Start date inclusive (YYYY-MM-DD). Example: "2026-05-07" |
| tool | string | Filter to a specific tool |
get_context_primerRepo-scoped primer (recent sessions in detail + older headlines) for re-injecting prior work| Parameter | Type | Description |
|---|---|---|
| cwd | string | Repo path to scope to. Defaults to the server process cwd. |
| days | number | Only include sessions from the last N days. |
| limit | number | Recent-tier size (default 10, max ${MAX_PRIMER_RECENT}). |
| tool | string | Filter to one tool. |
| worktree | boolean | Restrict to the current worktree only (default: aggregate all worktrees). |
get_handoff_briefEverything needed to continue a past session against today's code in one bounded call: its digest, whether its work landed, what changed since in the files it touched, and the repo's memory, as markdown plus structured `drift`. The MCP face of `sessions continue`| Parameter | Type | Description |
|---|---|---|
| cwd | string | Where to check drift when the session's own directory is gone. Defaults to the server process cwd. |
| filePath * | string | The session filePath from search_sessions results |
get_memoryApproved standing instructions and durable facts for this repo, its project groups, and cross-repo workflow rules — a bounded set of short sentences to read before starting a task. An optional `topic` narrows the result to what is relevant to the task at hand; memory approved with `--always-on` are returned regardless and come first| Parameter | Type | Description |
|---|---|---|
| cwd | string | Repo path to scope to. Defaults to the server process cwd. |
| topic | string | What you are about to work on, in a few words — e.g. "add keychain support to the CLI". Narrows the returned facts to those relevant to this task. Omit to get everything for this repo. |
get_memory_recurrenceRead-only recurrence report over the memory store: VIOLATIONS (approved memories re-corrected after their `lastSeen` date), REPEATS (corrections spanning multiple sessions and dates that were never triaged), and FUZZY (middling-similarity paraphrase pairs for human confirmation). Each finding carries session links. `repo` defaults to the current repo; `all` crosses repos| Parameter | Type | Description |
|---|---|---|
| all | boolean | Report across every repo in the index. Overrides repo. |
| repo | string | Repo path to scope the report to. Defaults to the server process cwd; a path that is not a git repo scopes to itself. |
get_memory_sourcesInventory every memory store the agents on this machine keep — pi-hermes-memory, Claude Code's global/per-project memory and CLAUDE.md/AGENTS.md files, Codex's rules and goals — with entry counts, durable-fact counts, and last-updated dates. Pure discovery for "what does each agent know?"| Parameter | Type | Description |
|---|---|---|
| cwd | string | Repo path to scope repo-level stores to. Defaults to the server process cwd. |
get_session_digestThe arc of one session in a single bounded call (~2k tokens): every genuine user turn paired with its exchange's final assistant reply. Long sessions elide middle exchanges, never the ends| Parameter | Type | Description |
|---|---|---|
| filePath * | string | The session filePath from search_sessions results |
get_session_messagesRetrieve messages from a specific session, paginated by offset and limit — pass a `messageHits[].index` from search (or a `grep_sessions` hit's `msgIndex`, or an `exchanges[].index` from the digest) as the offset. `include_tools` annotates each turn with the assistant's tool calls| Parameter | Type | Description |
|---|---|---|
| filePath * | string | The session filePath from search_sessions results |
| include_tools | boolean | Include each turn's assistant tool calls as `Name(summary)` one-liners (default false). |
| offset | number | Message index to start from (default 0). messageHits[].index values from search_sessions align 1:1. |
get_session_metricsUsage metrics for a date range: tool/project breakdown, daily activity, active hours| Parameter | Type | Description |
|---|---|---|
| endDate * | string | End date inclusive (YYYY-MM-DD). Example: "2026-05-14" |
| project | string | Filter to sessions from this project directory path |
| startDate * | string | Start date inclusive (YYYY-MM-DD). Example: "2026-05-07" |
| tool | string | Filter to a specific tool |
grep_sessionsExhaustive literal-or-regex match over every indexed message — for "every time I said X", counts, or exact patterns where ranked search would miss some. Returns `totalHits`/`totalSessions` and hit snippets; each hit's `msgIndex` feeds `get_session_messages` directly| Parameter | Type | Description |
|---|---|---|
| after | string | Only sessions on/after this date (YYYY-MM-DD). |
| before | string | Only sessions on/before this date (YYYY-MM-DD). |
| ignoreCase | boolean | Case-insensitive match (default true). |
| pattern * | string | Literal substring by default; a JS regex when regex=true. |
| project | string | Filter to sessions from this project directory path. |
| regex | boolean | Treat pattern as a JS regular expression. |
| role | string | Restrict to your turns (user) or the AI (assistant). |
| tool | string | Filter to a specific tool. |
review_agent_memoriesRead the CONTENTS of those stores with provenance: source agent and store, scope, a durable flag (importable fact vs audit-only material), and a `similarTo` flag when an entry substantially overlaps a memory sessions already holds. Secret/injection text is withheld with a count. Filter by `agent`, narrow by `topic`; capped at 50 entries with `total`/`truncated` reporting the rest| Parameter | Type | Description |
|---|---|---|
| agent | string | Restrict to one agent family. |
| cwd | string | Repo path to scope repo-level stores to. Defaults to the server process cwd. |
| topic | string | What you are auditing, in a few words — e.g. "build conventions". Narrows entries to those relevant. Omit for everything. |
search_sessionsRanked, top-k search across sessions by keyword; each result includes snippets, files/commands, an errored flag, a resume command, and `messageHits` — the specific matching messages (index, role, snippet). `files` and `commands` are capped at 10 and 5, with `fileCount`/`commandCount` reporting the true totals. A `files` filter answers "which sessions touched this file?" (newest first)| Parameter | Type | Description |
|---|---|---|
| errored | boolean | Only return sessions that hit an error |
| files | array | Filter to sessions that touched or read these paths — pass a path suffix or full path (matching is substring; longer paths are more precise). Multiple paths must all match. With no query, results are newest-first. |
| project | string | Filter to sessions from this project directory path |
| query | string | Text to search across session messages, commands, file paths, errors, and reasoning. Natural-language queries work — results are ranked by relevance and any term may match. Omit to list recent sessions. |
| tool | string | Filter to a specific tool |
why_did_this_changeCorrelate a file, `path:line`, commit-ish, or free-text topic to the AI sessions behind it. Returns the resolved commit (subject, author time, files, trailers) and the sessions that produced it, each tagged `files+time` or `time-only`, with excerpts and a resume command. Read-only on git and the index — never writes to any repository| Parameter | Type | Description |
|---|---|---|
| cwd | string | Repo path to scope to. Defaults to the server process cwd. |
| target * | string | A repo-relative path, path:line, commit-ish (sha/tag/HEAD~n), or free-text topic. |
Security checks
6 checks have not been run yet.