Mindswap logo

Mindswap

Local-first project and personal memory server that preserves coding context across AI tools through MCP.

Install Mindswap

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mindswap": {
      "command": "npx",
      "args": [
        "-y",
        "mindswap",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio mindswap -- npx -y mindswap mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y mindswap mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Mindswap MCP server stores project context and personal memory locally so AI tools can continue coding work across sessions. It uses file-based memory with a local SQLite search index, exposing context through stdio MCP or HTTP MCP modes. Command-line workflows cover saving state, resuming work, searching memory, managing decisions, and checking setup health. Reach for it when you need repository handoffs or personal preferences to persist across tools and machines.

Use cases

  • Save coding decisions for the next AI session
  • Resume repository work with a generated briefing
  • Search project memory with cited answers
  • Share personal preferences across repositories
  • Rebuild local memory search after file changes

Key features

  • Repository and global memory scopes
  • Local file storage with SQLite indexing
  • Task, decision, blocker, and handoff capture
  • Cited memory search
  • Stdio MCP and HTTP MCP modes
  • Health checks and cross-machine sync commands

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · mindswap (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads272Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.

How Mindswap works

What Mindswap MCP server does

The Mindswap MCP server preserves the information that is commonly lost when an AI coding session ends. It records the current task, git state, decisions, blockers, assumptions, questions, resolutions, and handoff details so another session can begin with relevant context instead of starting from zero.

Memory has two scopes. Repository memory is stored under <repo>/.mindswap/, while personal memory lives under ~/.mindswap/. The global scope is intended for preferences or lessons that should apply across projects. The repository also contains files such as HANDOFF.md, state.json, decisions.log, memory.json, config.json, branch data, and history.

How it works

Mindswap MCP server uses local files as its primary memory store and a local SQLite index for search. The reindex command rebuilds that index from file-based memory. Searches can include repository memory, global memory, or both, and the ask command returns results with citations.

The package exposes the same context to AI clients through mcp and mcp-http.

Setup and configuration

Install the package as a development dependency:

Terminal
npm install mindswap --save-dev

Initialize a repository, then run the server or health check as needed:

Terminal
npx mindswap init
npx mindswap
npx mindswap doctor

Use npx mindswap mcp-install to install MCP configuration, or start the HTTP form with npx mindswap mcp-http.

Tools and capabilities

Mindswap MCP server is paired with CLI operations for:

  • Initializing a repository and importing existing AI context with init.
  • Capturing task information, git state, and decisions with save.
  • Producing a fresh working briefing with resume.
  • Searching stored project or personal context with ask.
  • Managing blockers, assumptions, questions, and resolutions with memory.
  • Recording global personal memory with --global and choosing scopes with --scope.
  • Rebuilding the search index with reindex.
  • Checking setup health and stale context with doctor.
  • Sharing continuity state through sync.

The MCP and HTTP MCP commands make this stored context available to compatible AI clients rather than requiring each client to maintain its own copy.

Limitations and notes

The Mindswap MCP server is local-first: the documented repository and personal memory locations are local filesystem paths. The material does not describe encryption, authentication, hosted storage, conflict resolution, or the details of cross-machine synchronization. It also does not list environment variables, a remote database, or a specific external provider.

The README names several AI tools, but it does not provide client-by-client setup instructions. Review the generated configuration and the target client’s MCP support before choosing between the standard MCP command and the HTTP variant.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mindswap

Mindswap is an MCP server that connects local project and personal memory to AI coding clients. Its main tools and commands save context, resume work, search memory with citations, manage decisions and blockers, check setup health, reindex local data, and expose that context through MCP or HTTP MCP.

Install it with `npm install mindswap --save-dev`, then run `npx mindswap init` in the repository. Use `npx mindswap mcp-install` to install MCP configuration, or run `npx mindswap mcp-http` for the HTTP MCP mode.

Yes, the README names Cursor as a supported AI tool. Mindswap can generate context for Cursor, and its MCP or HTTP MCP commands expose the stored project and personal memory to compatible clients.

Mindswap stores repository memory in `<repo>/.mindswap/` and personal memory in `~/.mindswap/`. Its local files include handoff, state, decisions, memory, configuration, branches, and history; a local SQLite index supports search.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMindswap AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mindswap?style=directory)](https://allmcps.com/mcp/mindswap)
HTML Embed
<a href="https://allmcps.com/mcp/mindswap"><img src="https://allmcps.com/api/badge/mindswap?style=directory" alt="Mindswap on AllMCPs" /></a>