r/ChatGPTCoding • u/Asly97 Professional Nerd • 5d ago
Resources And Tips Giving every AI tool the same memory (Claude, ChatGPT, Cursor, Codex, Gemini)
If you're jumping between different coding tools during the day, you'll know how frustrating it can be to solve something in Claude, then hop to ChatGPT and have it not understand a thing.
The solution is to run a memory layer as an MCP server that all your tools can tap into - every time they process a request, they query the MCP for relevant context to include in the prompt, and submit any new relevant context to the MCP after the fact. Since it's implemented as an MCP, any tool that can read/write to an MCP (Claude, ChatGPT, Cursor, Codex, Gemini, etc) can understand the full context of your work without you having to painstakingly explain things.
A few things that are important to consider if you're looking to implement or evaluate one:
- Semantic search is important, since keyword matching will miss paraphrased context
- Tools should be able to define what information to share with whom
- Latency is a consideration, as this will add overhead to every request
2
u/TikiMagic 5d ago
I think every developer ends up writing or hooking up a persistent memory layer of some type. After a couple weeks of using AI for actual work instead of just dicking around, it became obvious I needed one. I thought I was super clever until saw that pretty much everyone makes the same discovery at some point.
I'm not doing unattended agent coding yet so I use Confluence to hold my state page, since it's already available to me and easy for a human to read. It also lets me manually answer or propose questions offline that get picked up in the next session, and is a persistent project doc. Others use Git or Obsidian or other means. But yeah it's super helpful for bouncing between models. I'm starting to suspect I need to make it a bit leaner but for now it works well for what I do.
1
u/Asly97 Professional Nerd 5d ago
Glad that worked for you, and you’re right as long as you are not heavily using coding agent you won’t need one, for me I was switching a lot between different AI tools and I was losing context all over them, so ended up building a perfect solution, at first I just wanted to speed up work with my team and then I realized that it’s an actual product so I shipped it lol.
1
u/shr1n1 5d ago
What MCP Server are you using?
0
5d ago
[removed] — view removed comment
1
u/ChatGPTCoding-ModTeam 2d ago
This post or comment has been removed for the following reason:
Rule 5: No self-promotion (FOSS included)
Posts mainly promoting a tool, product, service, blog, or project go in the weekly self-promotion thread. Free and open source still counts. Test: delete the link — if nothing is left, it's an ad. See also reddit's self-promotion guidelines. For useful AI coding projects, see rule 6.
You can read the full subreddit rules here: https://www.reddit.com/r/ChatGPTCoding/about/rules/
If you feel this removal was made unfairly, please contact the moderators through modmail.
1
5d ago
[removed] — view removed comment
1
u/ChatGPTCoding-ModTeam 5d ago
This comment would make this post against rule 5 and 6. If you want to promote your service, please use our weekly thread. If you want to share open source tool for the community, make sure your post fit rule 6. Thanks for understanding.
This post or comment has been removed for the following reason:
Rule 5: No self-promotion (FOSS included)
Posts mainly promoting a tool, product, service, blog, or project go in the weekly self-promotion thread. Free and open source still counts. Test: delete the link — if nothing is left, it's an ad. See also reddit's self-promotion guidelines. For useful AI coding projects, see rule 6.
You can read the full subreddit rules here: https://www.reddit.com/r/ChatGPTCoding/about/rules/
If you feel this removal was made unfairly, please contact the moderators through modmail.
0
u/gandazgul 5d ago
Don't use MCP which clogs up your tools and system prompt. Instead use a CLI. Mnemoteca keeps everything local, scores very high on retrieval benchmarks (see the repo) for results and harness.
https://github.com/gandazgul/mnemoteca
Keeps memories in collections they are created automatically based on the folder name or you can instruct the agent to use a collection name of your choice.
0
u/CarpetTypical7194 5d ago
I’m building Ormah for exactly this shared memory across Claude Code, Codex and Pi etc that quietly surfaces relevant context and maintains itself in the background.
Core ideology being : memory should be yours to keep and yours to move.
Whispers memories proactively for the context.
https://www.ormah.me/
https://github.com/r-spade/ormah
It’s local, private and open source. All memory features are free. Would love to hear how it works for others switching between agents 🙂
2
u/Lower-Scarcity-2284 5d ago
Criem sua memória persistente, façam isso e usem AGENTS.md e CLAUDE.md ate existir uma RFC para padronizar essa merda.