How aluro7in/supermemory works
Supermemory is an AI second brain: people save content, organize it into projects, and retrieve it through chat or connected AI tools. The repository includes a web app, browser and Raycast extensions, MCP support, and reusable AI integrations; the actual memory-service backend is not present in this tree. The graph reflects README-described product capabilities, sampled MCP behavior, and source paths available in the tree; wiring within unsampled web and extension flows is therefore shown only at the documented product level.
Main entry points: api.ts Web API client · page.tsx Web application · server.ts MCP server · index.ts Page integrations
Components 19
Web app
- Web application
apps/web/app/(app)/page.tsx - Onboarding
apps/web/app/(app)/onboarding/page.tsx - Settings and connections
apps/web/app/(app)/settings/page.tsx
Capture and organize
- Add memory
apps/web/components/add-document/index.tsx - Connected sources
apps/web/components/integrations-view.tsx - Browser extension
apps/browser-extension/entrypoints/popup/App.tsx - Page integrations
apps/browser-extension/entrypoints/content/index.ts - X bookmark import
apps/browser-extension/utils/twitter-import.ts - Raycast save
apps/raycast-extension/src/add-memory.tsx
Memory retrieval
- Memory chat
apps/web/components/chat/index.tsx - Memory graph
packages/memory-graph/src/components/memory-graph.tsx - Raycast search
apps/raycast-extension/src/search-memories.tsx
AI integrations
- MCP server
apps/mcp/src/server.ts - MCP API client
apps/mcp/src/client.ts - AI tool adapters
packages/tools/src/index.ts
Shared capabilities
- Web API client
packages/lib/api.ts - Onboarding research
apps/web/app/api/onboarding/research/route.ts
Other components
- Person
- Supermemory service
Connections 28
- Person → Onboarding: sets up account
- Person → Web application: uses
- Person → Browser extension: saves from browser
- Person → Raycast save: saves with Raycast
- Person → Raycast search: searches with Raycast
- Person → MCP server: connects AI tool
- Onboarding → Onboarding research: requests research
- Web application → Add memory: opens capture
- Web application → Connected sources: manages sources
- Web application → Memory chat: opens chat
- Web application → Memory graph: views graph
- Web application → Settings and connections: configures account
- Add memory → Web API client: submits content
- Connected sources → Web API client: connects sources
- Browser extension → Web API client: saves page
- Page integrations → Web API client: captures conversations
- Page integrations → X bookmark import: supports import
- X bookmark import → Web API client: imports bookmarks
- Raycast save → Supermemory service: saves memory
- Memory chat → Web API client: queries memories
- Memory graph → Supermemory service: loads graph data
- Raycast search → Supermemory service: searches memories
- Web API client → Supermemory service: calls API
- MCP server → MCP API client: dispatches tools
- MCP API client → Supermemory service: reads and writes
- AI tool adapters → Supermemory service: integrates memory
- Settings and connections → MCP server: configures connection
- Onboarding research → Supermemory service: uses web research