Krusch Context MCP
Persistent project memory and drift-checked decisions for AI coding agents via MCP
Krusch Context MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 2.0.2
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add krusch-context-mcp -- npx -y krusch-context-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"krusch-context-mcp": {
"command": "npx",
"args": [
"-y",
"krusch-context-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"krusch-context-mcp": {
"command": "npx",
"args": [
"-y",
"krusch-context-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"krusch-context-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"krusch-context-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"krusch-context-mcp": {
"command": "npx",
"args": [
"-y",
"krusch-context-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"krusch-context-mcp": {
"command": "npx",
"args": [
"-y",
"krusch-context-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About Krusch Context MCP
The README says the server gives coding assistants such as Cursor, Claude Code and Windsurf a memory that survives between sessions. Agents store architectural decisions, invariants, lessons and bug diagnoses, and the server flags near-duplicate entries and keeps a lineage when a fact is superseded or revoked.
It exposes five verbs: retrieve, remember, revise, nudge and health. Memories written with a file span carry a SHA-256 anchor, so the engine can shift line numbers when code moves above them or mark an entry as drifted when the underlying code changes. A pre-commit audit checks diffs against active project invariants, capped at a few findings per run.
Storage defaults to a local node:sqlite database in the project's .agent folder, with optional Ollama or OpenRouter embeddings and an optional PostgreSQL backend for shared deployments. It is aimed at developers who want an agent to keep project rules and decisions across sessions without a hosted service.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- krusch_context_retrieve
- Pulls active memories, steering rules and project state within a token budget.
- krusch_context_remember
- Writes episodic facts and steering rules with duplicate detection.
- krusch_context_revise
- Supersedes or invalidates stored knowledge with lineage tracking.
- krusch_context_nudge
- Audits proposed diffs against active project invariants.
- krusch_context_health
- Reports storage mode, memory counts and TTL decay review.
What it does
- Five-verb memory interface
- Retrieve, remember, revise, nudge and health cover reading, writing, updating, auditing and checking the store.
- Closed memory taxonomy
- Every write is classed as a decision, invariant, bug, lesson or blocker to keep the store tidy.
- Span drift detection
- Memories tied to a file span are checked against disk with SHA-256 hashes and line numbers are healed or flagged.
- Near-duplicate warnings
- New memories close to an existing one trigger a suggestion to supersede rather than duplicate.
- Pre-commit invariant audit
- The nudge verb checks proposed diffs against active project invariants with a capped number of findings.
- Offline by default
- Runs on built-in SQLite with keyword and recency scoring when no embedding model is configured.
Good for
- Keeping architectural decisions available to a coding agent across sessions
- Recording invariants that an agent should respect before committing changes
- Tracking bug root causes so the same diagnosis is not repeated
- Checking a pending diff against project rules before commit
Pricing
Open source
MIT licensed; runs locally at no cost.
Krusch Context MCP FAQ
Which clients does the README list?
Cursor, Claude Code, Claude Desktop, Windsurf and Antigravity are named, with setup snippets for Cursor, Claude Code and Claude Desktop.
Does Krusch Context MCP need Docker or an API key?
No. The README says the default SQLite setup needs no Docker and no API keys, and works offline.
What Node.js version is required?
Node.js 22.0.0 or later is required, as the store uses the built-in node:sqlite module.
Is PostgreSQL required?
No. The README says PostgreSQL is only needed for centralised persistence across multiple machines.
Is Krusch Context MCP free?
Yes. Krusch Context MCP is open source, so you can use and self-host it for free.
How do I add Krusch Context MCP to Claude Code?
Run this command in your terminal: claude mcp add krusch-context-mcp -- npx -y krusch-context-mcp
What are the best alternatives to Krusch Context MCP?
The closest alternatives to Krusch Context MCP are Limpet, KruschStack, Agent Memory MCP, Total Agent Memory and memry.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.