Skip to main content
MCP server CX Codex

khive — Claude Code MCP server: what it does, how to install

khive — an MCP server for Claude Code connects agents to a persistent knowledge graph and task memory. It records typed entities, notes, and dependencies across sessions.

Apache-2.0 ★ 34 updated 2026-11-16

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http khive https://khive.ai/v1/mcp
Open on GitHub

What khive does

The server maintains agent memory through a local SQLite database or a hosted endpoint. It divides data into three layers: typed graph entities, observation notes with salience scoring, and an immutable event log. Retrieval pairs SQLite FTS5 full-text indexing with vector RRF and breadth-first search graph traversals.

The MCP interface exposes a single request tool that dispatches 163 operations grouped into 14 packs. These packs cover GTD task flows, code tools, and Git modifications like commits or branch merges. Compiling the local kkernel binary requires a Rust toolchain and builds about 330 crates.

What it helps with

  • retain project knowledge and context across coding sessions
  • link entities with typed edges and dependency graphs
  • retrieve notes using hybrid full-text and vector ranking
  • track tasks and assignments with GTD verbs

Example prompts for the agent

  • Search the khive knowledge graph for entities linked to the auth module
  • Record an architectural decision note about switching to SQLite in khive
  • List all pending GTD tasks in the current namespace

How to install khive

Platform CLI: remote server

claude mcp add --transport http khive https://khive.ai/v1/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about khive

How to install khive in Claude Code?

Run claude mcp add --transport http khive https://khive.ai/v1/mcp. For local execution, compile the binary first with cargo install kkernel --locked.

What does khive do?

It provides AI agents with persistent graph memory, structured notes, and GTD task management. The graph retains relationships between sessions.

What are the requirements for khive?

The hosted version connects directly via https://khive.ai/v1/mcp. Running the local binary requires a Rust toolchain via rustup to compile kkernel.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open