Memory Portability & Migration Capabilities
| Feature / Capability | ChatGPT Custom Instructions | Claude Desktop Memory | Memoreal Persistent MCP Substrate |
|---|---|---|---|
| Cross-Tool Portability | Locked to OpenAI web chat interface | Locked to Claude Desktop desktop app | Portable across Claude Code, Cursor, Codex, Zed, Windsurf, OpenCode |
| Import / Export Format | Opaque web UI text boxes | Manual Markdown file editing | Standardized JSON / REST batch imports (`POST /v1/memories/import`) |
| Team Sharing & Workspaces | Individual account only; no team sharing | Local machine only; no synchronization | Shared team namespaces with 4-tier RBAC and real-time synchronization |
The Walled Garden Problem in Personal AI Memory
Over months of interacting with AI assistants, developers painstakingly train their tools: teaching ChatGPT their preferred coding style, configuring Claude Desktop with repository quirks, and storing facts in standalone experiments. However, because each platform locks user preferences behind closed, proprietary interfaces, this invaluable institutional knowledge remains fractured. When a developer moves to Claude Code or Cursor, their new agents start completely blind, asking elementary questions already answered months ago.
- Institutional knowledge trapped inside proprietary web chat interfaces.
- Zero interoperability between ChatGPT, Claude Desktop, and IDE coding harnesses.
- High switching cost: developers hesitate to adopt superior tools due to lost memory.
- Duplicate effort maintaining contradictory instructions across multiple AI platforms.
Exporting Data from ChatGPT, Claude Desktop & Mem0
Consolidating your memory into an open MCP standard begins with exporting raw memories from legacy systems. In ChatGPT, users navigate to Settings -> Data Controls -> Export Data to receive their structured JSON archive containing custom memories. In Claude Desktop, memories are stored as clear local markdown files in your user configuration directory. For Mem0, a simple SQLite query or JSON dump extracts all stored user memories into an import-ready array of text objects.
- ChatGPT: Export Data archive delivers `memories.json` containing timestamped facts.
- Claude Desktop: Extract project memory markdown files from local application data.
- Mem0: Export SQLite table `memories` to standard JSON objects with salience scores.
- Open format: All formats map directly to Memoreal `{ content, type, salience, context }`.
Executing 60-Second Batch Imports into Memoreal
Once memories are formatted, ingestion into Memoreal is fast and straightforward. Teams can upload their JSON files directly through the `/account` web console interface, which automatically parses and validates each record. Alternatively, developers can script the migration using `POST /v1/memories/import`, which accepts up to 500 items per atomic payload. Once imported, your memories are immediately available across all your MCP-connected tools: Claude Code, Cursor, Codex CLI, and Windsurf.
- Web UI Importer: Drag and drop JSON files in the `/account` dashboard for instant import.
- Batch REST API: `POST /v1/memories/import` supports up to 500 memory records per call.
- Automatic deduplication: `consolidate` merges redundant entries from multiple sources.
- Instant synchronization: all connected IDEs and agent wings share the imported graph.
Batch Importing Memories from JSON Export via Node.js
javascriptimport fs from 'node:fs';
export async function importLegacyMemories(filePath, targetNamespace) {
const rawData = JSON.parse(fs.readFileSync(filePath, 'utf8'));
// Transform arbitrary export records into Memoreal memory schema
const memories = rawData.map(item => ({
content: item.text || item.content || item.memory,
type: item.type || 'episodic',
salience: item.salience ?? 0.6,
context: [['imported_from', item.source || 'chatgpt_export']],
}));
// Ingest in chunks of 500 items per API specification
const CHUNK_SIZE = 500;
for (let i = 0; i < memories.length; i += CHUNK_SIZE) {
const chunk = memories.slice(i, i + CHUNK_SIZE);
const resp = await fetch('https://memoreal.kolivri.com/v1/memories/import', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.MEMOREAL_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
namespace: targetNamespace,
memories: chunk,
}),
});
const result = await resp.json();
console.log(`Ingested batch ${i / CHUNK_SIZE + 1}: ${result.imported_count} memories`);
}
}
Frequently Asked Questions
How long does it take to migrate 1,000 memories into Memoreal?
Using the batch import endpoint (`POST /v1/memories/import`), migrating 1,000 memories takes two API requests and typically completes in under 15 seconds.
Will imported memories interfere with existing repository rules?
No. You can import legacy memories into a dedicated namespace (e.g. `personal-prefs`) or your team workspace, keeping project rules cleanly separated.
Can I export my Memoreal memories if I ever need to leave?
Yes. Memoreal fully supports data portability: you can export all your namespaces and memories as standard JSON or Markdown at any time with zero vendor lock-in.
Install Persistent Memory for Your Coding Agent
Sub-15ms deterministic recall, AST symbol navigation, and 70%+ token savings across Claude Code, Cursor, Codex CLI, and Windsurf.
npx -y @kolivri/memoreal-mcp setup