# Total Agent Memory

> Persistent local memory for AI coding agents.

- **URL**: https://followmcp.com/en/servers/total-agent-memory
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 78
- **FMRS Score**: 52/100 (Grade D)
- **Source**: https://github.com/vbcherepanov/total-agent-memory
- **Transports**: stdio (local process)
- **Runtimes**: Python 3.11+
- **Auth**: No credential needed

## Overview
Total Agent Memory is an open-source MCP memory server for AI coding agents. It stores decisions, solutions, facts, errors, and session summaries locally and makes them available through MCP. Each store is built around a SQLite database. Retrieval combines full-text BM25, local dense embeddings, fuzzy matching, and a knowledge graph, with an optional local cross-encoder reranker. The default profile makes no LLM calls on writes or searches.

## Best for
- Developers who use AI coding agents regularly and want context to persist across sessions.
- Researchers who need a memory baseline they can run locally, inspect, and modify.

## Not for
- Users who do not use MCP or do not need cross-session memory.
- Users who cannot accommodate the initial model download or do not want memory data stored locally.

## Required permissions
- Needs read and write access to its local memory directory, `~/.tam/` by default; `TAM_MEMORY_DIR` can set another location.
- Needs to download text embedding and cross-encoder models on first start.

## Risks
- Memories are stored in a local SQLite store and may include project decisions, facts, and session summaries; protect that directory appropriately.
- The initial model download is about 370 MB. Retrieval speed depends on hardware; the documented timing uses an Apple M2 Max.
- Benchmark figures are reported by the project and are not a guarantee of the same results on other datasets or systems.

## Client config (JSON)
```json
{"mcpServers":{"memory":{"command":"total-agent-memory"}}}
```
