Skip to content
Skillpedia
Agents101k · #1261

claude-mem-install

What it does

This command helps you install and set up a tool called 'claude-mem' within your Cursor code editor. It lets you choose where this tool will run: on your own computer or on a remote server.

When to use it

  • ✓When you are setting up 'claude-mem' for the first time in Cursor.
  • ✓If you want to run 'claude-mem' on your local computer.
  • ✓If you prefer 'claude-mem' to run on a server on the internet.

Skill link

https://github.com/thedotmack/claude-mem/blob/main/claude-mem-cursor/skills/install/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedotmack/claude-mem/blob/main/claude-mem-cursor/skills/install/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“How do I install claude-mem on Cursor to run locally?”

5 new skills a week. 1 minute to read.

claude-mem-install: full guide

claude-mem is a memory tool for coding agents. This skill covers one narrow job: getting it installed in Cursor and choosing how it runs. The choices are easy to mix up. The "worker" is the background program that does the work, and it can live on your own machine or on a server. The "observer" is the part that processes what the agent sees, and it can use remote inference or your own host login.

The skill gives exact commands for each combination, so you do not have to guess flags. It is for people who use Cursor and want claude-mem set up correctly the first time. It also helps teams that want one shared remote worker instead of one per laptop. If you are not on Cursor, this skill does not apply.

Use cases

Solo setup on your laptop

You use Cursor alone and want claude-mem running on your own computer. You run the default install command, and the local worker starts. The hooks already ship with the plugin, so you do not wire anything by hand. You then check that the local MCP connection works.

Keeping processing on your own login

You do not want inference sent to a remote service. You add the host provider option, which uses your own host login through a loopback shim. The skill warns that the shim must not use the worker port. On macOS the worker is often on 37777, so the shim uses 37778.

Shared remote worker for a team

Your team runs claude-mem on a server at its own address. Each person installs Cursor support with the remote runtime and the server URL, then sets the plugin variable CLAUDE_MEM_MCP_TOKEN so the remote MCP connection can sign in. Everyone then points at the same worker.

Step by step

  1. 1Decide where the worker runs: on your computer (the default) or on a server you control.
  2. 2For a local worker, run npx claude-mem install --ide cursor in your terminal. This starts the worker.
  3. 3Choose the observer: leave the provider as openrouter or cmem.ai for remote inference, or add --provider host to use your local host login.
  4. 4For a remote worker, run the install with --runtime server and --server-url pointing at your host. Then set CLAUDE_MEM_MCP_TOKEN as a plugin variable.
  5. 5Open Cursor and ask it to use its memory tools. Check that the local or remote MCP connection responds.

Example

What to ask

“Set up claude-mem in Cursor on my Mac. I want everything to stay local and not use a remote inference service.”

What you get

The agent runs npx claude-mem install --ide cursor --provider host. It explains that the local worker starts, that hooks come with the plugin, and that the host-login shim listens on port 37778 so it does not clash with the worker, often on 37777 on macOS.

Tips

  • ✓Never restart a healthy worker. The skill says it holds a queue in memory (RAM), so a restart can lose queued work.
  • ✓Do not bind the shim to the worker port. On macOS the worker is often 37777, so the host-login shim uses 37778 instead.
  • ✓For a remote worker, the install command alone is not enough. Set the CLAUDE_MEM_MCP_TOKEN plugin variable, or the remote MCP connection will not authenticate.

Alternatives

  • add-model-provider

    Pick this if you want to connect a new AI model provider to OpenClaw and keep API keys out of plain text, rather than install a memory tool in Cursor.

  • mcp-builder

    Pick this if you want to build your own server that connects a language model to an outside service, instead of installing an existing memory tool.

  • using-agent-skills

    Pick this if you are unsure which skill fits your task and want your agent to find and choose the right one first.

Questions and answers

Should I choose a local or a remote worker?

Local is the default and suits one person on one computer. Choose remote if a team should share one worker on a server. Remote needs a server URL and the CLAUDE_MEM_MCP_TOKEN variable.

What does the --provider host option change?

It makes the observer use your local host login instead of remote inference from openrouter or cmem.ai. A loopback shim handles it, and the skill says it must use a different port than the worker.

Which port does the host-login shim use?

On macOS the worker is often on port 37777, so the shim uses 37778. The rule is that the shim must never bind the worker port. The skill does not name ports for other systems.

How it works

You type a command in the terminal that tells Cursor to install 'claude-mem'. You can specify if it should run on your computer or elsewhere, and how it should connect.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

FAQ

What is a 'worker'?

It's the part of the program that actually does the work. It can be on your computer ('local worker') or on a server ('remote worker').

What does 'provider' mean?

It's the service that 'claude-mem' uses to process information. It can be an online service like 'openrouter' or 'cmem.ai', or something on your own computer.

Do I need to install anything else?

No, this command is standalone. You don't need other tools like the Claude CLI if you're using the 'host' or 'openrouter' providers.

Details

Original description by the author

Use this when setting up claude-mem on Cursor: local or remote worker, local host-login observer or remote cmem.ai inference.

repo: thedotmack/claude-mem

Popularity

GitHub stars
101k
Ranking position
#1261
License
Apache-2.0
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills