# khive

> khive is a freemium MCP server for knowledge and memory. Hosted memory, knowledge graph and task tracking for AI agents, built in Rust. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $8 a month
- **Platforms:** API, CLI, self-hosted
- **Website:** https://khive.ai
- **Repository:** https://github.com/ohdearquant/khive
- **MCP Registry name:** ai.khive/khive
- **Categories:** knowledge and memory, productivity
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://khive.ai/v1/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "khive": {
      "url": "https://khive.ai/v1/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [CalderFlow](https://ai-powered.com/mcp/calderflow): CalderFlow is a free MCP server for design and media.

---
Source: https://ai-powered.com/mcp/khive
