SDKs

SDKs

Official MemHQ client libraries for Python, TypeScript, and the Model Context Protocol.

SDKs

Four first-party clients cover the surfaces most developers use.

  • Pythonpip install memhq. Type-hinted, sync and async clients, batteries included for chatbots, agent loops, and RAG pipelines.
  • TypeScriptnpm install @memhq/sdk. Pure-TypeScript types generated from the OpenAPI spec, works in Node and edge runtimes.
  • MCP server — hosted at https://memhq.ai/mcp. Drop MemHQ into Claude Code, Claude Desktop, Cursor, or any MCP-compatible client to give the agent persistent memory it calls on purpose.
  • Claude Code plugin — always-on memory for Claude Code. Injects relevant context at every prompt and captures significant work automatically, without the agent having to reach for a tool.

All three sit on top of the same REST surface documented under API. If you need a language that isn't in this list, you can call the API directly — see the API Reference for request shapes.

On this page