nelly_context
Get expanded context from a specific session. Use this after nelly_search when the user wants to see more detail from a particular session before resuming it.
Search your own past Claude Code conversations by content, then expand the session around a hit — recovering what you worked out and forgot.
LABSCO SUMMARY
Anyone who works this way accumulates hundreds of sessions containing solved problems, rejected approaches and specific fixes, all sitting on disk unreadable because there is no way in. Searching them by content costs nothing to adopt and recovers work already done. The expand-around-a-hit step is what makes it usable rather than frustrating: a matched line is rarely the answer, and the reasoning either side of it usually is. The status tool earns its place by distinguishing 'you have no history' from 'the directory is wrong', which are otherwise identical.
A search layer over locally stored Claude Code session transcripts: find past conversations by what was said, expand the surrounding context, and list recent sessions.
Local Claude Code session transcripts on the machine — the status tool reports whether they were found.
One command — npx -y nelly-elephant-mcp
USE CASES
Search past conversations by what was discussed, then expand the context around the hit to recover the reasoning rather than the line.
List recent sessions when you remember roughly when rather than what.
Check the platform and sessions directory, since an empty result and a misconfigured path look the same.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
nelly_contextGet expanded context from a specific session. Use this after nelly_search when the user wants to see more detail from a particular session before resuming it.
nelly_instructionsCheck Nelly's status — platform, sessions directory, and whether session data exists. Useful for diagnostics. Instructions are already loaded via MCP init.
nelly_recentList the most recent Claude Code sessions. Useful when the user doesn't remember specific keywords but knows it was recent.
nelly_searchSearch past Claude Code conversations. Nelly searches through all session transcripts for matching keywords and returns sessions with snippets and resume commands. Use multiple searches with different terms for best results (spiral search pattern).
BEFORE YOU INSTALL
4 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 4 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"nelly-elephant-mcp": {
"command": "npx",
"args": [
"-y",
"nelly-elephant-mcp"
]
}
}
}npx -y nelly-elephant-mcp