# memory-pulse MCP server

> Provides AI agents with self-improving, secure memory through a hash-chained ledger that enforces corrections and prevents reintroducing retired values.

- Repository: https://github.com/t-crew/memory-pulse
- Page: https://hostedmcp.org/servers/t-crew/memory-pulse
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.16.1

## Install

### Claude Code

```sh
claude mcp add --env 'MEMORY_PULSE_KEY=<YOUR_MEMORY_PULSE_KEY>' memory-pulse -- npx -y memory-pulse
```

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

```json
{
  "mcpServers": {
    "memory-pulse": {
      "command": "npx",
      "args": [
        "-y",
        "memory-pulse"
      ],
      "env": {
        "MEMORY_PULSE_KEY": "<YOUR_MEMORY_PULSE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "memory-pulse": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memory-pulse"
      ],
      "env": {
        "MEMORY_PULSE_KEY": "<YOUR_MEMORY_PULSE_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"memory-pulse","type":"stdio","command":"npx","args":["-y","memory-pulse"],"env":{"MEMORY_PULSE_KEY":"<YOUR_MEMORY_PULSE_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "memory-pulse": {
      "command": "npx",
      "args": [
        "-y",
        "memory-pulse"
      ],
      "env": {
        "MEMORY_PULSE_KEY": "<YOUR_MEMORY_PULSE_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add memory-pulse --env 'MEMORY_PULSE_KEY=<YOUR_MEMORY_PULSE_KEY>' -- npx -y memory-pulse
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.memory-pulse]
command = "npx"
args = ["-y", "memory-pulse"]

[mcp_servers.memory-pulse.env]
MEMORY_PULSE_KEY = "<YOUR_MEMORY_PULSE_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'MEMORY_PULSE_KEY=<YOUR_MEMORY_PULSE_KEY>' memory-pulse npx -- -y memory-pulse
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "memory-pulse": {
      "command": "npx",
      "args": [
        "-y",
        "memory-pulse"
      ],
      "env": {
        "MEMORY_PULSE_KEY": "<YOUR_MEMORY_PULSE_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MEMORY_PULSE_KEY` | no | yes | License key (optional; free tier without one) |
| `MEMORY_PULSE_BOARD` | no | no | Shared agent message board file; set it to add board_post and board_read |
| `MEMORY_PULSE_LEDGER` | no | no | Ledger file path (default ./.memory-pulse/events.jsonl) |

## FAQ

### How does memory-pulse ensure memory security?

Memory security is built-in using hash-chained records so any edit is visible, and a guard blocks edits that attempt to write retired values back into the context.

### What tools does the server provide to the agent?

The server provides four tools: remember (to record findings or corrections), pulse (to re-enter a project with a ranked brief), recall (to trace cause and effect), and execute (to run JS in a sandbox).
