MemoryGraph Cloud provides multi-device sync, automatic backups, and zero maintenance. Access your memories from any device with your coding agent.
Benefits
- Multi-device sync - Access memories from laptop, desktop, or cloud IDE
- Zero maintenance - No database setup or backups needed
- Team collaboration - Share knowledge graphs with your team (coming soon)
- Automatic backups - Your data is always safe
- Native graph queries - Full Cypher support via FalkorDB
Quick Setup
Step 1: Get Your API Key
- Sign up at memorygraph.dev
- Go to your Dashboard
- Click "Create API Key"
- Copy the key (starts with
mg_)
Step 2: Configure Your Client
Claude Code CLI
# Remove existing local config (if any)
claude mcp remove memorygraph
# Add with cloud backend
claude mcp add --scope user memorygraph \
--env MEMORYGRAPH_API_KEY=mg_your_key_here \
-- memorygraph --backend cloud
# Restart Claude Code
exit
claude Claude Desktop / Cursor / Other MCP Clients
Add to your MCP config file:
{
"mcpServers": {
"memorygraph": {
"command": "memorygraph",
"args": ["--backend", "cloud"],
"env": {
"MEMORYGRAPH_API_KEY": "mg_your_key_here"
}
}
}
} Environment Variables
export MEMORYGRAPH_API_KEY=mg_your_key_here
memorygraph --backend cloud Step 3: Verify Connection
# Check health
memorygraph --health
# In Claude Code
claude mcp list
# Should show: memorygraph: connected Migrating from Local to Cloud
If you have existing memories in a local SQLite database, you can migrate them to the cloud.
Option A: Export/Import (Recommended)
# 1. Export from local (while still using local backend)
memorygraph export --format json --output my-memories.json
# 2. Configure cloud backend (see above)
# 3. Import to cloud
memorygraph import --format json --input my-memories.json Option B: Built-in Migration
# Migrate directly from SQLite to cloud
memorygraph migrate \
--from sqlite \
--to cloud \
--dry-run # Remove to execute
# With verification
memorygraph migrate \
--from sqlite \
--to cloud \
--verbose Configuration Options
| Variable | Description | Default |
|---|---|---|
MEMORYGRAPH_API_KEY | Your API key from memorygraph.dev | (required) |
MEMORYGRAPH_API_URL | API endpoint URL | https://graph-api.memorygraph.dev |
Offline Mode
The cloud backend includes a circuit breaker for network resilience. If the connection is temporarily unavailable, operations will retry automatically with exponential backoff.
Data Privacy
- Your memories are isolated in your own graph namespace
- Data is encrypted in transit (TLS) and at rest
- API keys can be revoked at any time from your dashboard
- Export your data anytime with
memorygraph export
Troubleshooting
"Unable to connect to cloud backend"
# Check API key is set
echo $MEMORYGRAPH_API_KEY
# Test connection
curl -H "X-API-Key: $MEMORYGRAPH_API_KEY" \
https://graph-api.memorygraph.dev/health "Authentication failed"
- Verify your API key is correct (starts with
mg_) - Check the key hasn't been revoked in your dashboard
- Ensure there are no extra spaces or newlines in the key
"Rate limit exceeded"
Free tier includes 1000 requests/day. Upgrade your plan for higher limits. See Pricing for details.
Switching Back to Local
You can switch back to local storage at any time:
# Export from cloud first
memorygraph export --format json --output cloud-backup.json
# Reconfigure for local
claude mcp remove memorygraph
claude mcp add memorygraph memorygraph
# Import to local
memorygraph import --format json --input cloud-backup.json