> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code Integration

> Give Anthropic Claude Code persistent, cross-session memory with Memanto.

# Claude Code + Memanto

<img src="https://unpkg.com/@lobehub/icons-static-svg@latest/icons/claudecode-color.svg" alt="Claude Code" width="64" style={{marginBottom: "1.5rem"}} />

Connect [Claude Code](https://claude.com/claude-code) to Memanto so it can store facts, decisions, and preferences and recall them across sessions.

## Connect via CLI (recommended)

```bash theme={null}
memanto connect claude-code
```

This installs a `CLAUDE.md` instruction file and the `memanto-memory` skill into your project. Add `--global` to install to `~/.claude/` for every project:

```bash theme={null}
memanto connect claude-code --global
```

Output:

```
✓ Memanto connected to Claude Code
  Scope: Local
  Path: /project/.claude/
  Status: Ready to use
```

## Connect via MCP

Claude Code is an MCP client, so you can alternatively register Memanto as an MCP server rather than a skill file. See the [MCP integration guide](/integrations/mcp) for the `memanto-mcp` server reference and config.

## Next Steps

* [CLI: connect command](/cli/connect/connect)
* [MCP Integration](/integrations/mcp)
* [Memory Types Reference](/reference/memory-types)
