Skip to content
MCP server

Khwan

Durable AI memory: recall distilled facts in a later session or subagent, and remember…

Install
Pricing
Open source
Runs
Locally or Remotely
Version
0.3.12
Listing updated
5 days ago

Similar MCP servers

About Khwan

Khwan is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Durable AI memory: recall distilled facts in a later session or subagent, and remember new ones.

Install

Run in a terminal

claude mcp add khwan-mcp --env KHWAN_API_KEY='<KHWAN_API_KEY>' -- uvx khwan-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "khwan-mcp": {
      "command": "uvx",
      "args": [
        "khwan-mcp"
      ],
      "env": {
        "KHWAN_API_KEY": "<KHWAN_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "khwan-mcp": {
      "command": "uvx",
      "args": [
        "khwan-mcp"
      ],
      "env": {
        "KHWAN_API_KEY": "<KHWAN_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "khwan-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "khwan-mcp"
      ],
      "env": {
        "KHWAN_API_KEY": "<KHWAN_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "khwan-mcp": {
      "command": "uvx",
      "args": [
        "khwan-mcp"
      ],
      "env": {
        "KHWAN_API_KEY": "<KHWAN_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "khwan-mcp": {
      "command": "uvx",
      "args": [
        "khwan-mcp"
      ],
      "env": {
        "KHWAN_API_KEY": "<KHWAN_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • KHWAN_API_KEYYour Khwan key from https://app.khwan.ai (kwk_live_...). It authenticates you to Khwan; it is not your model provider's key.Required
  • KHWAN_CORESelect a named core (brain). Paid plans only — the free plan has just `default`, and an unknown slug answers 404. Leave unset to use the default.
  • KHWAN_USERA separate brain inside the core, created on first write — 3 on the free plan, unlimited on paid. Sets the X-Khwan-User header.
  • KHWAN_BASE_URLOverride the API base URL, e.g. http://127.0.0.1:8010 for a self-hosted engine.

Pricing

Open source

Prices change. Check khwan.ai before you buy.

Khwan FAQ

Is Khwan free?

Yes. Khwan is open source, so you can use and self-host it for free.

How do I add Khwan to Claude Code?

Run this command in your terminal: claude mcp add khwan-mcp --env KHWAN_API_KEY='<KHWAN_API_KEY>' -- uvx khwan-mcp

What are the best alternatives to Khwan?

The closest alternatives to Khwan are Brainfeather, YourMemory, GrantAi Memory, Memory and Kirok Memory.

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers

Alternatives to Khwan

  1. Brainfeather

    MCP server

    Long-term memory for AI coding agents: durable project facts, recalled by every MCP…

    Not checked yet
    • Remote
  2. YourMemory

    MCP server

    Persistent memory for AI agents. Memories decay with time and strengthen on recall.

    Runs locally
    • Open source
  3. GrantAi Memory

    MCP server

    Persistent memory for AI agents. Infinite context with sub-millisecond recall.

    Runs locally
    • Open source
    • Knowledge and memory
  4. Memory

    MCP server

    Persistent memory for AI agents. Remember, recall, and explore a shared knowledge graph.

    Runs locally
    • Open source
    • Knowledge and memory
  5. Kirok Memory

    MCP server

    Persistent memory for AI agents - hybrid semantic + keyword recall with autonomous…

    Runs locally
    • Open source
    • Knowledge and memory
  6. Persistent memory for AI agents. Store, recall, and share knowledge across sessions.

    Runs locally
    • Open source