AI Agent Memory MCP server
io.github.xiangzi1126/ai-agent-memory-mcp·v0.1.1Agent-agnostic persistent memory MCP server. Local-first: memories travel with your project.
0 stars
Reviews
Write oneNobody has reviewed AI Agent Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
AI Agent Memory tools (8, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
forget删除一条记忆(SQLite+Chroma+Markdown 三处同步)。用户要求"删掉 / 忘掉"某条记忆时调用。
get_memory按 id 取单条记忆的完整内容(含 [[link]] 关联)。已知具体 id 时调用。
list_memories列出记忆(可按分类过滤),按更新时间倒序(不含正文)。浏览 / 概览已有记忆时调用。
recall语义 + 关键词 + 标题三路融合检索,返回最相关记忆(含正文 + [[link]] 关联)。
remember存储一条持久化记忆(SQLite+Chroma+Markdown 三处同步,自动 embed)。
search_memories按分类 / 标签 / 来源 Agent 结构化过滤(不含正文)。需精确筛选时调用。
update_memorywrite action更新已有记忆;改 content 会重算向量并刷新 Markdown。修改 / 补充已有记忆时调用。
who_am_i返回当前 Agent 标识、项目根、数据目录与各分类记忆数量。会话开始时先调用,了解当前 agent 与记忆库概况。
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan13 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 73 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How AI Agent Memory compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Tools
- 8
- the typical AI and agents server has 6
- Tools that change things
- 13%
- typical: 0%. Fewer write tools means less an agent can break
What its tools let an agent do: 7 read · 1 change
Install AI Agent Memory in Claude Code, Cursor or VS Code
claude mcp add ai-agent-memory-mcp -- uvx ai-agent-memory-mcp
What the publisher says
From the AI Agent Memory repository's README, as published. We do not edit it. Read it on GitHub
AI Memory MCP Server
<!-- mcp-name: io.github.xiangzi1126/ai-agent-memory-mcp -->
Agent-agnostic persistent memory as an MCP Server — local-first: memories travel with your project in .aamm/, shared across Claude Code / Qoder / Cursor.
中文 | 日本語
An agent-agnostic persistent memory layer exposed as an MCP Server. Any MCP client — Claude Code, Qoder, Cursor — can reuse it. Memories live in each project's .aamm/ directory and travel with the project; different agents working the same project share one memory store, with a source_agent stamp distinguishing writers.
Architecture
- SQLite — structured source of truth (CRUD + FTS5 keyword search)
- Chroma (embedded) — vector retrieval, persisted to .aamm/chroma/
- Embedding — any OpenAI-compatible service (Volcengine / SiliconFlow / OpenAI / others); defaults to Volcengine doubao-embedding-vision
- Markdown mirror — each memory is also written to .aamm/memories//.md, human-readable and editable
The three layers are joined by id.
Memory categories
Install
From PyPI:
pip install ai-agent-memory-mcpFrom source:
cd ai_agent_memory_mcp
pip install . # or: pip install -e . (editable, for development)Requires Python 3.11+.
Configure embedding (any OpenAI-compatible service)
The embedding layer is a generic OpenAI-compatible client — Volcengine / SiliconFlow / OpenAI / any compatible service works. On first run a default config is generated at .aamm/config.yml; edit as needed.
Fields (embedding section of .aamm/config.yml)
Put the key in the project root .env, then edit the embedding section of config.yml.
Examples
Volcengine doubao-embedding-vision (default; Agent/Coding Plan keys must use the Plan endpoint /api/plan/v3 — standard /api/v3 returns 401)
embedding:
provider: volcengine
model: doubao-embedding-vision
base_url: https://ark.cn-beijing.volces.com/api/plan/v3
api_key_env: VOLCENGINE_API_KEY
dim: 2048.env: VOLCENGINEAPIKEY=...
SiliconFlow bge-large-zh (Chinese-text optimized)
embedding:
provider: siliconflow
model: BAAI/bge-large-zh-v1.5
base_url: https://api.siliconflow.cn/v1
api_key_env: SILICONFLOW_API_KEY
dim: 1024.env: SILICONFLOWAPIKEY=...
OpenAI
embedding:
provider: openai
model: text-embedding-3-small
base_url: https://api.openai.com/v1
api_key_env: OPENAI_API_KEY
dim: 1536.env: OPENAIAPIKEY=...
Any other OpenAI-compatible service: just fill in baseurl / model / apikey_env / dim.
After switching embedding model, old vectors may mismatch in dimension; clear .aamm/chroma/ and re-remember, or run python tests/rebuild_vectors.py.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
AI Agent Memory: common questions
- Is AI Agent Memory MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the AI Agent Memory safety report
- How do I install AI Agent Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does AI Agent Memory need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is AI Agent Memory maintained?
- The last commit was 112 days ago (2026-07-15). The latest release is v0.1.1.
- What can I use instead of AI Agent Memory?
- Servers from other publishers that do the same job: Basic Memory MCP server, Memanto MCP server and Agent Recall MCP server.
- How does AI Agent Memory compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 8 (the typical AI and agents server has 6); tools that change things 13% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to AI Agent Memory
Same job from other publishers: the closest match first, then the best rated.
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- MemantoMCP server for Memanto - persistent semantic memory for any MCP-compatible agentnot reviewedEstablishedA
- Agent RecallCorrection-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.not reviewedEstablishedA
- Total Agent MemoryPersistent local memory for coding agents: temporal knowledge graph, procedural and episodic recallnot reviewedEstablishedA
- HOL GuardLocal-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.not reviewedEstablishedA