Episode Tracking
Group work into logical episodes — features, bugfixes, refactors — with automatic diff and AI capture.
ContextLens captures the why behind every change — diffs, AI interactions, decisions — and exposes them to any MCP-compatible client: Claude, Cursor, Gemini, OpenAI Agents.
Free & open source. No account required.
Works with major MCP-compatible AI clients and more
Run the bridge locally. Inspect its tools. Pipe context into any AI client.
Every primitive is observable, versioned, and inspectable.
Group work into logical episodes — features, bugfixes, refactors — with automatic diff and AI capture.
9 tools, 5 resources, 5 prompts. Drop the bridge into Claude, Cursor, Gemini, OpenAI Agents.
Find past decisions by meaning, not by filename. Embeddings index every diff and AI exchange.
Branch-level PR summaries, change audit trails, AI-generated impact assessments.
Local episode store. Sync engine reconciles offline state to Firestore when online.
Reusable prompts for code review, security audit, test generation, and diff explanation.
Step through every keystroke, command, and AI call in a single, replayable timeline.
API keys live in OS keychain via VS Code Secrets. Rotating 30-min MCP tokens, local bind only.
Local-first. Cryptographically scoped. Cloud-synced when you want it.
Claude Desktop · Cursor · Gemini CLI · OpenAI Agents · Antigravity · VS Code Agent
JSON-RPC ↔ HTTP. Rotating 30-min tokens. Per-client rate limit. Loopback only.
mcp-bridge.js · stdioAutonomous watchers · Local episode store · Tool/Resource/Prompt registry · Health checks
VS Code · 127.0.0.1:3012Firebase Functions · Firestore · Vertex AI for embeddings & summaries
From start to close, every artifact is captured.
AI client or CLI runs contextlens start. A
new tracking session is initialized in your local SQLite
database.
Install the extension. Run the bridge. Connect any MCP client.
$ npm i -g
@contextlens/cli
Free forever under the MIT license.