Local-first token and context savings for Claude Code
Project description
Supymem CLI
Local-first token and context savings for Claude Code.
Supymem wraps Claude Code through a local optimization proxy that compresses large tool outputs, stores originals locally, and lets Claude retrieve them on demand.
pip install supymem
supymem wrap claude
supymem stats
supymem unwrap claude
supymem doctor
Quick start
- Install the CLI:
pip install supymem
- Launch Claude Code through Supymem:
supymem wrap claude
This starts or reuses a local proxy on http://127.0.0.1:8787, routes Claude through it, sets ENABLE_TOOL_SEARCH=true, and registers the Supymem MCP retrieval server.
- Check savings:
supymem stats
- Restore Claude settings when done:
supymem unwrap claude
Commands
| Command | Description |
|---|---|
supymem wrap claude |
Launch Claude Code through the Supymem proxy |
supymem unwrap claude |
Remove Supymem-managed Claude/MCP settings |
supymem proxy --port 8787 |
Start the local optimization proxy |
supymem doctor |
Check local installation and proxy health |
supymem stats |
Show local compression/token savings |
supymem mcp install |
Register the Supymem MCP server with Claude |
supymem update |
Check for and install CLI updates |
State and privacy
- Runtime state is stored under
~/.supymem. - Compressed originals are stored locally and retrievable via
supymem_retrieve. - Supymem collects anonymous, content-free usage telemetry by default when a telemetry endpoint is configured. We never send prompts, code, file paths, API keys, or Claude messages.
- Disable telemetry with
SUPYMEM_TELEMETRY=0,DO_NOT_TRACK=1, orsupymem telemetry off.
Attribution
Supymem CLI includes software derived from Headroom, licensed under Apache 2.0. Headroom attribution notices are preserved in NOTICE. Supymem is not affiliated with or endorsed by Headroom.
License
Apache License 2.0. See LICENSE and NOTICE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supymem-0.1.0.tar.gz.
File metadata
- Download URL: supymem-0.1.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14f1eb732727e41e2decf9ff63d8312a5d5e641164a5f20f0ee82f15b00f7617
|
|
| MD5 |
90fd83d9917036b437edede84ca2a157
|
|
| BLAKE2b-256 |
6f4a38a11fc2d91bd4d8f85e08676b32117b8a0ae0db5aabbb57c32a7c032073
|
Provenance
The following attestation bundles were made for supymem-0.1.0.tar.gz:
Publisher:
publish.yml on contextplz/supymem-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
supymem-0.1.0.tar.gz -
Subject digest:
14f1eb732727e41e2decf9ff63d8312a5d5e641164a5f20f0ee82f15b00f7617 - Sigstore transparency entry: 1927218838
- Sigstore integration time:
-
Permalink:
contextplz/supymem-cli@2124fe9300519c183470d6ccb3bafc743667d1cb -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/contextplz
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2124fe9300519c183470d6ccb3bafc743667d1cb -
Trigger Event:
release
-
Statement type:
File details
Details for the file supymem-0.1.0-cp310-abi3-manylinux_2_35_x86_64.whl.
File metadata
- Download URL: supymem-0.1.0-cp310-abi3-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 17.5 MB
- Tags: CPython 3.10+, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76305721797e1160100234686985c69d607131f185e093cd0ff84a431dd78669
|
|
| MD5 |
fddcfbd68918cd44ab8962caaafc305a
|
|
| BLAKE2b-256 |
236c52511ec999b2e30854563f818c99e3e1a08976a2387e5be755d7d811dc0a
|
Provenance
The following attestation bundles were made for supymem-0.1.0-cp310-abi3-manylinux_2_35_x86_64.whl:
Publisher:
publish.yml on contextplz/supymem-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
supymem-0.1.0-cp310-abi3-manylinux_2_35_x86_64.whl -
Subject digest:
76305721797e1160100234686985c69d607131f185e093cd0ff84a431dd78669 - Sigstore transparency entry: 1927219255
- Sigstore integration time:
-
Permalink:
contextplz/supymem-cli@2124fe9300519c183470d6ccb3bafc743667d1cb -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/contextplz
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2124fe9300519c183470d6ccb3bafc743667d1cb -
Trigger Event:
release
-
Statement type: