Skip to main content

SDKs & Tools

📦 TypeScript SDK​

@sharedmemory/sdk — Full-featured client for Node.js and browser. Remember, recall, search entities, explore the graph, and subscribe to real-time updates.

💻 CLI​

@sharedmemory/cli — Manage AI memory from your terminal. Add memories, search, ask questions, and check status.

🤖 MCP Server​

@sharedmemory/mcp-server — Model Context Protocol server for Claude, Cursor, Windsurf, and any MCP-compatible AI.

Which should I use?​

I want to...Use
Build an AI agent with memoryTypeScript SDK
Give Claude/Cursor persistent memoryMCP Server
Manage memory from the command lineCLI
Integrate from Python or other languagesREST API directly
Upload documents and view the graphDashboard

Installation​

# SDK
npm install @sharedmemory/sdk

# CLI
npm install -g @sharedmemory/cli

# MCP Server (typically used via npx)
npx @sharedmemory/mcp-server

All packages require an API key. See Authentication to get one.