SDKs
SDKs
Official MemHQ client libraries for Python, TypeScript, and the Model Context Protocol.
SDKs
Three first-party clients cover the surfaces most developers use.
- Python —
pip install memhq. Type-hinted, sync and async clients, batteries included for chatbots, agent loops, and RAG pipelines. - TypeScript —
npm install @memhq/sdk. Pure-TypeScript types generated from the OpenAPI spec, works in Node and edge runtimes. - MCP server —
@memhq/mcp-server. Drop MemHQ into Claude Code, Claude Desktop, or any MCP-compatible client to give the agent persistent memory.
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.