# Mindswap [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/ShipOrBleed/mindswap.git  
**GitHub Stars:** 7  
**npm Downloads (last month):** 272  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mindswap

## Description
Local-first AI context and memory server for cross-tool coding continuity.

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

```json
"mcpServers": {
  "mindswap": {
    "command": "npx",
    "args": ["-y","mindswap","mcp"]
  }
}
```

## Documentation

## 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:

```bash
npm install mindswap --save-dev
```

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

```bash
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.

_Full upstream README: https://allmcps.com/mcp/mindswap/readme_

