# Nouz [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Semiotronika/NOUZ-MCP  
**GitHub Stars:** 24  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/nouz

## Description
Semantic knowledge engine for Obsidian with auto-classification and DAG hierarchy

## Tools
Capabilities this server exposes over MCP:

- **read_file** — Read one Markdown note from the local knowledge base. Returns the note body, YAML frontmatter, hierarchy metadata, parent links, explicit tags, and warnings as JSON. Use this before write_file when you need to preserve existing content or inspect current metadata. Side effect: refreshes this file in the local SQLite index so later classification and parent suggestions use current data. It never changes the file.
- **write_file** — Create or replace one Markdown note with YAML metadata. Use it when an agent has an explicit final content body and metadata to save. This is a destructive write: it replaces the complete file, unless content_lock=true is used to preserve the existing body and update only metadata. Before writing, the server validates that parent links do not create graph cycles, syncs parents and parents_meta, and then refreshes the local index. Use read_file first for existing notes and suggest_metadata first when you want classification hints.
- **update_metadata** — Update only YAML frontmatter for an existing note and preserve the Markdown body exactly. Use this for safe changes to type, level, sign, artifact_sign, tags, parents, and parents_meta when the note content must not be touched.
- **list_files** — List notes already known to the local index. Returns lightweight records with path, type, level, and sign, without loading full note bodies. Use this for inventory, filtering, and finding files to inspect next. Set no_metadata=true to find Markdown files without YAML metadata. Use get_children or get_parents when you need graph traversal from a specific note.
- **get_children** — Traverse the hierarchy downward from one note. Returns all direct and transitive child note paths from the local graph index. Use this to answer 'what does this topic/module contain?' It is read-only and does not recompute semantic classification. Use get_parents for the opposite direction.
- **get_parents** — Return the parent links of one note from the graph index. Each result includes the parent entity name and link_type, such as hierarchy, derived_from, semantic, temporary, tag, analogy, or error. Use this to understand where a note belongs before editing links. It is read-only. Use suggest_parents when a note has no parents and you want candidate links.
- **suggest_metadata** — Analyze one note and propose knowledge-graph metadata for review. Returns suggested domain sign, material type, hierarchy level, explicit tags, tag quality, tag candidates with chunk evidence, bridge candidates, and hierarchy warnings. Use this before write_file when you want classification help, or to audit an existing note. It is read-only and never edits YAML. Semantic fields require embeddings and are available in PRIZMA/SLOI modes. The optional context object lets an agent test metadata overrides without changing the note.
- **index_all** — Scan the whole Markdown vault and rebuild the local SQLite index of files, metadata, and graph links. Use this after adding, moving, or reorganizing notes outside NOUZ. It is safe to run repeatedly and reports missing parent links. In PRIZMA/SLOI, with_embeddings=true also updates file and chunk embeddings for retrieval and semantic classification, which is slower and requires an embedding provider. This tool indexes data; it is not a search tool.

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

```json
"mcpServers": {
  "nouz": {
    "command": "uvx",
    "args": ["nouz-mcp"],
    "env": {
      "OBSIDIAN_ROOT": "",
      "NOUZ_CONFIG": "",
      "EMBED_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `OBSIDIAN_ROOT`, `NOUZ_CONFIG`, `EMBED_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the Nouz MCP server does

Nouz MCP server connects an MCP client to a collection of Markdown files rather than to a hosted knowledge platform. It supports Obsidian vaults, Logseq repositories, and ordinary directories. The server can read notes, write new files with YAML metadata, update metadata without replacing note text, list files, and traverse parent-child relationships.

Its semantic layer compares note content with configured domain descriptions. A note can receive a domain sign, an artifact sign such as note, concept, reference, log, update, hypothesis, or specification, and suggested structural relationships. Domain profiles are kept separately from artifact types, so a document’s content domain is not treated as the same thing as its format.

The graph has a hierarchy designed to remain acyclic. Additional semantic bridges can connect similar notes from different domains, while explicit tag relationships remain user-defined. The server can also identify core drift when a stored domain profile and a note’s current classification point toward different leading domains.

## How it works

Domains are declared in `config.yaml` with a sign, name, and descriptive text. Nouz converts these descriptions into reference vectors, then compares note content with those vectors. Run `calibrate_cores` after configuring the domains so the reference vectors are created or refreshed.

The server supports three modes described by the project: LUCA provides a basic graph without semantic classification, while PRIZMA and SLOI provide semantic processing. SLOI represents a stricter five-level hierarchy. In PRIZMA and SLOI, text can be embedded and divided into stable chunks for chunk-level search.

Parent profiles can be recalculated from child content with `recalc_core_mix`. Notes can be reclassified with `recalc_signs`, and the entire collection can be rebuilt with `index_all`. Semantic bridges are based on similarity between notes and, when available, their stored chunks.

## Setup and configuration

Install the package with `pip install nouz-mcp`, then start it with an `OBSIDIAN_ROOT` path:

```bash
OBSIDIAN_ROOT=/path/to/vault nouz-mcp
```

Without a `config.yaml`, the Nouz MCP server starts in LUCA mode. For semantic processing, copy `config.template.yaml` to `config.yaml` and provide the domain definitions and optional artifact signs. The MCP configuration can pass `OBSIDIAN_ROOT`, `NOUZ_CONFIG`, and `EMBED_API_URL` as environment variables. The documented embedding URL example points to a local service at `http://127.0.0.1:1234/v1`.

The repository also supports running from source: install `requirements.txt`, create the configuration file, and invoke `server.py`.

## Tools and capabilities

Available MCP tools include:

- `suggest_metadata` for signs, levels, bridges, and drift warnings
- `read_file`, `write_file`, and `update_metadata` for note and YAML operations
- `list_files`, `get_children`, and `get_parents` for browsing the graph
- `suggest_parents`, `add_entity`, and `process_orphans` for hierarchy and metadata workflows
- `calibrate_cores`, `recalc_signs`, and `recalc_core_mix` for semantic recalculation
- `index_all`, `embed`, `chunk_text`, `chunk_file`, and `search_chunks` for indexing and chunk embeddings in PRIZMA/SLOI

## Limitations and notes

Semantic results depend on the quality and separation of the configured domain descriptions. The project recommends checking pairwise cosine values for calibrated etalons; similar reference vectors may make classification less distinct. `core_mix` represents a domain profile, not an aggregate of artifact types. Tags are explicit user metadata and are not automatically inferred by semantic bridges. The server requires Python 3.10 or newer and is released under the MIT license.

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

