Claude Code Setup
Configure MemPad with Claude Code CLI for persistent AI memory.
Prerequisites
- Claude Code installed
- A MemPad account (request access if you don't have one)
Installation
Claude Code has native Streamable HTTP and OAuth support. Add MemPad with a single command:
claude mcp add --transport http mempad https://api.mempad.ai/mcp
That's it! No additional configuration needed.
Authentication
The first time you use MemPad, your browser will open for OAuth authentication:
- Sign in with your MemPad email and password
- Approve the authorization request
- Return to your terminal - you're authenticated!
Note: OAuth requires browser access. If you're in a headless environment (SSH, containers), authenticate on a machine with a browser first.
Usage
Once configured, use these commands in your Claude Code sessions:
mp!
Load your memory into the conversation
mp:
Save the current context to your memory
Example Session
You: mp!
Claude: Memory loaded. You prefer TypeScript with strict mode,
you're building a Next.js app, and you like concise responses.
You: I'm now also using tRPC for the API
Claude: Got it! I've added tRPC to your preferences. mp:
Memory saved.
Troubleshooting
Verify Installation
Check that MemPad is configured:
claude mcp list
You should see mempad in the list.
Remove and Re-add
If you're having issues, try removing and re-adding:
claude mcp remove mempad
claude mcp add --transport http mempad https://api.mempad.ai/mcp