# lognexus [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/digital-lake-ai/lognexus  
**GitHub Stars:** 6  
**npm Downloads (last month):** 3288  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lognexus

## Description
Universal Git-powered persistent memory, context rules & native MCP server for AI coding agents. Prevents context amnesia with stateful workflows, Git Notes, and cross-model review gates across Claude, OpenAI, Gemini & DeepSeek in Cursor, Claude Code & VS Code.

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

```json
"mcpServers": {
  "lognexus": {
    "command": "npx",
    "args": ["-y","@digital-lake/lognexus"]
  }
}
```

## Documentation

## What lognexus MCP server does

LogNexus records development context in the Git workflow surrounding a project. Issues or tickets define goals, branches scope work, commits capture changes and context, and pull requests provide a review timeline. Git Notes under `refs/notes/lognexus` store structured session data and contracts without changing commit SHAs.

The framework is designed for coding agents that lose context after conversation resets, context compaction, model handoffs, or debugging detours. Local state in `.lognexus/state.json` preserves completed-subtask metadata, while `.lognexus/handoff.md` summarizes the active cycle, contract, scope-drift findings, completed work, and next action.

## How it works

Run `lognexus mcp` to start the native JSON-RPC 2.0 stdio server. MCP clients can then use LogNexus tools, live state resources, and prompts from the development environment. LogNexus remains inside the native client workflow; it does not intercept model network requests or wrap provider APIs.

Subtasks can define decision budgets, allowed files, and stop conditions. The commit workflow checks those contracts, verifies reviewer separation, adds authorship metadata, creates the commit, marks subtasks complete, and attaches Git Notes. Status and diagnostic operations compare the working tree with the active contract to identify out-of-scope changes.

Review separation is enforced through `Authored-by:` and `Reviewed-by:` metadata. Branch audits can check that a model or model family did not approve its own work. The system also supports GitHub-style issue identifiers and alphanumeric Jira or Linear ticket formats.

## Setup and configuration

LogNexus is distributed as the `@digital-lake/lognexus` package and includes a CLI for repository initialization, diagnostics, status inspection, and MCP startup. It requires Node.js 20 or newer and Git 2.28 or newer. Linux, macOS, and Windows are supported, with no native binary dependencies.

Repository-specific state and workflow data live in the `.lognexus` directory. Advisory model or client preferences can be placed in `.lognexus/routing.md`. The MCP transport is exempt from the CLI's startup update and legal-terms gate; that gate checks update and terms requirements during normal CLI startup.

## Tools and capabilities

- Atomic commits through `lognexus commit` and the `lognexus_commit` MCP tool.
- Session recovery using local state and generated handoff documents.
- Contract-aware status and diagnostics through `lognexus status` and `lognexus doctor`.
- Git Note recall with `lognexus note search`, filtering by file, model, issue, or free text.
- Branch journey reconstruction with `lognexus timeline --pr-body`.
- Cross-model review validation through `lognexus audit`.
- Hidden HTML metadata envelopes for machine-readable state in human-oriented Markdown.
- Model guidance and routing across Claude, OpenAI, Gemini, DeepSeek, and Kimi workflows.

## Limitations and notes

LogNexus is a workflow framework rather than an API proxy. It does not replace the native capabilities of the connected IDE or model client, and it does not route provider network traffic. Its persistence and review features depend on the repository's Git history, Git Notes, local state, contracts, and the configured MCP client. The review gate requires separation between authorship and independent verification, which may constrain workflows where the same model is expected to implement and approve changes.

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

