# brainmemory-mcp

Source: https://glimind.com/server/pypi%2Fbrainmemory-mcp
Registry id: `pypi/brainmemory-mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "brainmemory-mcp": {
      "command": "uvx",
      "args": [
        "brainmemory-mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add brainmemory-mcp -- uvx brainmemory-mcp
```

## Tools (15)

- `connect_memories`: Shortest connection (path) between two memories; optional content_chars to preview/truncate long content.
- `edit_details`: Add / update / delete extra facts attached to memories — mixed ops in one batch.
- `edit_links`: Create (link) / remove (unlink) directed connections — mixed ops in one batch.
- `export_graph_html`: Export the complete graph to a standalone interactive 3D HTML file at an absolute output_path.
- `forget_memories`: Delete one or more memories (now soft-deletes into trash for safety).
- `list_memories`: List stored memories (most important & recent first); optional content_chars to preview/truncate long content.
- `memory_map`: Return a map (nodes + links) of the memory graph; optional content_chars to preview/truncate long content.
- `recall_memories`: Fetch one or more memories by id; opt-in include_details / include_links for the richer payload; optional content_chars to preview/truncate long content.
- `recall_related`: Multi-hop recall: memories connected to one memory, up to depth hops; optional content_chars to preview/truncate long content.
- `restore_memories`: Soft-delete trash, history, rollback, and trash purge management; list_trash / history ops accept a per-item content_chars to preview/truncate long content.
- `search_memory`: Search-engine style: rank memories by relevance (BM25) for multi-word/long queries; also searches details; optional graph expand; optional content_chars to prev
- `store_memories`: Persist one or more memories (content, category, tags, importance).
- `summarize_memories`: Summary statistics: totals, categories, top tags, connection stats, most-connected memories.
- `transfer_memories`: Download/upload migration JSON inline across MCP servers, with optional absolute file paths and keyset pagination for large graphs.
- `update_memories`: Modify one or more memories (only supplied fields change).

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
