Skip to content
MCP server

khive

Hosted memory, knowledge graph and task tracking for AI agents, built in Rust

Install
Pricing
Freemium
Platforms
API, CLI, self-hosted
Runs
Remotely
Version
1.0.1
Listing updated
2 days ago

About khive

khive is a freemium MCP server for knowledge and memory. It runs as a hosted remote server, so there is nothing to install locally.

Where plain vector search finds similar text, khive keeps a typed graph an agent can query and extend as it works. The README describes 162 verbs in 14 packs, nine entity kinds, 20 relation types, five note kinds, hybrid full-text and vector retrieval, graph traversal with shortest path, and GQL and SPARQL queries that run on a SQLite backend. Old records are soft-deleted or superseded rather than erased.

The open-source project is Apache-2.0 and runs locally over stdio. khive also offers a managed cloud endpoint at khive.ai/v1/mcp, with an isolated namespace and API key per account, a usage dashboard and revocable keys. Tasks follow a GTD-style inbox, next actions and delegation with audit trails, and memory supports decay and importance scoring.

A companion called Lion Studio, built on lionagi, shows agent runs, schedules and telemetry from a local daemon.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://khive.ai/v1/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "khive": {
      "url": "https://khive.ai/v1/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "khive": {
      "type": "http",
      "url": "https://khive.ai/v1/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "khive": {
      "serverUrl": "https://khive.ai/v1/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "khive": {
      "type": "http",
      "url": "https://khive.ai/v1/mcp"
    }
  }
}

What it does

Persistent memory
Episodic and semantic memory with decay and importance scoring.
Typed knowledge graph
Entities, edges and notes with traversal and shortest path.
Hybrid retrieval
Full-text and vector search with reranking, plus GQL and SPARQL.
GTD task tracking
Inbox, next actions, priorities and delegation with audit trails.
Managed endpoint
Hosted MCP with an isolated namespace and API key.
Local option
Self-hosted over stdio on SQLite, Apache-2.0.

Good for

  • Give a research agent a graph that grows across sessions
  • Keep decisions and observations between coding sessions
  • Track agent tasks with an audit trail
  • Query relations between papers, projects and people

Pricing

Freemium, from $8 a month

Open source Apache-2.0; hosted Start $8/mo, Plus $25/mo, Pro $100/mo

Prices change. Check khive.ai before you buy.

khive FAQ

What does the hosted plan cost?

Start is $8 a month, Plus $25 and Pro $100, with annual billing 17% off. Monthly Plus has a 14-day trial with a card required.

Can I run it myself?

Yes. The repository is Apache-2.0 and the README describes SQLite on disk with MCP over stdio.

Is data isolated?

The hosted service gives each account its own namespace for memory, graph and tasks.

Which clients work?

Claude Code, Codex, Cursor, Windsurf and other MCP clients.

Is khive free?

khive has a free plan, with paid plans for more usage or features. Paid plans start at $8 a month.

How do I add khive to Claude Code?

Run this command in your terminal: claude mcp add --transport http khive https://khive.ai/v1/mcp

What are the best alternatives to khive?

The closest alternatives to khive are Codebase Memory, XERJ, Ha MCP, Claude Code Ultimate Guide and Nautilus Compass Memory.

Alternatives to khive

  1. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  2. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  3. Ha MCP

    MCP server

    MCP server for managing and automating Home Assistant from AI assistants

    Runs locally
    • 8 tools
    • Open source
    • 7.9K GitHub stars
    • Productivity
  4. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  5. Local-first long-term memory layer for AI agents, served over MCP

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • 1.3K GitHub stars
    • Knowledge and memory
  6. Concord MCP

    MCP server

    Local-first MCP server for messaging and shared work-state between coding agents

    Runs locally
    • Freemium
    • 1.3K GitHub stars
    • Developer tools