Claude Code Setup
Claude Code is the recommended AI client for Engram. This guide walks you through the optimal configuration.
MCP Server Configuration
Section titled “MCP Server Configuration”Add Engram to your Claude Code MCP settings. In your project’s .mcp.json or global MCP config:
{ "mcpServers": { "memory": { "command": "engram", "args": ["--stdio"] } }}CLAUDE.md Integration
Section titled “CLAUDE.md Integration”For the best experience, add Engram instructions to your CLAUDE.md file. This tells Claude Code how to use the memory system effectively:
# Memory
Use the memory MCP server as your primary memory system.
When you learn something worth remembering (preferences, patterns, decisions,debugging insights), `remember` it immediately. Use project scoping:project-specific knowledge gets the project name, cross-project preferencesget "global".
After remembering, `recall` related memories and `connect` them with edgesto build a knowledge graph.See the full CLAUDE.md Integration guide for a complete template.
Advise Hook
Section titled “Advise Hook”For automatic context injection, configure Claude Code’s advise hook to recall relevant memories before each message. This is covered in detail in the CLAUDE.md Integration guide.
Next Steps
Section titled “Next Steps”- CLAUDE.md Integration — Full CLAUDE.md template and advise hook setup
- Tools Reference — Browse all 22 MCP tools