memhub update — added codebase embedding search and optional cloud sync https://github.com/kninetimmy/memhub (Tool is open source and free. Just something I made for myself. Feel free to take and modify to your hearts content) A while back I posted about memhub, my lightweight local memory for Claude Code, open code, and Codex CLI. Quick recap for anyone who missed it: I got tired of my project notes bloating my context window and burning tokens, so I built a thing that stores facts, decisions, tasks, notes, commands, state/architecture, and reference docs in a local SQLite db and lets the agent pull only the relevant bits via semantic rag (FTS5 fallback). Instead of dumping 3k lines of notes into context every time I had a question, I’d ask “what’s next” and it’d drop maybe 2% of the window in and I’d get the same or better results. That difference adds up fast over a session, less context bloat means fewer tokens going back and forth and a lot less burned usage just to answer a simple question. Anyway I’ve been using it daily and added a couple of things that were bugging me, so figured I’d share. Biggest add is codebase embedding for search. Before, search was mostly my own notes and git history. Now it’ll embed the actual codebase so I can ask things like where something is implemented or “how do we handle X” and it finds the relevant code, not just my notes about the code. The nice part is this saves even more usage, instead of letting the agent grep around and read whole files into context to find something, it pulls just the relevant chunks. It works across the main big coding languages so it’s not locked to whatever I happen to be writing that week. The other one is optional cloud storage for the db. memhub is still local-first and that’s not changing, the default is everything stays on your machine. But I bounce between a couple of systems and kept wishing the memory followed me, so now you can optionally sync the database if you want that. If you don’t, nothing changes and it stays fully local like before. Still mainly built for me and my hobby projects, and I’m sure there are fancier options out there, I just didn’t want 90% of the features or a forced cloud db. For me the whole point is keeping my context lean and not torching tokens on lookups, and this does that. It’s all open source. Check the readme for the full list of new stuff. Let me know what you think. submitted by /u/kninetimmy1
Originally posted by u/kninetimmy1 on r/ClaudeCode
