# ClariLayer [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/clarilayer/clarilayer  
**GitHub Stars:** 69  
**npm Downloads (last month):** 66  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/clarilayer

## Description
Individual-analyst context layer over MCP: bootstrap, reconcile, and remember your data context.

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

```json
"mcpServers": {
  "clarilayer": {
    "command": "npx",
    "args": ["-y","clarilayer@latest"]
  }
}
```

## Documentation

## What ClariLayer MCP server does

The ClariLayer MCP server connects an AI client to a selected authorized space containing context you choose to retain. Saved material can include facts, preferences, decisions, rules, lessons, analytics definitions, schema notes, saved queries, and CRM contracts. Entries retain their source and applicability, so a project- or customer-specific rule can remain scoped rather than becoming a general instruction.

The service is intended for continuity between projects and sessions. An agent can recall relevant context, save a confirmed durable item, correct or forget an existing entry, and record bounded feedback about delivered context. Recall still depends on the AI client calling the relevant tool; connecting MCP does not make every response use saved context.

## How it works

A connected client uses the hosted MCP service and authenticates for an authorized space. The guided connection flow supports OAuth where the selected route allows it, or a locally stored context key as a fallback. Setup can add a recognized instruction block to a project file, including `CLAUDE.md` for Claude Code, `AGENTS.md` for Codex, or `.cursor/rules/clarilayer.mdc` for Cursor.

At the start of a new AI session, the installed bootstrap can obtain current workflow guidance through `get_project_stanza` in runtime mode. The agent then uses tools such as `recall_context`, `get_context_entry`, `remember`, `context_checkpoint`, and `report_context_use`. Forget operations should target an entry ID returned after recalling the item rather than a guessed name.

The Analytics specialist path adds `get_analysis_context`, `bootstrap`, and `reconcile`. An agent supplies warehouse evidence or bounded, row-free HubSpot evidence for reconciliation. ClariLayer does not independently read a repository or warehouse in this path, and the personal reconcile flow does not hold warehouse or CRM credentials or execute SQL.

## Setup and configuration

Use the hosted Connect your AI flow to select a client and space, receive a setup request, and complete authentication in the client. The optional npm CLI can perform context-key setup with `npx clarilayer@latest init`; `instructions --agent <client>` prints an instruction update request for supported clients.

For local dbt checks, generate documentation in the dbt project and run `npx clarilayer dbt-check`. The check compares local `manifest.json` and `catalog.json` files and does not require an account or warehouse connection. An explicit save can stage bounded findings as proposals, while `--save --dry-run` previews the payload without making a network request.

## Tools and capabilities

- Recall context across the selected space while preserving source and applicability.
- Store confirmed facts, preferences, decisions, rules, and lessons with `remember`.
- Retrieve complete entries when a recall preview is truncated.
- Correct or forget selected entries using scoped operations.
- Reconcile saved analytics definitions with agent-supplied evidence.
- Check dbt metadata locally for phantom columns, missing catalog models, type-family mismatches, and empty descriptions.

## Limitations and notes

The ClariLayer MCP server does not automatically import history or enable ongoing capture when MCP is connected. History import and capture require separate setup, and extraction-provider and source support can vary. The documented qualified extraction path uses a version-specific Claude CLI profile; OpenAI and Cursor extraction providers are unavailable, and native Cursor history qualification is limited.

Extracted context is stored rather than a raw transcript archive. Optional semantic search has a separate consent and provider-disclosure requirement; lexical recall remains available without that consent. Analytics trust statuses are currently `asserted` or `caveat`, not live `verified` results. A completion checkpoint does not prove that the agent used the correct context or completed an external task, and a delivery receipt does not establish answer quality.

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

