Integrating with Claude

Learn how to seamlessly connect UnifiedMemory.ai with Anthropic's Claude assistant.

DevRel Team
December 5, 2025
6 min read
<h2>Overview</h2> <p>Claude is one of the most capable AI assistants available, and UnifiedMemory.ai makes it even more powerful by providing persistent context.</p> <h2>Integration Methods</h2> <h3>Method 1: Browser Extension</h3> <p>Our browser extension automatically injects relevant context into your Claude conversations:</p> <ol> <li>Install the UnifiedMemory.ai browser extension</li> <li>Sign in with your account</li> <li>Select which project(s) to use for context</li> <li>Start chatting with Claude as normal</li> </ol> <h3>Method 2: API Integration</h3> <p>For programmatic access, use our API:</p> <pre><code>import { UnifiedMemory } from '@unifiedmemory/sdk'; const memory = new UnifiedMemory({ apiKey: process.env.UM_API_KEY }); // Get relevant context for a prompt const context = await memory.getContext({ project: 'my-project', query: 'React component development' }); // Use with Claude API const response = await claude.messages.create({ system: context.systemPrompt, messages: [{ role: 'user', content: userMessage }] });</code></pre> <h2>Best Practices for Claude</h2> <ul> <li>Keep system prompts concise - Claude works well with focused context</li> <li>Use project-specific memories for different types of tasks</li> <li>Leverage Claude's long context window for complex projects</li> </ul>