Guides

Cookbook

End-to-end examples for the common MemHQ integration patterns.

Cookbook

Working examples for the most common shapes we see in production. Each recipe is a complete, runnable pattern — copy, paste, adapt.

  • Chatbot with memory — A chat loop that remembers facts across sessions. The canonical "give your assistant memory" pattern.
  • Per-user knowledge — How to isolate one user's memory graph from another's while keeping a shared organizational layer.
  • Webhook ingestion — Streaming events from external systems (Slack, Linear, Notion) into MemHQ via the webhook connector.
  • Use from Claude Desktop — Wiring @memhq/mcp-server so Claude Code and Claude Desktop have persistent memory.

On this page