# memory-pulse [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/t-crew/memory-pulse  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1954  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/memory-pulse

## Description
Causal project memory for agents - corrections surface first; the ledger is a local file you own.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "memory-pulse": {
    "command": "npx",
    "args": ["-y","memory-pulse"]
  }
}
```

## Documentation

## What memory-pulse does

memory-pulse maintains project memory as a local file containing cause-and-effect events. Instead of treating every note as equally relevant, it gives recorded corrections permanent priority in generated briefs. This is intended to prevent an agent from returning to a value, decision, or fact that a later correction replaced.

The system also includes an enforcement path. When an attempted edit would write a retired value back into the project, the guard can block that edit and cite the correction that invalidated it. The ledger is owned by the project rather than stored solely in a remote service.

Four MCP tools expose the main workflow:

- `remember` stores a finding or correction in the ledger.
- `pulse` creates a ranked re-entry brief for the project within a caller-selected budget.
- `recall` searches causal relationships, including what led to an item and what followed it.
- `execute` runs JavaScript against memory in a sandbox and returns only the result to the model context.

## How it works

A correction is represented as an event with `kind: "correction"`. Corrections outrank other events at every brief size and do not decay. The hosted engine handles `pulse`, `recall`, and `execute`, while `remember` operates locally and can work offline.

Recall uses a confidence floor. If a causal relationship is not strong enough to meet that threshold, the tool returns an empty result instead of presenting a speculative answer. This makes the absence of a result meaningful when an agent is deciding whether a remembered relationship is reliable enough to use.

Ledger rows are hash-chained so changes to the record can be detected. The guard runs against edits made by configured host hooks, allowing memory capture and correction enforcement to happen around agent sessions.

## Setup and configuration

The package requires Node.js 18 or newer. The basic command-line flow is:

```sh
npx -y memory-pulse demo
npx -y memory-pulse init
npx -y memory-pulse doctor
```

`demo` exercises a correction and several edits in a temporary directory. `init` prints a plan, asks for confirmation, creates the `.memory-pulse/` directory, and installs hooks for detected hosts. Use `--dry-run` to stop after the plan or `--yes` to skip the prompt. `doctor` checks Node, hook wiring, the guard, and ledger verification; `--offline` skips its informational engine request.

The server uses the stdio MCP transport. Claude Code and Codex can register it with their MCP commands, while Cursor can use the corresponding hook installation option. Claude Code and Codex also have plugin installation paths. A global npm installation exposes `memory-pulse install-hook` for Claude Code, Codex, Cursor, or a repository-scoped setup.

## Tools and capabilities

- Record findings and corrections in a project-owned ledger.
- Rank corrections ahead of other memory in session briefs.
- Query causal predecessors, consequences, and relationship strength.
- Execute JavaScript over memory inside a sandbox.
- Detect edits that restore a retired value and block them.
- Capture session activity through host-specific hooks, including optional handoff and tool-result capture paths.

## Limitations and notes

The local ledger is the source file that the project owns, but `pulse`, `recall`, and `execute` use the hosted engine. A weak causal match produces no recall result rather than a low-confidence answer. Hook installation and trust behavior depend on the host: for example, Codex requires its installed hooks to be reviewed and trusted. The Claude Code plugin does not include the PreCompact handoff automatically; that hook must be added separately if needed.

The `init` command only changes files after its plan is approved, and it makes no changes in a noninteractive terminal unless `--yes` is supplied. The installer does not run as root or download the package itself; npx handles package retrieval and caching.

_Full upstream README: https://allmcps.com/mcp/memory-pulse/readme_

