# Optimized Memory

> Use this tool when you need to manage long-term memory and relationship modeling for AI systems, providing a persistent knowledge graph for efficient storage and retrieval of entities, relations, and observations. It solves problems of context maintenance and personalization in applications like chat systems, knowledge management tools, and AI-powered personal assistants. The Optimized Memory server takes in queries and updates, and outputs relevant information, enabling seamless integration with AI assistants like Claude Desktop.

Canonical page: https://skillsregistry.net/skills/hermanwong-optimized-memory  
JSON: https://api.skillsregistry.net/v1/skills/hermanwong-optimized-memory

## Description

This optimized memory MCP server, developed by Herman Wong, provides a persistent knowledge graph for AI systems using SQLite as a backend. Built with Python and leveraging libraries like aiofiles and mcp, it offers tools for creating, updating, and querying entities, relations, and observations in a graph structure. The server is designed for efficient memory management and seamless integration with Claude Desktop. By abstracting knowledge storage and retrieval into a standardized MCP interface, it enables AI assistants to maintain context and personalize interactions across conversations. This implementation is particularly useful for applications requiring long-term memory and relationship modeling, such as personalized chat systems, knowledge management tools, or AI-powered personal assistants.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/hermanwong-optimized-memory)
- **Repository:** <https://github.com/agentwong/optimized-memory-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "hermanwong-optimized-memory"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/hermanwong-optimized-memory` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/hermanwong-optimized-memory/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
