Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Counterparts

✓ service owner · counterparts.ai

by mlapeterversion 0.3.47i★ 15iRuns on your computerOfficial site ↗
Registry nameai.counterparts/memory

How to install

What it does

Local-first memory for AI: it interprets, forgets on purpose, and keeps a self across sessions.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6381 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6051 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2361 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity30/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score42/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Counterparts. Follow https://mcp.popnx.com/i/counterparts-memory.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Counterparts for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memory": { "command": "npx", "args": [ "-y", "counterparts", "counterparts-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Counterparts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "memory": {
          "command": "npx",
          "args": [
            "-y",
            "counterparts",
            "counterparts-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Counterparts and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Counterparts or shows a Counterparts tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • COUNTERPARTS_DATA_DIR Where the memory lives. Default: ~/.counterparts/store.
  • COUNTERPARTS_CONFIG The host configuration file. Default: ~/.counterparts/claude-code.json.
  • COUNTERPARTS_UPDATE_CHECK Set to off to stop the daily npm version check.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Counterparts yet

Counterparts runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Counterparts

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Counterparts for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user memory -- npx -y counterparts counterparts-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Counterparts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user memory -- npx -y counterparts counterparts-mcp
  4. Type /mcp in Claude Code

    You should see Counterparts listed as connected

  5. Try it

    Use Counterparts and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Counterparts or shows a Counterparts tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • COUNTERPARTS_DATA_DIR Where the memory lives. Default: ~/.counterparts/store.
  • COUNTERPARTS_CONFIG The host configuration file. Default: ~/.counterparts/claude-code.json.
  • COUNTERPARTS_UPDATE_CHECK Set to off to stop the daily npm version check.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Counterparts for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memory": { "command": "npx", "args": [ "-y", "counterparts", "counterparts-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Counterparts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Counterparts and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Counterparts or shows a Counterparts tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • COUNTERPARTS_DATA_DIR Where the memory lives. Default: ~/.counterparts/store.
  • COUNTERPARTS_CONFIG The host configuration file. Default: ~/.counterparts/claude-code.json.
  • COUNTERPARTS_UPDATE_CHECK Set to off to stop the daily npm version check.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Counterparts for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "memory": { "type": "stdio", "command": "npx", "args": [ "-y", "counterparts", "counterparts-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Counterparts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Counterparts and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Counterparts or shows a Counterparts tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • COUNTERPARTS_DATA_DIR Where the memory lives. Default: ~/.counterparts/store.
  • COUNTERPARTS_CONFIG The host configuration file. Default: ~/.counterparts/claude-code.json.
  • COUNTERPARTS_UPDATE_CHECK Set to off to stop the daily npm version check.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Counterparts💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user memory -- npx -y counterparts counterparts-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "counterparts",
        "counterparts-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "counterparts",
        "counterparts-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "counterparts",
        "counterparts-mcp"
      ]
    }
  }
}

Values you fill in

  • COUNTERPARTS_DATA_DIR env
    Where the memory lives. Default: ~/.counterparts/store.
  • COUNTERPARTS_CONFIG env
    The host configuration file. Default: ~/.counterparts/claude-code.json.
  • COUNTERPARTS_UPDATE_CHECK env
    Set to off to stop the daily npm version check.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
1,512/wk
Verified domain
✓ counterparts.ai
Connection
Runs on your computer
Latest versioni
0.3.47
Published to registryi
Nov 6, 2026
Code last changedi
Nov 19, 2026
Maker
mlapeter
Packages
npm: counterparts
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified against the domain counterparts.ai (the registry checks domain ownership)

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for counterparts@0.3.47

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/counterparts-memory.svg)](https://mcp.popnx.com/en/servers/counterparts-memory)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 94% of the other 6430 servers in this category
  • Published to the registry more recently than 76% of the other 6430 servers in this category
  • Basic checks equal to or better than 99% of the other 6430 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Counterparts safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (0.3.47) reached the registry 13 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.3KUpdated 5 days ago

Runs in the cloud✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated 2 months ago

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
Compared with similar ones
This one
Counterparts
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks3/35/52/44/44/44/4
LicenseMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Counterparts

Long-term memory for Claude Code, written by Claude itself.

Agents are great. What you're missing is a counterpart.

Each Claude Code session starts over, apart from your CLAUDE.md files and Claude's short MEMORY.md notes. With Counterparts, Claude writes down what it learned as it works and at the end of each session, in its own words. What matters sticks and the rest fades unless it comes up again. After the first few sessions, each one opens with a short note Claude wrote itself: who it is, where the work stands, what's coming up and how yesterday went, so you stop re-explaining your projects and how you like to work.

It's for anyone who works with Claude Code every day and wishes it remembered, and for people interested in an AI that builds a relationship with them over time. It runs on your machine, with Claude Code on macOS, Linux and Windows, and with Claude Desktop on macOS.

Install

You need Node 22.15 or newer, or bun 1.3 or newer, on macOS, Linux and Windows (Windows is new: tell us how it goes). Bun on macOS is the setup in daily use; Node and Linux (since 0.3.11) pass a smoke test and an install run but have no daily user yet. On Windows, install with npm, from PowerShell, cmd or Git Bash; what differs there is in QUICKSTART. Under WSL it works as on Linux.

npm install -g counterparts@latest

counterparts

With bun instead: bun add -g counterparts, then counterparts. Whichever runtime runs the setup is the one Claude Code's hooks and memory tools are wired to. Or install it as a Claude Code plugin: /plugin marketplace add mlapeter/counterparts, then /plugin install counterparts@counterparts, then restart Claude Code. The plugin sets itself up on its first session, with no terminal step; /counterparts:doctor checks it.

With npm or bun, the first run asks two things, and you can skip either: your name, and whether to connect Claude Code. Connecting adds hooks to ~/.claude/settings.json (it backs the file up first), registers the memory tools, and adds one deniedMcpServers entry there so the hosted Counterparts Online connector never loads into Claude Code as a second memory. Hooks and settings from other tools are left alone. No API keys and no account. Then restart Claude Code and check it:

counterparts doctor

For Claude Desktop on macOS (since 0.3.9), run counterparts install --host claude-desktop, then set the counterparts tools to Always allow in Claude Desktop, so a chat can wake on its own.

The first session in a new folder asks whether you want memory there. To remove it, run counterparts uninstall; your memory is kept unless you ask for it to be deleted. The full walkthrough is in docs/QUICKSTART.md.

What it remembers, and where it lives

  • Who you are, how you like to work, what you decided together, what's in progress and where you left off. Claude writes these as notes in its own words, not transcripts.
  • What it knows about you reaches every folder. Notes about a project's work show up in that project.
  • The memories live in one SQLite file under ~/.counterparts, readable by your account only. You can read, export or delete them. Search by meaning runs on a small model on your machine, about 30 MB.
  • Your memory leaves your machine only through Claude Code (or Claude Desktop) itself. Counterparts' one request of its own (since 0.3.39) is a daily check with npm for the newest version number. It sends nothing about you, and you can turn it off (see Status).
  • The text of a conversation is kept only until it's written up: since 0.3.21 it is deleted 3 days after that, or about two weeks after the conversation goes quiet, whichever comes first, the next time Counterparts runs. It is never in a backup.
  • What's stripped before anything is kept, in the memories and in that conversation text: credentials in recognisable shapes (API keys, tokens, private keys, passwords in URLs, a value after a name like password= or api_key:), and most passwords named in a sentence ("my wifi password is …", "the PIN is …"): the value goes, the sentence stays. Not every secret has a shape, so don't paste things you wouldn't want kept.
  • It doesn't read or change your CLAUDE.md files or Claude Code's own auto memory (MEMORY.md), so they run side by side. A committed CLAUDE.md stays the place for rules your team shares through git.

How Claude Code's own memory works, and where Counterparts fits: counterparts.ai/guides/claude-code-memory. More at counterparts.ai. A hosted version for claude.ai is coming soon, in beta; sign up on the home page to hear when it opens.

Found a bug? Open an issue. For anything else, write to mike@resonantventures.com.

What it does

  • It writes its own memories. At the end of a session it writes down what it learned, in its own words. Notes, not transcripts.
  • It forgets on purpose. Memories fade unless they come up again. What matters sticks; the rest lets go.
  • It knows who it has been. After the first few sessions, every session opens with a short note it wrote itself: who it is, where the work stands, what's coming up.
  • It keeps a journal. Each session becomes a chapter in a first-person account of your time together.
  • It changes its mind slowly. What it believes about you shifts only under real evidence, and it keeps the history of what it used to think.
  • Things come to mind. As you talk, related memories surface quietly, the way one thing reminds you of another.
  • It's yours. It lives on your machine, and you can read, export or delete it; see What it remembers, and where it lives.

Where it's going

Today's models are frozen, so memory is the only learning they do. Once a real memory works on top of a frozen model, the plan is to pair it with an open-weight model whose weights can change, so the AI can learn and grow, not just remember.

Using it

Once installed it runs on its own. A few commands are worth knowing:

counterparts dashboard          # look at the memory in your browser

counterparts ask "..." # ask the memory a question counterparts scope . --off # don't remember this directory counterparts export --out --passphrase # an encrypted copy of everything counterparts --help # the rest

Export needs --passphrase or --plaintext; it won't pick for you. No command opens an encrypted export yet: the README written beside it gives the format (scrypt and AES-256-GCM), so it can be opened by hand.

Memory is on for every directory by default. The first session in a new directory asks whether you want it there.

How it works

Two pieces connect it to Claude Code. Hooks load a briefing at the start of each session and bring up related memories as you talk. A small MCP server gives the AI tools to save what it learned, write a journal entry, and look things up.

The core doesn't depend on Claude Code. Each part is its own module, with a CONTRACT.md describing what it does:

modulewhat it does
storeOne SQLite database, plus a rebuildable search cache and daily snapshots
encodeFilters what comes in: strips credentials, drops junk, scores what's new
rememberTakes what the AI writes during and at the end of a session
recallFinds related memories as you talk
associateLinks memories that come up together
schemasBeliefs about people and things, revised slowly
selfIdentity, the journal, and the start-of-session briefing
prospectiveReminders for later, triggered by a date or a topic
sleepNightly housekeeping: fading, pruning, merging, promoting
physicsThe math for strength and decay

More: docs/ELI5.md (the whole system in plain words) and docs/module-map.md.

Status

Early. It's been the author's daily memory since September 2026, on bun and macOS; Node (22.15+) and Linux pass a smoke test and an install run but have no daily user yet. Claude Desktop has no Linux build, so on Linux it is Claude Code only. Expect rough edges, and please open an issue when you hit one.

There are no API keys, and your memory leaves your machine only through Claude Code itself. Counterparts makes one request of its own: once a day, the background worker that Claude Code's hooks start asks registry.npmjs.org for the newest version number, and sends nothing about you or your memory. To stop it, set "updateCheck": false in ~/.counterparts/claude-code.json, or ask Claude to stop the update reminders. COUNTERPARTS_UPDATE_CHECK=off or Claude Code's CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC stops it too, set in the environment Claude Code runs in. Search by meaning runs on a small model on your machine, and a session that ends before it's written up is written up by the next session in that project.

That small model finds close paraphrases ("my doctor" finds a note about a physician), but not a description that never names the thing: "a pet that purrs" won't find a note about your cat. Exact words are strongest, and a short memory matches better than one padded with names and details.

Background

Counterparts is the third version of a memory project. The earlier ones (claude-engram, engram, and bansai) were each used daily before the next was written. CONSTITUTION.md holds the principles.

License and contributing

Counterparts is source-available under the Business Source License 1.1 from version 0.4.0 (see LICENSE). In short:

  • Free to use, for anyone: personally or at work, at a company of any size, including rolling it out inside your own organization.
  • Building it into a product or service you offer others, selling one that needs it to run, or offering it as a hosted or API service, needs a commercial license: hello@counterparts.ai. Free, unmonetized projects and free plugins and connectors don't.
  • Each version becomes Apache 2.0 four years after it's released.
  • Versions released before 0.4.0 were MIT-licensed, and copies of those stay MIT.

LICENSE is the binding text; this summary isn't. Contributions are welcome; see CONTRIBUTING.md.