🕵️ SicherheitslückenWhat continuous operational resilience looks like under DORA(09.09.2026 um 17:53 Uhr)
🔧 AI Nachrichten OpenAI seeks tougher AI rules. CIOs may feel the ripple effects(10.09.2026 um 12:11 Uhr)
🔧 AI Nachrichten Mistral valued at €21bn after €3bn Series D funding round(08.09.2026 um 10:19 Uhr)
🪟 Windows TippsWindows XP's Cursor Indicator Is Getting a Windows 11 Refresh(25.08.2026 um 13:00 Uhr)
🕵️ SicherheitslückenWhat continuous operational resilience looks like under DORA(09.09.2026 um 17:53 Uhr)
🔧 AI Nachrichten OpenAI seeks tougher AI rules. CIOs may feel the ripple effects(10.09.2026 um 12:11 Uhr)
🔧 AI Nachrichten Mistral valued at €21bn after €3bn Series D funding round(08.09.2026 um 10:19 Uhr)
🪟 Windows TippsWindows XP's Cursor Indicator Is Getting a Windows 11 Refresh(25.08.2026 um 13:00 Uhr)

🔧 Programmierung 🕛 vor 2 Monaten 2 Min Lesezeit
0

I built an MCP server that gives AI coding assistants persistent memory (85.6% token reduction)

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Every time you start a new Claude Code session, your AI has zero context about what you were working on. Same with Cursor, Cline, Windsurf. You spend the first few minutes re-explaining the codebase, the decisions you made, where you left off. It's annoying.



I got tired of it and built something to fix it.






What it does



sessionmem is a local-first MCP server that watches your coding sessions and auto-injects a compact summary at the start of each new one. Your AI instantly knows what you were working on, what decisions were made, and what's next.



The compression is aggressive. Instead of feeding the full conversation history into context (expensive, often impossible due to token limits), sessionmem distills sessions down to just the key facts. In testing we're seeing 85.6% token reduction compared to keeping full history.



Everything is stored in SQLite at ~/.sessionmem/memories.db. No cloud, no account, no API keys, no config files to mess with.






Works with everything MCP-compatible




  • Claude Code

  • Cursor

  • Cline

  • Windsurf

  • Any other MCP host






Getting started



Install in 30 seconds:




CODE
npx sessionmem






Then add to your MCP config:




CODE
{
"mcpServers": {
"sessionmem": {
"command": "npx",
"args": ["-y", "sessionmem"]
}
}
}






That's it. sessionmem starts watching your sessions immediately and builds up memory over time.






Why local-first



Your code is sensitive. Your thought process, architecture decisions, and in-progress work shouldn't be sent to a third-party service.



SQLite is fast and zero-dependency. Works offline, no daemon to manage, no Docker.



You own your data. The database file is right there at ~/.sessionmem/memories.db - readable, deletable, no lock-in.






How the memory works



After each session, sessionmem generates a compact summary capturing: what you were building, key decisions made, files touched, and what's left to do. Next time you start a session, this gets injected automatically before you type anything.



The summaries get better at capturing what matters in your specific workflow over time.






Links




  • GitHub:



Would love feedback if you try it out - especially on whether the right context is being captured in the summaries.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Sam Altman calls GPT-6 Astra rollout ‘messy’ as enterprise users wait for access
1 Quelle
Swiss government explores replacing Microsoft 365 with open-source software
1 Quelle
What continuous operational resilience looks like under DORA
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I built an MCP server that gives AI coding assistants persistent memory (85.6% token reduction)

Thematisch verwandte Begriffe: built, server, that, gives · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...