Memoreal — Deterministic AI Memory & Code Intelligence MCP Server
Official Node.js MCP connector for Memoreal Cloud (https://memoreal.kolivri.com).
Memoreal — Deterministic AI Memory & Code Intelligence MCP scores 31 (Limited), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 24 tools. Filed under Developer tools, AI and memory. GitHub shows 0 stars. Package registries report about 294 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
31 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
75/100 for listing completeness. Lost points: 24 of 24 tools barely described, short summary.
How quality is graded
Where the 31 comes from
0 + 6 + 4 + 10 + 4 + 7 = 31. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "kolivritech-memoreal-mcp": { "command": "npx", "args": [ "-y", "@kolivri/memoreal-mcp@1.1.0" ], "env": { "MEMOREAL_API_KEY": "YOUR_MEMOREAL_API_KEY", "MEMOREAL_NAMESPACE": "", "MEMOREAL_API_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MEMOREAL_API_KEYSecret | Required | Memoreal Cloud API key from https://memoreal.kolivri.com/register |
MEMOREAL_NAMESPACE | Optional | Default workspace or project namespace |
MEMOREAL_API_URL | Optional | Memoreal Cloud API base URL |
Tools24Tool docs quality grade D
All capabilitiesbatch_encodetoolmemories
(optional: projectdir, namespace)
build_contexttoolquery
call_treetoolsymbol
connect_accounttool(optional: action, devicecode)
dead_codetool(optional: path)
key, value
diff_risktool(optional: diff, path)
target
encode_memorytoolcontent
explain_codetooltarget
explain_difftool(optional: diff, path)
About
@kolivri/memoreal-mcp — Deterministic AI Memory & Code Intelligence MCP for Claude Code, OpenCode, Cursor, Codex & 17 AI Harnesses
@kolivri/memoreal-mcp is the official zero-dependency Node.js ESM Model Context Protocol (MCP) connector (stdio & HTTP) for Memoreal Cloud — giving AI coding and operator agents across 17 local AI agent harnesses (Claude Code, Claude Desktop, Cursor, OpenCode, OpenAI Codex, Windsurf, VS Code / GitHub Copilot, Zed, Gemini CLI, Cline, Roo Code, Kilo Code, Continue, Block Goose, Sourcegraph Amp, AWS Kiro & Amazon Q, Trae, and Aider) deterministic long-term memory, cross-session recall, and polyglot code intelligence powered by memoreal.kolivri.com.
- Memoreal Cloud Portal & API Keys: https://memoreal.kolivri.com (Get API Key — includes 1,000 free API calls/memories; paid tiers: Developer $19/mo, Startup $79/mo, Business $299/mo)
- Documentation & Benchmarks: https://memoreal.kolivri.com/docs (
500/500 = 100.0%LongMemEval at12.9 msp50,102/102 = 100.0%Hebrew LongMemEval across 15 languages)
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
MEMOREAL_API_KEY | Yes | — | Your Memoreal Cloud API key (mem_dev_..., mem_start_..., or mem_biz_...) from memoreal.kolivri.com/register |
MEMOREAL_API_URL | Optional | https://memoreal.kolivri.com | Memoreal Cloud base URL |
MEMOREAL_NAMESPACE | Optional | default | Default project/workspace namespace when omitted from tool arguments |
Backward Compatibility: Legacy
MEMORIA_API_KEY,MEMORIA_API_URL, andMEMORIA_NAMESPACEenvironment variables remain 100% supported as automatic fallbacks across all transports.
The 5 Market Tracks & Automated Feature Showcases
Memoreal Cloud provides deterministic, high-speed memory architectures tailored to 5 primary market tracks. Each track leverages a dedicated context mode, domain-specific hooks, and live automated feature showcases:
1. Software Developers & Engineering Teams (mode: "organizational")
- Stack & Installation:
npx -y @kolivri/memoreal-mcp setupacross Windows, Linux/WSL, and macOS supporting all 17 local AI agent harnesses. - Polyglot Code Intelligence: Cold-start
bootstrap_projectparses instructions (CLAUDE.md,AGENTS.md,README.md) and indexes symbols across 15+ programming languages. - Belief Revision & Evolution:
Supersedesgraph edges dynamically deprecate killed-RFC architectural decisions when new patterns are accepted. - Architectural Tools: Deep caller/callee trees (
call_tree), blast radius assessment (impact), and gap detection (test_gaps). - Compaction-Proof Hooks: Session lifecycle hooks provide
70%+prompt token savings through automated memory recall and compaction survival. - CI/CD Integration: Seamless integration with GitHub via
/v1/webhooks/githubfor automatic memory syncing on branch merges.
2. Automated Call & Customer Support Centers (mode: "support")
- Telephony & Helpdesk Connectors: Native voice and support webhooks/SDKs for Kolivri Voice, Twilio, Vapi, LiveKit, WhatsApp, and Zendesk.
- Sub-First-Ring Recall:
12.9 ms*p50 returning-caller memory recall eliminates dead air ($0 LLM dead air delay) before the first phone ring. - Multilingual Support: Verified across 15 natural languages, including
102/102 = 100.0%on Hebrew LongMemEval benchmark tests. - Dynamic Customer State:
Supersedesedges track live ticket status, address updates, and preference changes over time. - Privacy & Safety: Pre-storage PII redaction ensures caller identity data and payment information are protected.
3. Autonomous & Multi-Agent Builders (mode: "operational")
- Agent Frameworks: Streamable HTTP
/v1/mcptransport and REST SDK integrations for LangGraph, CrewAI, OpenAI Agents SDK, AutoGen, and Mastra. - 5 Specialist Agent Wings: Multi-agent coordination across
architect,reviewer,qa,security, andopswings viahandoff_to_agentand/v1/rooms/handoff. - Memory Tiering: Isolation between scratchpad ideation in
Buffertier vs immutable production invariants inCoretier. - Causal Reasoning: Graph-powered dependency tracking via
downstream_effectsandroot_causediagnostics for runtime failure recovery.
4. Sales, CRM & Revenue Operations AI (mode: "sales")
- RevOps Integrations: Native connectors and webhooks for AI SDRs, HubSpot, Salesforce, Gong, n8n, and Make.
- Deterministic Math: Strict numeric reasoning and signed deal arithmetic (e.g.
$25k + $15k = $40k) without LLM hallucination. - Entity Separation: Strict graph boundary separation between first-party customer facts and competitor/vendor intelligence.
- Pre-Call Briefs: Automated account synthesis using
/v1/extractand/v1/reflectto assemble instant executive briefing documents.
5. Security- & Compliance-First Organizations (mode: "research")
- Cryptographic Access Control: Role-scoped API keys with explicit
WritevsRead-only auditor access. - Enterprise Team RBAC: Granular role-based access control supporting
owner,admin,manager, andmembertiers. - Zero-Trust Data Protection: Pre-storage PII/secret scrubbing and prompt-injection quarantine prevent memory poisoning.
- Auditability & Provenance: Full memory trust chains via
trace_provenance, immutable audit trails via/v1/trace/recent, and GDPR compliance via/v1/exportand right-to-forget endpoints.
Cross-OS Support (Windows · Linux / WSL · macOS)
@kolivri/memoreal-mcp runs natively across all major operating systems with zero external shell dependencies:
- Windows (
win32):- Full support for
PowerShellandcmd.exe. - Config paths resolved to
%APPDATA%(Roaming) and%LOCALAPPDATA%with%USERPROFILE%. - Lifecycle hooks run via pure Node.js (
bin/memoreal-hook.mjs) and Windows batch wrappers (bin/memoreal-ns.cmd), requiring zero/bin/shorjq. - Safe OAuth browser launching via
rundll32(url.dll,FileProtocolHandler), preventing URL query parameters (&) from breaking.
- Full support for
- Linux & WSL (
linux):- Compliant with
$XDG_CONFIG_HOME(defaulting to~/.config). - Seamless WSL integration: automatically detects WSL environments (
WSL_DISTRO_NAME/WSL_INTEROP) and opens the host Windows browser viarundll32.exe.
- Compliant with
- macOS (
darwin):- Idiomatic macOS application paths under
~/Library/Application Supportand~/.config. - Works out of the box with standard Apple Silicon (
arm64) and Intel (x64) architectures.
- Idiomatic macOS application paths under
Supported Local AI Agent Harnesses (17 Harnesses)
@kolivri/memoreal-mcp automatically detects and provisions MCP configurations, skills, and lifecycle hooks across 17 local AI agent harnesses:
- Claude Code (
~/.claude/settings.json,.claude.json, hooks) - Claude Desktop (
claude_desktop_config.jsonon macOS / Windows%APPDATA%/ Linux) - Cursor (
~/.cursor/mcp.json,.cursor/rules/) - OpenCode (
${XDG_CONFIG_HOME:-~/.config}/opencode/opencode.json, plugins, hooks) - OpenAI Codex (
~/.codex/config.toml,.codex/skills/,.codex/AGENTS.md) - Windsurf (
~/.codeium/windsurf/mcp_config.json,memories/global_rules.md) - VS Code / GitHub Copilot (
~/.vscode/mcp.json,Code/User/mcp.json,.github/copilot-instructions.md) - Zed (
~/.config/zed/settings.jsonviacontext_servers.memoreal) - Gemini CLI (
~/.gemini/settings.json,.gemini/GEMINI.md) - Cline (
cline_mcp_settings.jsonin globalStorage / stdio withcmd /c npxon Windows) - Roo Code (
mcp_settings.jsonin globalStorage / stdio) - Kilo Code (
mcp_settings.jsonin globalStorage / stdio) - Continue (
~/.continue/mcpServers/memoreal.json) - Block Goose (
~/.config/goose/config.yamlviaextensions.memoreal) - Sourcegraph Amp (
~/.config/amp/settings.jsonviaamp.mcpServers) - AWS Kiro & Amazon Q (
~/.kiro/settings/mcp.json,~/.aws/amazonq/mcp.json,.kiro/steering/memoreal.md) - Trae (
Trae/User/mcp.json) (Also supports conventions for Aider viaCONVENTIONS.md)
Installation
1. Interactive CLI Setup & Auto-Hook Provisioning (Recommended)
Run the zero-dependency interactive setup wizard to configure your API key, auto-provision client lifecycle hooks and skills, and index your repository:
# Interactive setup with automatic client detection
npx -y @kolivri/memoreal-mcp setup
# Or alias
npx -y @kolivri/memoreal-mcp init
# Setup with direct API key and target specific client
npx -y @kolivri/memoreal-mcp setup --key "mem_..." --tool opencode
# Setup without cold-start repository indexing
npx -y @kolivri/memoreal-mcp setup --no-bootstrap
What the setup wizard auto-provisions:
- Automated Client Detection: Configures Claude Code, Cursor, OpenCode, Codex, Windsurf, and VS Code MCP configs.
- Agent Lifecycle Hooks & Skills: Copies plugins/skills and configures lifecycle hooks (
SessionStart,PreCompact,PostCompact,UserPromptSubmit,PostToolUse,TaskCompleted,Stop) with.baksafety backups. - Canonical Worktree Resolver: Installs
~/.memoreal/bin/memoreal-ns(0o755) to ensure git worktrees share canonical repository memory namespaces withoutorg:prefixes. - Turn-1 Cold-Start Indexing: Automatically indexes repository guidance (
CLAUDE.md,AGENTS.md,README.md) and code symbols into Memoreal Cloud (unless--no-bootstrapis passed).
2. One-Line Auto-Installer (15 AI Clients + Claude Code Lifecycle Hooks)
Automatically configures Claude Code, Cursor, Windsurf, VS Code, Claude Desktop, OpenCode, Cline, Roo Code, Continue, Zed, Goose, PearAI, Trae, Void, and Melty:
# macOS / Linux / WSL
curl -fsSL --proto '=https' --tlsv1.2 https://memoreal.kolivri.com/downloads/install.sh | MEMOREAL_KEY=YOUR_MEMOREAL_API_KEY bash
# Windows PowerShell
$env:MEMOREAL_KEY="YOUR_MEMOREAL_API_KEY"; irm https://memoreal.kolivri.com/downloads/install.ps1 | iex
3. Claude Code (claude mcp add)
claude mcp add memoreal \
-e MEMOREAL_API_KEY="your-memoreal-api-key" \
-- npx -y @kolivri/memoreal-mcp
4. Cursor (~/.cursor/mcp.json) & Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"memoreal": {
"command": "npx",
"args": ["-y", "@kolivri/memoreal-mcp"],
"env": {
"MEMOREAL_API_KEY": "your-memoreal-api-key",
"MEMOREAL_NAMESPACE": "my-project"
}
}
}
}
5. OpenCode (~/.config/opencode/opencode.json)
{
"mcp": {
"memoreal": {
"type": "local",
"command": ["npx", "-y", "@kolivri/memoreal-mcp"],
"environment": {
"MEMOREAL_API_KEY": "your-memoreal-api-key",
"MEMOREAL_NAMESPACE": "my-project"
},
"enabled": true
}
}
}
6. OpenAI Codex (~/.codex/config.toml)
OpenAI Codex uses native TOML configuration (~/.codex/config.toml). Running npx -y @kolivri/memoreal-mcp setup automatically provisions the Streamable HTTP MCP server:
[mcp_servers.memoreal]
url = "https://memoreal.kolivri.com/v1/mcp"
http_headers = { "Authorization" = "Bearer your-memoreal-api-key" }
Alternatively, you can configure local stdio execution:
[mcp_servers.memoreal]
command = "npx"
args = ["-y", "@kolivri/memoreal-mcp"]
env = { MEMOREAL_API_KEY = "your-memoreal-api-key", MEMOREAL_NAMESPACE = "my-project" }
7. Docker
docker build -t memoreal-mcp .
docker run -i --rm \
-e MEMOREAL_API_KEY="your-memoreal-api-key" \
-e MEMOREAL_NAMESPACE="my-project" \
memoreal-mcp
32 MCP Tools (https://memoreal.kolivri.com/v1/mcp)
Core Memory & Context (10 Tools)
| Tool | Required Args | Description |
|---|---|---|
build_context | query | Assemble a token-budgeted <memory_context> block grouped into Core Rules, Established Facts, and Recent Context. |
recall_memories | query | Retrieve top memories ranked deterministically by Memoreal Cloud within token_budget. |
encode_memory | content | Store a new memory in Memoreal Cloud with tier (episodic, semantic, buffer, core), salience (0.0–1.0), namespace, and context pairs. |
batch_encode | memories | Atomically encode an array of memories in a single call. |
forget_memory | id | Delete a specific memory and its incident graph edges by ID. |
delete_by_context | key, value | Delete all memories matching a specific [key, value] context metadata pair. |
feedback | id, useful | Record positive/negative utility feedback on a memory and adjust its salience score. |
consolidate | namespace | Deduplicate memories within a namespace and promote recurring high-salience episodic memories to Semantic tier. |
health | (none) | Return Memoreal Cloud engine health, active memory/edge counts, and tier distribution. |
stats | namespace | Return per-namespace memory count, edge count, and tier distribution. |
Code Intelligence & Navigation (9 Tools)
| Tool | Required Args | Description |
|---|---|---|
bootstrap_project | (optional: project_dir, namespace) | Turn-1 cold-start project indexing: parses instructions (CLAUDE.md, AGENTS.md, README.md) and indexes top-level code symbols into Memoreal Cloud. |
search_code | query | Search indexed code symbol definitions and references with file paths and line numbers. |
explain_code | target | Explain a symbol: definitions, workspace references, related tests, and associated architectural memories. |
find_file | pattern | Resolve file or directory paths matching a pattern or name across the workspace. |
find_references | symbol | Find all call-sites and symbol references across the indexed workspace. |
call_tree | symbol | Generate caller/callee hierarchy trees (direction: "in" | "out", max_depth). |
navigate | (optional: namespace, cursor, move) | Stateless hierarchical cursor walk across project, directory, file, and definition layers. |
get_hierarchy | node | Single-shot retrieval of all ancestor layers and full descendant subtree around a node. |
implementors | interface_name | List concrete implementations and classes implementing an interface, trait, or abstract type. |
15+ Supported Programming Languages
The 16 code-intelligence tools natively parse definitions, references, and hierarchies across:
- TypeScript & JavaScript (
.ts,.tsx,.js,.jsx,.mjs,.cjs) - Python (
.py) - Go (
.go) - Rust (
.rs) - Java (
.java) - C# (
.cs) - C & C++ (
.c,.cc,.cpp,.h,.hpp) - PHP (
.php) - Ruby (
.rb) - Kotlin (
.kt,.kts) - Swift (
.swift) - Scala (
.scala) - Shell / Bash (
.sh,.bash)
Architecture, Quality & Diagnostics (10 Tools)
| Tool | Required Args | Description |
|---|---|---|
impact | target | Compute blast radius, affected call-sites, and test dependencies before changing a symbol or file. |
dead_code | (optional: path) | Detect unreferenced symbols, orphan functions, and unreachable code paths across workspace. |
test_gaps | (optional: path) | Identify untested symbols, uncovered edge cases, and missing test suites. |
diff_risk | (optional: diff, path) | Compute deterministic risk score, hotspot warnings, and reviewer checklists for code diffs. |
downstream_effects | target | Evaluate cascading architectural impact and downstream service dependencies. |
root_cause | error | Trace error logs, crash signatures, and stack traces back to root cause symbols. |
trace_provenance | symbol | Trace symbol origin, commit history, architectural decisions, and original rationale. |
explain_diff | (optional: diff, path) | Provide structured code review explanations and risk highlights for git changes. |
explain_error | error | Diagnose runtime exceptions, compiler errors, and stack traces with targeted fix advice. |
rename | old_name, new_name | Calculate a complete, safe symbol rename plan across all call-sites and definitions. |
Multi-Agent Coordination & Setup (3 Tools)
| Tool | Required Args | Description |
|---|---|---|
list_agent_wings | (none) | List specialist multi-agent wings (architect, reviewer, qa, security, ops) and active memory counts. |
handoff_to_agent | from_wing, to_wing, summary, task | Record a structured context handoff between specialist agent wings. |
connect_account | (optional: action, device_code) | Interactive 3-click in-chat setup wizard for Memoreal credentials and client configuration. |
Running Connector Tests
npm test
License
Connector package licensed under MIT. Memoreal Cloud (https://memoreal.kolivri.com) is a commercial hosted service by Kolivri.
Frequently asked questions
What is Memoreal — Deterministic AI Memory & Code Intelligence MCP Server?
Official Node.js MCP connector for Memoreal Cloud (https://memoreal.kolivri.com).
How do I install Memoreal — Deterministic AI Memory & Code Intelligence MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Memoreal — Deterministic AI Memory & Code Intelligence MCP Server runs locally from the npm package @kolivri/memoreal-mcp with the command npx -y @kolivri/memoreal-mcp@1.1.0.
Is Memoreal — Deterministic AI Memory & Code Intelligence MCP Server free and open source?
Yes. Memoreal — Deterministic AI Memory & Code Intelligence MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Memoreal — Deterministic AI Memory & Code Intelligence MCP Server support remote (HTTP) connections?
Yes. Memoreal — Deterministic AI Memory & Code Intelligence MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Memoreal — Deterministic AI Memory & Code Intelligence MCP Server provide?
Memoreal — Deterministic AI Memory & Code Intelligence MCP Server provides 24 tools, including batch_encode, bootstrap_project, build_context, and call_tree. See the full tool list for descriptions and parameters.
How is Memoreal — Deterministic AI Memory & Code Intelligence MCP Server's trust score calculated?
Memoreal — Deterministic AI Memory & Code Intelligence MCP Server scores 31 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.