Local Memory System for AI Coding Tools Extracts 2,600+ Facts from Conversation Logs

A developer has built a local memory system for AI coding tools that runs entirely on their machine, addressing the problem of re-explaining context in new sessions. The system works with Claude Code, Factory.ai, and Codex CLI, writing all conversation logs to a single SQLite database.
How It Works
The system uses several automated processes:
- A cron job runs every 15 minutes to ingest conversation logs into SQLite
- Hourly, it generates vector embeddings and extracts structured facts using a local LLM (the developer runs Nemotron 3 Super on a DGX Spark via ollama)
- Every new Claude Code session starts with a memory-context.md file auto-injected via CLAUDE.md
- Mid-session, Claude can search the full history via MCP tools including keyword search, semantic search, fact lookup, and entity graph exploration
Usage Statistics
After a few months of normal use:
- 13,000+ messages indexed across 400+ sessions
- 2,600+ facts extracted (preferences, decisions, error/solution pairs, tool patterns)
- 330+ entities tracked (libraries, services, languages with mention counts)
- 40 MB database size
The entity graph tracks usage patterns like "you've used pytest 45 times, playwright 20 times, jest 3 times" based on actual usage data.
Features and Limitations
The system includes a browser-based UI for searching, curating facts, and previewing what gets injected into context, plus a CLI tool and slash commands. It's not plug-and-play—users need to set up cron jobs, configure MCP, and optionally run ollama. The developer notes this is their first open source project and welcomes feedback on architecture, fact extraction approach, MCP tool design, and Python/project structure improvements.
📖 Read the full source: r/ClaudeAI
👀 See Also

Two Free Claude Code Skills: Tutorial Generator and Prompt Fixer
Two new free Claude Code skills: create-tutorial generates code reading tutorials from your actual project files, and prompter rewrites typo-filled prompts into actionable instructions. Both are MIT licensed and install via GitHub.

Open Source AI Agent Prompt Library Reaches 100 GitHub Stars
A community repository called ai-setup provides shared system prompts, Cursor rules, Claude configs, and local model workflow setups for AI agents. The project has 100 GitHub stars and 90 merged PRs.

Synapse: Real-Time Dashboard for Visualizing Claude Code Agent Sessions
Synapse is a real-time dashboard that visualizes Claude Code agent sessions as interactive node graphs, showing agent spawns, tool calls, and subagents. It requires Node.js and Claude, installs via npm, and offers multiple analysis views and remote approval features.

Claude Skill MCP Checker: Deterministic Audit of Breaking 2026-07-28 Changes
A free Claude Skill and web demo run 7 deterministic rules to spot MCP servers broken by the 2026-07-28 stateless transport and OAuth 2.1 changes. The author shares how one rule was wrong and how he pinned the mistake.