# NeuroStack

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/raphasouthall/neurostack  
**GitHub Stars:** 47  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/neurostack

## Description
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.

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

```json
"mcpServers": {
  "neurostack": {
    "command": "uvx",
    "args": ["neurostack"]
  }
}
```

## Documentation

## What NeuroStack MCP server does

The NeuroStack MCP server turns a folder of Markdown files into a local retrieval layer for MCP-compatible AI clients. It supports vaults from Obsidian, Logseq, Notion exports, Bear, Roam, and plain Markdown, provided the content is available as `.md` files.

The source files remain separate from the index. Search, summaries, graph analysis, and indexing do not alter the vault. The system returns ranked evidence with note paths and excerpts so the connected AI can reason over the retrieved material rather than receiving answers generated by the server itself.

Its memory workflow can preserve session decisions, bugs, conventions, and learnings. Recurring memories can be synthesized, assigned retention periods, and placed in a queue for promotion into notes. Stale-note detection flags material that repeatedly appears in contexts where it no longer fits and reduces its ranking in later results.

## How it works

Indexing creates one SQLite database containing full-text search data, optional embeddings, and relationships derived from wiki links. Search can combine FTS5 keyword matching with semantic retrieval and use tiered depth to return compact triples, summaries, or complete notes according to the client’s token budget.

Graph features include PageRank, community detection, gap analysis, and bridge analysis. A background timer keeps the index maintained, while session harvesting can inspect transcripts from Claude Code, Codex, Gemini, and omp. The setup process can also add a hook for omp or Claude Code so `/save` captures what a session learned.

Lite mode is intended for keyword search, link-based connections, stale detection, and the MCP server without GPU or Ollama. Full mode adds semantic search, AI summaries, note connections, and topic clustering using local Ollama; a GPU or a CPU with at least six cores is recommended.

## Setup and configuration

Install Node.js, then install the package with `npm install -g neurostack`. Run `neurostack init` to choose a vault, select Lite or Full mode, and apply an optional profession pack. The wizard can configure session hooks, the background timer, and the checkpoint AI. `neurostack doctor` checks the resulting setup.

Connect clients with `neurostack setup-desktop` for Claude Desktop, `claude mcp add neurostack -- neurostack serve` for Claude Code, or `neurostack setup-client cursor` with the relevant client name for Cursor, Windsurf, Gemini CLI, or VS Code. Non-interactive setup accepts a vault path and `--mode lite` or `--mode full`; `--no-hooks`, `--no-schedule`, and `--checkpoint none` disable optional components.

The NeuroStack MCP server is read-only by default. If the vault is a git repository, optional file tools can read, list, create, or delete notes. Writes commit and push changes, reject invalid frontmatter and unsafe paths, and are serialized per vault. A remotely exposed MCP endpoint should be protected at the transport layer.

## Tools and capabilities

- Hybrid keyword and semantic retrieval with tiered result depth.
- Ranked evidence containing note paths and excerpts.
- Wiki-link graph traversal and structural analysis.
- Stale-note detection and result demotion.
- Session harvesting, memory synthesis, and promotion queues.
- Optional git-backed vault file operations.

## Limitations and notes

All indexing and storage are local unless a third-party LLM provider is configured for summaries or embeddings. Full mode has larger dependencies, approximately 560 MB compared with roughly 130 MB for Lite, and relies on local Ollama. The write tools are opt-in and intended for git-backed vaults; every change is pushed to the configured remote. Removing the NeuroStack database with `neurostack uninstall` leaves the Markdown files untouched.

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

