Short-term memory proxy gateway with proactive memory surfacing for AI agents
README
Official website & docs: https://memtomem.com
π§ Alpha β APIs and defaults may change between 0.1.x releases. Feedback and issue reports are especially welcome: Issues Β· Discussions.
Spend fewer tokens. Remember more. Ship faster.
memtomem-stm is an MCP proxy that typically cuts token usage by 20β80% and gives your agent memory across sessions β with no changes to your upstream MCP servers.
It sits between your AI agent and its upstream MCP servers, compressing tool responses, caching repeated calls, and automatically surfacing relevant context from prior sessions via a memtomem LTM server.
What memtomem-stm does:
flowchart TB
Agent["Agent<br/>(Claude Code, Cursor, β¦)"]
subgraph STM["memtomem-stm (STM)"]
Pipe["CLEAN β COMPRESS β SURFACE β (INDEX)"]
end
LTM[("memtomem LTM<br/>(MCP server)")]
FS["filesystem<br/>MCP server"]
GH["github<br/>MCP server"]
Other["β¦any MCP server"]
Agent -->|M