# @sksoftofficial/mindroot [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/sksoftofficial/mindroot  
**GitHub Stars:** 1  
**npm Downloads (last month):** 274  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sksoftofficial-mindroot

## Description
Long-term memory for AI agents: hybrid-searched memories over human-editable markdown notes. 100% local — offline ONNX embeddings, SQLite FTS5, MCP server, REST API, CLI, dashboard. No cloud, no API keys.

## Tools
Capabilities this server exposes over MCP:

- **list_projects** — List projects with note/memory/skill counts
- **search_projects** — Fuzzy-find a project by name (semantic + token overlap); at most 8 slugs
- **rename_project** — Rename a project; moves notes and preserves memories and indexes
- **search** — Hybrid search over skill summaries and memories in one call: top skills first, then memories (defaults 3 and 6)
- **save_memory** — Save a memory, optionally linked to a note/section
- **delete_memory** — Delete a memory by id
- **list_notes** — List notes with section paths; with `path`, one note's sections with their sizes
- **read_note** — One section's body via `section`, or the whole note (hash-verified, auto-reindexed); notes over 8,000 characters return an outline instead
- **save_note** — Create a note, or overwrite one when `old_content` matches its current content; returns a receipt
- **update_section** — Search/replace exact text inside one section (unique unless `replace_all`), or set/add the whole section body; returns a receipt
- **delete_note** — Delete a note; unlinks its memories and reports how many
- **list_skills** — List a project's skills with names, descriptions, and revisions
- **read_skill** — Read current instructions or a historical revision
- **save_skill** — Create/update and index a skill; preserve history; use revision 0 for create-only
- **delete_skill** — Delete a skill, its history, and its index

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

```json
"mcpServers": {
  "mindroot": {
    "command": "npx",
    "args": ["-y","@sksoftofficial/mindroot"]
  }
}
```

## Documentation

## What @sksoftofficial/mindroot does

@sksoftofficial/mindroot stores long-term agent context in a local project hierarchy. Markdown notes provide the detailed, human-editable record, while shorter memories act as retrieval-oriented pointers or standalone facts. Reusable skills contain project-specific procedures with revision history, allowing agents to discover instructions by name and description before loading the full procedure.

Content remains on the local machine. Mindroot uses Markdown files for notes and a SQLite database for memories, skills, indexes, and metadata. It also provides a REST API, command-line interface, and browser dashboard alongside its MCP endpoint.

## How it works

Search is project-scoped for notes, memories, and skills. Memory retrieval combines semantic similarity from locally computed embeddings with BM25 keyword ranking through SQLite FTS5. Skill names and descriptions have a separate hybrid index, while full skill procedures are loaded only after a relevant match. Project discovery uses fuzzy matching based on project slugs, embeddings, and token overlap.

Notes are divided into heading-addressable sections. Memories can point to a note or a specific section through a target path, so an agent can search compact memory records and then read the referenced source. Reads verify stored content hashes and re-index notes that were changed outside Mindroot. Large whole-note reads return an outline with section sizes instead of exceeding the MCP context budget.

Writes use receipts rather than returning unnecessarily large documents. Section updates can replace exact text or set and append a section body. Deleting a note removes its links from associated memories and reports the number affected.

## Setup and configuration

Mindroot requires Node.js 22 or newer. Install the package globally, initialize its local store, and start the background service:

```sh
npm install -g @sksoftofficial/mindroot
mindroot init
mindroot start
```

Initialization creates the store, database schema, and API key, then caches the offline embedding model under `~/.mindroot/models`. The default service address is `127.0.0.1:7620`; configuration is stored in `~/.mindroot/config.json`. The service uses Bearer authentication for MCP and REST requests, with the generated key stored in that configuration file.

The MCP endpoint is `/mcp`. Clients can connect with the local service URL and an `Authorization: Bearer <apiKey>` header. Built-in installation commands configure OpenCode, Claude Code, or Codex and add the bundled memory policy to the relevant global instructions file. Restart the client after configuration changes.

## Tools and capabilities

MCP exposes tools for:

- Finding projects and listing project counts, then renaming projects while preserving their stored data.
- Searching memories and skill summaries together, with configurable result counts.
- Saving and deleting memories, including memories linked to notes or sections.
- Listing notes and sections, reading section or whole-note content, and creating or replacing notes.
- Updating one section with exact search-and-replace operations or whole-section writes.
- Deleting notes and cleaning up their memory links.
- Listing, reading, creating, updating, and deleting skills, including historical revisions.

The CLI can invoke tools as a model would, print the tool catalog, and manage the service with `start`, `stop`, `restart`, `status`, and `dashboard`. The dashboard supports browsing and editing notes, memories, and skills, including skill revision inspection.

## Limitations and notes

Mindroot is localhost-only by default and has no crash auto-restart. New projects are created when a write targets an unused project slug; the service does not infer projects from the current working directory or scan disks for them. Search does not span content across projects. MCP responses are intentionally compact, while the REST API returns full records. The embedding model is cached locally and requires roughly 316 MB during initialization.

_Full upstream README: https://allmcps.com/mcp/sksoftofficial-mindroot/readme_

