Skip to main content

Compressed persistent memory MCP server for AI agents

Project description

aura-turbo

Compressed Persistent Memory for AI Agents

Give your AI assistant a memory that never forgets — and fits in your pocket.

aura-turbo is an MCP (Model Context Protocol) server that provides persistent, compressed memory storage for Claude and other AI assistants. Memories survive across sessions, are compressed with zlib for efficient storage, and are searchable by keyword and tag.

Features

  • Persistent memory — SQLite-backed storage that survives restarts
  • zlib compression — Typical 3-5x compression on text content
  • Three memory levelscore (permanent), working (7-day TTL), ephemeral (24h TTL)
  • Tag-based organization — Categorize and retrieve memories by tag
  • Keyword search — TF-IDF-style relevance scoring across all memories
  • Automatic expiry — Ephemeral and working memories clean up after themselves
  • Deduplication — Content-hash prevents storing identical memories twice
  • Zero external dependencies — Uses only Python stdlib (zlib, sqlite3) plus the MCP SDK

Installation

pip install aura-turbo

Or clone and run directly:

git clone https://github.com/aura-turbo/aura-turbo.git
cd aura-turbo
pip install -e .

Quick Start

Run the server directly:

python server.py

Claude Desktop Configuration

Add to your Claude Desktop MCP config (claude_desktop_config.json):

{
  "mcpServers": {
    "aura-turbo": {
      "command": "python",
      "args": ["/path/to/aura-turbo/server.py"]
    }
  }
}

Or if installed via pip:

{
  "mcpServers": {
    "aura-turbo": {
      "command": "aura-turbo"
    }
  }
}

Custom Database Location

Set the AURA_TURBO_DB environment variable to use a custom database path:

{
  "mcpServers": {
    "aura-turbo": {
      "command": "python",
      "args": ["/path/to/aura-turbo/server.py"],
      "env": {
        "AURA_TURBO_DB": "/path/to/my-memories.db"
      }
    }
  }
}

Default location: ~/.aura-turbo/memories.db

Tools

memory_store

Store a memory with optional tags and importance level.

content: "The user prefers dark mode and uses vim keybindings"
tags: ["preferences", "editor"]
level: "core"

memory_recall

Search memories by keyword or phrase. Returns ranked results.

query: "editor preferences"
limit: 5

memory_forget

Delete a specific memory by ID.

memory_id: 42

memory_stats

Show storage statistics — total memories, compression ratio, space saved.

memory_search_by_tag

Find all memories with a specific tag.

tag: "preferences"

memory_clear_expired

Remove ephemeral memories older than 24h and working memories older than 7 days. Core memories are never removed.

How Compression Works

aura-turbo uses Python's built-in zlib library (which implements DEFLATE/gzip compression) to compress memory content before storing it in SQLite.

Content Type Typical Ratio
English prose 3-4x
Code snippets 3-5x
JSON/structured data 4-6x
Already compressed ~1x

A 1KB conversation summary compresses to ~250-300 bytes. Over hundreds of memories, this adds up to significant space savings while keeping everything in a single portable SQLite file.

Comparison

Feature aura-turbo Mem0 Custom RAG
Price Free $249/mo Varies
Storage Local SQLite Cloud Cloud/Local
Dependencies MCP SDK only Many Many
Compression zlib (3-5x) None None
Setup time 1 minute Account setup Hours
Privacy 100% local Cloud Depends
MCP native Yes No No

Architecture

Claude/AI <--MCP--> server.py <--> storage.py <--> SQLite + zlib
                                        |
                                   ~/.aura-turbo/
                                    memories.db

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aura_turbo-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aura_turbo-0.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file aura_turbo-0.1.0.tar.gz.

File metadata

  • Download URL: aura_turbo-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.10

File hashes

Hashes for aura_turbo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4ebe8f92faf96f47269ce34f1d78fb50276d3aa5eb64de8e4e7d82887fe170ea
MD5 a2635c5c4c2685d8b608390bad155098
BLAKE2b-256 c5445b862ee32a317fde01f2c2d810d8e0ee3cc3f088e78203f87e955cb3a612

See more details on using hashes here.

File details

Details for the file aura_turbo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aura_turbo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.10

File hashes

Hashes for aura_turbo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3557c3482e641a337df54deb657769706f8a9afd8553d52045624e9285f0d87
MD5 023427d84b39d3e567b4af2b2d4176b3
BLAKE2b-256 b85c24593251b53b26fb902d494d952d1eb608b2aa1f5c7218bd2b6534906e5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page