mag-memory
PyPI wrapper for mag, a Rust-based MCP memory server.
mag stores memories in SQLite with ONNX embeddings for semantic search, exposing 19 MCP tools via stdio protocol. No external services required.
Installation
pip install mag-memory
Usage
# Start the MCP server
mag serve
# The native binary is downloaded automatically on first run.
# All CLI arguments are passed through to the Rust binary.
How it works
This package does not bundle the native binary. On first run, it detects your platform (Linux/macOS/Windows, x86_64/ARM64), downloads the correct prebuilt binary from GitHub Releases, and caches it locally. Subsequent runs use the cached binary with zero overhead (Unix exec).
Supported platforms
| OS | Architecture |
|---|---|
| Linux | x86_64, aarch64 |
| macOS | x86_64, Apple Silicon (aarch64) |
| Windows | x86_64 |
License
MIT
Metadata
Release files for mag-memory 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mag_memory-0.1.9.tar.gz | 4.6 kB | With provenance | Details for mag_memory-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mag_memory-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for mag_memory-0.1.9-py3-none-any.whl |
Total release size: 9.9 kB
Release files / mag_memory-0.1.9.tar.gz
| Download URL | mag_memory-0.1.9.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
605ebb8c6599b5bcef4d2d60dc86470ff4f1ddd1f2ae3323670beff781724e4f
|
|
BLAKE2b-256 checksum How to use checksums |
76011dd92b7f592bc9c5fcfaeed40a0395e782636b47983d089a653d2518a7c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 4, 2026.
Transparency logRelease files / mag_memory-0.1.9-py3-none-any.whl
| Download URL | mag_memory-0.1.9-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c999ca30d157e368a6634bc5a5de43bb8b90901de4b90c77de7913bec70aa64
|
|
BLAKE2b-256 checksum How to use checksums |
cee3240534727d2b053a54a048c3caec1947c9283468aecbd2cbf290e71809d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 4, 2026.
Transparency logSecurity for mag-memory 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mag_memory-0.1.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.