1. Conduid
  2. AI
  3. Lightmem
MCP server · AI

Lightmem

[ICLR 2026] LightMem: Lightweight and Efficient Memory-Augmented Generation

84Strong

Scored 8 hours ago · breakdown

About Lightmem

Lightmem is an MCP server published by zjunlp in the AI category: [ICLR 2026] LightMem: Lightweight and Efficient Memory-Augmented Generation. Conduid read 5 tools from its source: add_memory, get_timestamp, offline_update, retrieve_memory and show_lightmem_instance. It is published to PyPI as lightmem and runs with uvx.

The repository has 1.2K stars and 119 forks, is licensed MIT, and its last commit was on 17 Nov 2026. Conduid has no tagged release on record for it. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include large-language-models, chatbot, lightmem, artificial-intelligence and knowledge.

Install

uvx
uvx lightmem
pip
pip install lightmem
From source
git clone https://github.com/zjunlp/LightMem

Tools (5)

add_memoryAdd new memory (user input and assistant reply pair) to the LightMem.
ParameterTypeDescription
assistant_reply *stringAssistant role's response or reply
force_extractbooleanWhether to force memory extraction, regardless of thresholds
force_segmentbooleanWhether to force segmentation, regardless of buffer conditions
timestampstringTimestamp (optional, format: "YYYY-MM-DDTHH:MM:SS.sss")
user_input *stringUser role's input or question
get_timestampGet the current time and return it in the specified format (YYYY-MM-DDTHH:MM:SS.sss).
offline_updateUpdate all memory entries by using LightMem's update strategy.
ParameterTypeDescription
keep_top_nintegerNumber of top entries to keep in update_queue
score_thresholdnumberMinimum similarity score for considering update candidates
top_kintegerNumber of nearest neighbors to consider for each entry
retrieve_memoryRetrieve relevant memory entries from LightMem based on a query.
ParameterTypeDescription
filtersanyOptional filters to narrow down the search, usually metadata filters supported by the vector database.
limitintegerNumber of similar results to return (top-k for vector retrieval)
query *stringThe natural language query string to search for relevant memories
show_lightmem_instanceShow the current LightMem instance's status.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by web/frontend/package-lock.json.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

README

The repository's README runs to about 4.3K words, fetched 4 days ago. The original in the repository is authoritative.

Read full README
Questions

About Lightmem

How do I install Lightmem?

Run uvx lightmem, then add the server to your MCP client's configuration.

Is Lightmem safe to use with an AI agent?

Its trust score is 84 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lightmem still maintained?

Yes — the last commit was 15 days ago. The repository has 1.2K stars and 119 forks and 14 open issues.

What tools does Lightmem provide?

Conduid read 5 tools from the source: add_memory, get_timestamp, offline_update, retrieve_memory and show_lightmem_instance. 3 of them publish their parameters, listed under Tools above.

What license is Lightmem released under?

The repository declares the MIT license.