Claude-Mem Cursor Memory Setup

thedotmack/claude-mem

Set up Claude-Mem in Cursor with a local or remote worker and choose the appropriate observation provider.

Contenuto aggiornato: SKILL.md
Punteggio di qualità 78/100
npx claude-mem install --ide cursor
116.859Stelle10.141ForkUltimo push del repository

Informazioni sullo Skill

Set up Claude-Mem in Cursor with a local or remote worker and choose the appropriate observation provider.

SKILL.md

Autore: Alex Newman (thedotmack) · thedotmack/claude-mem · Apache-2.0 · SKILL.md @ 82d3602

---
name: claude-mem-install
description: >-
  Use this when setting up claude-mem on Cursor: local or remote worker,
  local host-login observer or remote cmem.ai inference.
---
# Install claude-mem on Cursor

Independent of Grok Bot. Do not require the other IDE.

## Local worker (default)

```
npx claude-mem install --ide cursor
```

Starts the local worker. Hooks already ship with this plugin. MCP `claude-mem-local` talks to it.

Observer:

- Remote inference (typical): leave provider as openrouter / cmem.ai (`CLAUDE_MEM_OPENROUTER_BASE_URL=https://cmem.ai/api/inference/v1`)
- Local host-login: `--provider host` (loopback shim; never bind the worker port — on macOS the worker is often 37777, so the shim uses 37778)

## Remote worker

```
npx claude-mem install --ide cursor --runtime server --server-url https://YOUR_HOST
```

Set plugin variable `CLAUDE_MEM_MCP_TOKEN` for `claude-mem-remote` (`https://cmem.ai/api/mcp` or your server).

Never restart a healthy worker (RAM queue). No Claude CLI required for host/openrouter.

Perché lo abbiamo scelto

A reusable workflow from the Claude-Mem project. It is listed separately to explain this task; shared runtime and helper dependencies remain part of the upstream installation. The inherited gallery demonstrates the memory system, not this task’s specific output.

A cosa serve

  • Add cross-session memory to a Cursor installation.

How the workflow runs

  1. Step 1

    Choose a local worker or an explicitly configured remote worker.

  2. Step 2

    Run the documented Cursor installer and choose the inference provider.

  3. Step 3

    Verify the relevant MCP connection and preserve any existing healthy worker.

Original install instructions

Expected result

A configured Cursor memory integration with the selected runtime and provider.

Original install instructions

Try a concrete request

  1. Example request

    After installing the required integration, ask your agent:

    Set up Claude-Mem for Cursor using a local worker and explain the provider choices.

Prima di usarlo

  • Cursor, Node.js/npm, network access, and a local runtime or reachable remote Claude-Mem service. Hosted inference may incur charges.
  • Use the original upstream files and follow the documented host integration. Model or third-party service usage can carry separate costs.

Agenti supportati

Cursor

Fonti e riferimenti

Le fonti originali sono collegate qui sotto. Gli spunti pratici sono suggerimenti editoriali di SkillHey.