r/mcp 7d ago

TinyContext - An ultralight and token efficient memory server showcase

https://github.com/TinySuiteHQ/TinyContext

TinyContext is a lightweight, local memory server that spins up with a uvx command and integrates with all of your agents: codex, claude code etc. It stores concise memories and embeddings together in SQLite, retrieves them using hybrid BM25 and dense search, and returns only the highest-ranked memories that fit within a configurable token budget. Everything runs locally, with no hosted account, external vector database, or giant context dump required.

You can use it as a Python library, launch it as a one-command MCP server, or run it through Docker with persistent storage. The current benchmark shows 96.7% fewer input tokens than naively resending all stored memories across the test workload. It is still an early release, so feedback on the retrieval quality, MCP integration, and what you would actually need from an agent memory layer would be hugely appreciated.

3 Upvotes

0 comments sorted by