# kipu

> kipu is an open-source MCP server for agent memory. MCP server that records decisions and next steps from coding agent sessions as Markdown. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, Self-hosted
- **Repository:** https://github.com/hundredeuk2/kipu-mcp
- **MCP Registry name:** io.github.hundredeuk2/kipu-mcp
- **Categories:** [agent memory](https://ai-powered.com/categories/agent-memory)
- **Listing updated:** 2026-11-28

## About

kipu gives a coding agent a persistent record of its work: the current goal, the next action, and each choice made along the way with its reason. Entries are plain Markdown files stored in the project folder, so the history can be read, committed or ignored like any other repo file.

When a decision is replaced, the earlier one is kept and linked to its replacement along with the reason for the change. A companion terminal view draws the work and decisions as a map beside the agent, and a new session can resume from what was recorded instead of starting cold.

It suits developers who work with Claude Code or Codex and want to trace why a plan changed. Decisions marked as the user's own must be backed by a matching message from the project's session log, which the server checks before accepting them.

## Features

- **Decision records:** Each choice is saved with its reason, alternatives, related files and who made it.
- **Linked replacements:** Superseded decisions remain visible and point to what replaced them and why.
- **Session resume:** A new agent session can pick up the current goal, decisions and next action from the record.
- **Terminal goal map:** A companion view shows work items and decisions as a graph next to the agent.
- **User decision evidence:** Decisions attributed to the user are refused unless a matching message in the session log supports them.
- **Markdown storage:** Records live as plain files in a hidden project folder, with no database or hosted service.

## Good for

- Keep track of goals and next steps while working with a coding agent across several sessions
- Review why an earlier architecture choice was changed and what replaced it
- Give a fresh agent session the context of decisions made in previous sessions
- Share a project's decision history with teammates by committing the record files

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add kipu-mcp -- npx -y @hundredeuk2/kipu-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add kipu-mcp -- npx -y @hundredeuk2/kipu-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.kipu-mcp]
command = "npx"
args = ["-y", "@hundredeuk2/kipu-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user kipu-mcp npx -- -y @hundredeuk2/kipu-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "kipu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hundredeuk2/kipu-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 6 tools changes data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `set_work_context` (name suggests: changes): Create or update a work item: purpose, status, next action, what waits for you, the goal it serves
- `record_decision`: Record a choice with its reason, alternatives, files, and who decided
- `supersede_decision`: Replace a decision; the old one stays, linked, with why it changed
- `resume_context`: Show where things stand for the next session
- `search_records` (name suggests: reads): Find decisions by words, path or work, or open one in full by id
- `find_evidence` (name suggests: reads): Find the user's own recent messages to cite when they made a call

## FAQ

### How is kipu installed for Claude Code?

Install the npm package globally, add it with claude mcp add using stdio transport, then run kipu init in the project. An npx form is also documented.

### Where is the data stored?

In Markdown files under the repo's .kipu folder. Users can commit them to share or add them to .gitignore.

### Does kipu need a database or online service?

No. It works with Markdown files on the local machine and uses no hosted service.

### Which agents does kipu support?

Claude Code is the main documented setup. Codex and local sessions of the Claude and ChatGPT desktop apps are also covered in the install guide.

### Is kipu free?

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

### How do I add kipu to Claude Code?

Run this command in your terminal: claude mcp add kipu-mcp -- npx -y @hundredeuk2/kipu-mcp

### What are the best alternatives to kipu?

The closest alternatives to kipu are Memorinth, Decision Log, Kerno, Oneda and Astryke Hub.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Memorinth](https://ai-powered.com/mcp/memorinth): Memorinth is a free MCP server for knowledge and memory.
- [Decision Log](https://ai-powered.com/mcp/decision-log): Decision Log is a freemium MCP server for agent memory.
- [Kerno](https://ai-powered.com/mcp/kerno): Kerno is a freemium MCP server for agent memory.
- [Oneda](https://ai-powered.com/mcp/oneda): Oneda is a freemium MCP server for agent memory.
- [Astryke Hub](https://ai-powered.com/mcp/astryke-hub): Astryke Hub is a paid MCP server for agent memory.

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