The fastest way to integrate Engram with Claude Desktop, Claude Code, or other AI platforms:
-
Start Engram:
npm run dev
-
Open the dashboard: http://localhost:5173
-
Launch the Setup Wizard:
- Click the Agents tab
- Click Quick Setup
- Click Launch Setup Wizard
-
Follow the wizard:
- Select your AI platform (Claude Desktop, Claude Code, etc.)
- Copy the auto-generated configuration
- Paste into your platform's config file
- Restart your AI application
The wizard auto-detects your installation path and provides ready-to-use configurations. No manual path finding required!
Start both the REST API server and web dashboard:
npm run devThis will:
- Start REST API on http://localhost:3838
- Start dashboard on http://localhost:5173
Start just the REST API server:
npm start
# or
node bin/engram.js startAccess API at http://localhost:3838
For Claude Desktop/Code integration:
npm run mcp
# or
node bin/engram.js start --mcp-onlyNo server needed, just run commands:
node bin/engram.js remember "Your memory here"
node bin/engram.js recall "search query"
node bin/engram.js list
node bin/engram.js status# Stop any running Engram processes
pkill -f "node bin/engram.js"
pkill -f "vite"
# Or use Ctrl+C in the terminal where it's running# Check if port 3838 is free (API)
lsof -ti:3838 || echo "Port 3838 is free"
# Check if port 5173 is free (Dashboard)
lsof -ti:5173 || echo "Port 5173 is free"# Kill process on port 3838
lsof -ti:3838 | xargs kill -9
# Kill process on port 5173
lsof -ti:5173 | xargs kill -9-
Install dependencies:
npm install cd dashboard && npm install && cd ..
-
Verify installation:
node bin/engram.js --version npm test -
Create your first memory:
node bin/engram.js remember "I prefer TypeScript over JavaScript" --category preference -
Check status:
node bin/engram.js status
node bin/engram.js remember "Project uses Fastify framework" \
--category fact \
--entity fastify \
--namespace my-projectnode bin/engram.js recall "What framework does the project use?" --limit 5# All memories
node bin/engram.js list
# Filter by namespace
node bin/engram.js list --namespace my-project
# Filter by category
node bin/engram.js list --category preferencenode bin/engram.js forget <memory-id>node bin/engram.js consolidatenode bin/engram.js conflicts-
Start the full stack:
npm run dev
-
Open http://localhost:5173 in your browser
-
Use the dashboard to:
- View system statistics
- Browse and filter memories
- Perform semantic searches
- Create new memories
- Delete memories
- Run consolidation
- View conflicts
-
Start the API server:
npm start
-
Test with curl:
# Health check curl http://localhost:3838/health # Get status curl http://localhost:3838/api/status # Create memory curl -X POST http://localhost:3838/api/memories \ -H "Content-Type: application/json" \ -d '{ "content": "User prefers dark mode", "category": "preference" }' # Search curl -X POST http://localhost:3838/api/memories/search \ -H "Content-Type: application/json" \ -d '{"query": "user preferences", "limit": 5}'
-
Add to Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.json):{ "mcpServers": { "engram": { "command": "node", "args": [ "/full/path/to/engram/bin/engram.js", "start", "--mcp-only" ] } } } -
Restart Claude Desktop
-
Ask Claude to remember or recall information
See docs/mcp-setup.md for detailed instructions.
Default config location: ~/.engram/config.yml
dataDir: ~/.engram
port: 3838
defaults:
namespace: default
recallLimit: 5
confidenceThreshold: 0.3
security:
secretDetection: true
consolidation:
duplicateThreshold: 0.92
decayEnabled: true
staleCleanupDays: 90# Kill the process using the port
lsof -ti:3838 | xargs kill -9
# Or use a different port
node bin/engram.js start --port 8080The model (~23MB) downloads automatically on first use. Make sure you have:
- Internet connection
- ~50MB free disk space
- Write access to
~/.engram/models/
# Stop all Engram processes
pkill -f "node bin/engram.js"
# Remove lock files
rm ~/.engram/*.db-shm ~/.engram/*.db-wal
# Restart
npm start# Clean test artifacts
rm -rf /tmp/engram-*
# Reinstall dependencies
rm -rf node_modules
npm install
# Run tests
npm test# Watch mode
npm test
# Run once
npm run test:runnpm run lintcd dashboard
npm run buildReady to start? Try: npm run dev and open http://localhost:5173 🚀