A hosted memory server for Claude Code over MCP
khive cloud is a hosted MCP server that gives Claude Code memory across sessions, a typed knowledge graph, and task tracking. Claude Code connects to https://khive.ai/v1/mcp with OAuth or an API key.
Why Claude Code forgets between sessions
Every Claude Code session starts with a fresh context window. What carries over is what Claude Code reads from disk when the session starts: your CLAUDE.md files, and the first 200 lines or 25KB of the MEMORY.md that its auto memory keeps for the project. Anthropic documents both in How Claude remembers your project.
Use both. Three cases fall outside them:
- Something you said only in the conversation. After
/compact, Claude Code reads the projectCLAUDE.mdfrom disk again. An instruction you gave only in the chat is not in that file, so it can be gone. - A second machine. Auto memory lives under
~/.claude/projects/on the machine that wrote it. Anthropic's documentation says these files are not shared across machines or cloud environments. - A second tool. The memory directory belongs to Claude Code. A memory that Codex, Cursor or ChatGPT should also see has to live somewhere all of them can reach.
Where khive fits, and where it does not
khive keeps memories in a hosted workspace instead of a file on one machine. Claude Code saves one with remember and finds it in a later session with recall_memories, which searches by meaning and returns the closest matches, so only those matches enter the context window, not the whole store. Every client connected to the same khive account reaches the same memories: Claude Code on another machine, Codex, Cursor or ChatGPT.
Claude Code has a memory of its own, so it saves to khive when you ask it to (“Save to khive that our release notes go out on Thursdays”). A line in your CLAUDE.md that asks for the same thing is loaded every session. khive stores what the agent saves. It does not copy your conversations, and it does not replace CLAUDE.md.
What khive gives you
Your agent can save a memory with remember and find memories by meaning with recall_memories.
The same tools catalogue includes records linked by typed relations, tasks, and reference knowledge atoms.
How to set it up
Create a khive account and workspace, then hold a plan. Add https://khive.ai/v1/mcp with claude mcp add --transport http --scope user khive https://khive.ai/v1/mcp, then authenticate in the browser and approve Claude Code.
Claude Code can also connect with an API key stored in an environment variable. Follow the Claude Code connection steps and the Quickstart for the full account and connection setup.
What it costs
| Plan | Monthly | Annual | Trial |
|---|---|---|---|
| Start | $8 | $80 | none |
| Plus | $25 | $250 | 14 days, on monthly |
| Pro | $100 | $1,000 | none |
Prices are in US dollars. There is no free tier. Plus monthly starts with a 14-day free trial. See Plans for plan details.
Limits and what it does not do
Each plan has usage, request, and stored-record limits. The Billing page in your dashboard shows how much of your included usage is left as a percentage, and a call is refused when the plan is inactive, usage is exhausted, or a limit is exceeded.
A refused call does not change the tools Claude Code is offered.