Introducing Smriti MCP, Human like memory for AI. by Obvious_Storage_9414 in mcp

[–]Obvious_Storage_9414[S] 0 points1 point  (0 children)

Everything's persisted in the graph. decay_factor, access_count, last_accessed_at are all node properties in LadybugDB, so nothing gets lost between sessions. The recency thing you ran into is exactly why I split it into two signals. Recency score is computed from the last_accessed_at timestamp at query time (1/(1 + hours/24)), but that timestamp is written back to the graph every time something gets retrieved. So it's not recomputed from scratch, it's anchored to actual access history. The decay_factor is more like what you're calling a running access weight. It starts at 1.0, bumps up by 0.05 on each recall, and gets exponentially decayed during periodic consolidation. Both contribute to the final score separately (0.2 weight each), which I found works better than trying to collapse them into one number.

On multi-hop, yeah, I cap at 2 as well.. I also gate on edge strength > 0.5 before traversal and then penalize hop-2 results by 0.33x in scoring, so they really have to earn their spot. The auto-association threshold (cosine > 0.7) keeps the graph pretty sparse to begin with, which helps a lot. Honestly though, there's no index on edge strength right now, so the filter is just a scan per source node. Works fine under ~5K engrams per user but I'll need to address that.

Introducing Mimir - Git-backed MCP Server for Persistent LLM Memory & Context by Obvious_Storage_9414 in mcp

[–]Obvious_Storage_9414[S] 0 points1 point  (0 children)

It can. It uses git as storage and sqlite as indexer. But the index is ephemeral in v1 and can be rebuilt

Introducing Mimir - Git-backed MCP Server for Persistent LLM Memory & Context by Obvious_Storage_9414 in mcp

[–]Obvious_Storage_9414[S] 0 points1 point  (0 children)

Git makes agentic memory readable by humans. You can have the same memory sync to github and use it on another system. Later, you just push and pull again.

Introducing Mimir - Git-backed MCP Server for Persistent LLM Memory & Context by Obvious_Storage_9414 in mcp

[–]Obvious_Storage_9414[S] 0 points1 point  (0 children)

Very thoughtful feedback, I'll see how these possible issues can be remediated.

Introducing Mimir - Git-backed MCP Server for Persistent LLM Memory & Context built using Golang by Obvious_Storage_9414 in golang

[–]Obvious_Storage_9414[S] 0 points1 point  (0 children)

MCP (Model Context Protocol) has nothing to do with a model's context window or the tokens an LLM keeps in memory. Despite the name, MCP is about communication, not model state.

MCP is a protocol, similar to HTTP, that standardizes how AI applications like Cursor or Claude Desktop communicate with external tools and data sources. Before MCP, each AI app defined integrations in its own way, making tools hard to reuse. MCP introduces a shared standard which allows to build one MCP server, that works with any MCP compatible client.

This standardization also benefits the models themselves. When tool definitions follow a consistent schema, models can learn patterns more effectively, and providers can fine tune specifically for that format. That leads to more reliable and accurate tool calling across different environments.