session-knowledge
View on GitHubTurn your Claude Code session history into a searchable local knowledge base — 13 MCP tools, pure stdlib, nothing leaves your machine
Local MCP server that indexes your Claude Code session transcripts into a searchable SQLite FTS5 knowledge base and exposes 13 MCP tools for full-text search, timelines, code and credential lookup. Pure Python stdlib, no embeddings or API calls, nothing leaves your machine.
Use Cases
Search past Claude Code sessions across project directoriesRecall how a past decision or command was madeFind existing implementations of an integration before rebuilding itRetrieve previously used credentials/config values by variable nameReconstruct a topic timeline across sessionsDetect duplicate implementations and forksRecall failed Bash/MCP commands to avoid repeating trapsFeed curated cross-session context packs into a new sessionTrack how a design decision evolved over monthsKeep AI session memory fully local with pattern-based secret redaction
Built With
- Language
- Python
- Frameworks
- MCP · Claude Code · SQLite FTS5
Tags
mcp-server · claude-code · session-history · full-text-search · sqlite-fts5 · local-first · knowledge-base · credential-indexing · code-search · privacy · redaction · python-stdlib · developer-tools · cjk-search · memory · session-index