Skip to main content
Glama

Memoreal — Deterministic AI Memory & Code Intelligence MCP

Server Details

Official Node.js MCP connector for Memoreal Cloud (https://memoreal.kolivri.com).

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
kolivritech/memoreal-mcp
GitHub Stars
0
Server Listing
Memoria MCP
ChatGPT
–
Claude
–

TDQS

A3.6/5.0

Scored across 31 tools

Disambiguation3/5

Descriptions are unusually thorough and explicitly cross-reference alternatives ("use recall_memories instead when..."), which rescues much of the surface. However several clusters are near-duplicates: explain_error vs root_cause (both match stack traces to symbols/bug patterns), impact vs explain_code vs find_references vs call_tree vs downstream_effects (all blast-radius tracing), and diff_risk vs explain_diff. An agent can disambiguate with careful reading but misselection is likely without it.

Naming Consistency4/5

Everything is uniformly snake_case with no camelCase or casing drift. Most names follow verb_noun (encode_memory, search_code, build_context, forget_memory), but a sizable minority are bare noun phrases (call_tree, dead_code, test_gaps, diff_risk, root_cause, impact, implementors, health, stats), so the verb pattern isn't fully predictable.

Tool Count2/5

31 tools exceeds a comfortable surface for one server and forces the agent to triage between many overlapping code-analysis verbs. The domain (memory + code intelligence) is genuinely broad, but the count is inflated by redundant entries that could be merged (root_cause/explain_error, impact/explain_code, stats/health/list_agent_wings).

Completeness3/5

Memory lifecycle is well covered (encode/batch_encode, recall, build_context, feedback, consolidate, forget, bulk delete, handoff) and code intelligence is very deep. Notable gaps remain: there is no update/edit of an existing memory's text (only delete-and-re-encode) and no get_memory by ID despite several tools accepting a memory UUID, and no namespace enumeration to feed stats/list_agent_wings.

Available Tools

31 tools
batch_encodeBatch Encode MemoriesAInspect

Store multiple memories atomically in one request (consumes max(1, memories.length) Write API calls; non-idempotent) and return { ids, encoded }. Validates every item namespace before writing so any reserved "org:" prefix aborts the entire batch cleanly; items inherit top-level namespace and default to type="episodic" and salience=0.5. Use when checkpointing or importing 2+ memories together; use encode_memory instead for a single memory write.

Inputs: memories (required), namespace. Returns: ids, encoded

bootstrap_projectBootstrap Project MemoryAInspect

Bootstrap a workspace namespace with durable rules, Markdown guidelines (CLAUDE.md, AGENTS.md, .cursorrules, README.md), and code symbol definitions in a single call. Accepts optional raw markdown content or an array of files ({ path, content }). Automatically parses rule headings and extracts function/class symbols and call relations. Use when onboarding a new project or empty workspace namespace to seed rules and symbols before running queries.

Inputs: namespace (required), files, content. Returns: ids, imported, ide_rules, namespace

build_contextBuild Session ContextA
Read-onlyIdempotent
Inspect

Assemble a token-budgeted <memory_context> XML/Markdown block from a namespace (read-only, idempotent; consumes 1 Read API call) and return { context, memories_used }. Ranks up to 500 namespace memories deterministically and packs lines greedily up to max(256, token_budget * 4) characters under "## Established Facts" (core/semantic) and "## Recent Context" (episodic/buffer). Use at session start or before planning a task to ground the model in one call; use recall_memories instead when you need raw memory objects and IDs.

Inputs: query (required), namespace (required), token_budget. Returns: context, memories_used

call_treeGenerate Call TreeA
Read-onlyIdempotent
Inspect

Generate upstream caller and downstream callee trees for a specific code symbol. Use when visualizing hierarchical call chains and understanding deep execution flows before code changes.

Inputs: symbol (required), namespace (required), depth, direction. Returns: symbol, callees, callers, namespace

consolidateConsolidate Namespace MemoriesA
Idempotent
Inspect

Run an idempotent maintenance pass on a workspace namespace to deduplicate redundant records, link superseded state, and promote recurring high-salience episodic memories to Semantic tier (consumes 1 Write API call; non-destructive to unique facts) and return { namespace, consolidated }. Requires Write permission and a valid logical namespace (never prefixed with "org:"). Use at session wrap-up after multiple encode_memory calls; use feedback instead to rate one memory, or delete_by_context to purge obsolete tags.

Inputs: namespace (required). Returns: namespace, consolidated

dead_codeDetect Unreferenced Dead Code CandidatesA
Read-onlyIdempotent
Inspect

Identify indexed symbols that have zero callers outside their own definition. Use when auditing repositories for unreferenced functions, orphaned classes, and cleanup candidates.

Inputs: namespace (required), entrypoints. Returns: count, namespace, candidates

delete_by_contextDelete Memories by ContextA
DestructiveIdempotent
Inspect

Permanently bulk-delete all memories whose context array contains an exact [key, value] pair (destructive, idempotent; consumes 1 Write API call) and return { deleted_count }. Scopes deletion to namespace when provided, or across all namespaces in your organization when namespace is omitted (rejecting reserved "org:" prefixes). Use to purge memories tied to a deleted file, PR, or feature tag; use forget_memory instead when deleting a single memory by UUID.

Inputs: key (required), value (required), namespace. Returns: deleted_count

diff_riskAssess Diff Risk & Caller ImpactA
Read-onlyIdempotent
Inspect

Assess blast radius, caller impact, sensitive paths, and test gaps for a unified diff or changed file list. Use before creating pull requests or approving code changes to gauge risk scores.

Inputs: namespace (required), diff, changed_files. Returns: warnings, namespace, risk_level, risk_score, +3 more

downstream_effectsAnalyze Downstream Callee EffectsA
Read-onlyIdempotent
Inspect

Trace transitive downstream callees and dependent modules reachable from a symbol or file. Use when analyzing downstream dependencies and side effects before modifying low-level functions.

Inputs: namespace (required), file, symbol. Returns: target, namespace, downstream_files, downstream_symbols

encode_memoryEncode MemoryAInspect

Store a single memory record in Memoreal Cloud (consumes 1 Write API call; non-idempotent: encoding identical text twice creates separate IDs until consolidate is run) and return { id, namespace, salience }. Defaults type to "episodic", salience to 0.5 (items >=0.7 or semantic/core surface in memory://rules), and namespace to "default" while rejecting reserved "org:" prefixes. Use when persisting one architectural decision, bug root cause, or user rule; use batch_encode instead for 2+ memories at once, or handoff_to_agent for cross-wing task handoffs.

Inputs: content (required), namespace (required), type, context, +1 more. Returns: id, salience, namespace

explain_codeExplain Code SymbolA
Read-onlyIdempotent
Inspect

Synthesize definitions, caller/callee references, related tests, and architectural notes for a specific code symbol in a namespace (read-only, idempotent; consumes 1 Read API call) and return { results, total_candidates } (up to 20 ranked matches). Pass the identifier via symbol or its equivalent alias target (if both are supplied, symbol takes precedence). Use before editing a known function, class, or module to check its blast radius and invariants; use search_code instead when you only have keywords and need to find symbol names first.

Inputs: namespace (required), symbol, target. Returns: results, total_candidates

explain_diffExplain Diff Architectural ImpactA
Read-onlyIdempotent
Inspect

Summarize modified files and symbols in a unified diff and match relevant team architectural rules. Use when reviewing code changes against documented team rules and architecture guidelines.

Inputs: diff (required), namespace (required). Returns: summary, namespace, changed_files, matching_rules, +1 more

explain_errorExplain Error Diagnostic ContextA
Read-onlyIdempotent
Inspect

Parse exception class and stack frames to connect the error with indexed symbols and documented bug patterns. Use when troubleshooting error messages to link stack frames with known bug fixes.

Inputs: error (required), namespace (required), stack. Returns: namespace, error_type, extracted_frames, relevant_symbols, +1 more

feedbackRecord Memory FeedbackAInspect

Adjust a memory salience weight based on recall utility (consumes 1 Write API call; non-idempotent because repeated calls compound the salience delta) and return { updated }. Enforces organization ownership on id; useful=true boosts salience toward 1.0 while useful=false dampens noisy or outdated entries without deleting them. Use after recall_memories to tune future ranking quality; use forget_memory instead for permanent removal, or consolidate to merge duplicate records.

Inputs: id (required), useful (required). Returns: updated

find_fileFind Indexed FilesA
Read-onlyIdempotent
Inspect

Find indexed repository files matching a path pattern or keyword in a workspace namespace. Use when locating files by glob or substring before reading; use search_code instead for symbol keywords.

Inputs: namespace (required), query, pattern. Returns: count, files, namespace

find_referencesFind Symbol ReferencesA
Read-onlyIdempotent
Inspect

Find all definitions, callers, and references for a specific code symbol across indexed memories. Use before refactoring or changing a function signature to trace every caller and reference.

Inputs: symbol (required), namespace (required). Returns: total, symbol, namespace, references, +1 more

forget_memoryForget MemoryA
DestructiveIdempotent
Inspect

Permanently delete one memory and its incident graph edges by ID (destructive, idempotent; consumes 1 Write API call) and return { deleted }. Enforces organization ownership (returns JSON-RPC error -32003 on foreign IDs) and returns { deleted: false } when the ID is already absent. Use when removing a single known memory ID; use delete_by_context instead to bulk-delete memories by [key, value] metadata tag, or feedback (useful=false) to lower salience without deleting.

Inputs: id (required). Returns: deleted

get_hierarchyGet Structural Code HierarchyA
Read-onlyIdempotent
Inspect

Retrieve nested directory-to-file-to-symbol tree structure up to a specified depth. Use when constructing an overview of codebase layout and file organization across directory levels.

Inputs: namespace (required), root, max_depth. Returns: root, tree, namespace, file_count, +1 more

handoff_to_agentHand Off Context to Specialist WingAInspect

Persist a high-salience (0.9) Semantic handoff memory into a target specialist wing namespace (wing:) (consumes 1 Write API call; non-idempotent: repeated calls create distinct handoff records) and return { id, wing, namespace }. Accepts target wing via wing or alias to_wing (defaults to "architect") and sender via from_agent or alias from_wing (defaults to "agent"), attaching files and memory_ids as searchable context tuples. Use when delegating findings and next steps between architect, reviewer, qa, security, or ops agents; use encode_memory instead for general project memories.

Inputs: summary (required), task, wing, files, +4 more. Returns: id, wing, namespace

healthCheck Memoreal HealthA
Read-onlyIdempotent
Inspect

Check Memoreal Cloud service status, total organization memory count across all namespaces, and rolling 30-day API quota usage (read-only, idempotent; consumes 1 Read API call on tools/call) and return { status, memory_count, used_calls_30d, api_call_limit }. Takes no parameters; api_call_limit is null on Unlimited plans. Use to verify connectivity and overall organization quota headroom; use stats instead when you need memory counts scoped to one specific project namespace.

Inputs: no named parameters. Returns: status, memory_count, api_call_limit, used_calls_30d

impactAnalyze Symbol Impact & Blast RadiusA
Read-onlyIdempotent
Inspect

Compute upstream caller chain, affected files, related tests, and risk level before modifying a code symbol. Use before modifying a shared function or interface to evaluate blast radius and test needs.

Inputs: symbol (required), namespace (required), depth. Returns: symbol, namespace, risk_level, related_tests, +3 more

implementorsFind Interface or Trait ImplementorsB
Read-onlyIdempotent
Inspect

Find classes, structs, or components that implement or extend an interface or base class. Use when identifying polymorphic implementations or concrete classes implementing an interface.

Inputs: namespace (required), symbol, interface_name. Returns: count, target, namespace, implementors

list_agent_wingsList Specialist Agent WingsA
Read-onlyIdempotent
Inspect

List all five built-in specialist multi-agent wings (architect, reviewer, qa, security, ops), their isolated wing: namespaces, and active memory counts (read-only, idempotent; consumes 1 Read API call) and return { wings }. Always returns all five wings even when memory_count is 0. Use to inspect wing responsibilities and queued handoff volume before delegating work; use handoff_to_agent to record a new cross-wing handoff, or stats to inspect a custom project namespace.

Inputs: namespace. Returns: wings

recall_memoriesRecall MemoriesA
Read-onlyIdempotent
Inspect

Retrieve up to 20 deterministically ranked memory records for a query (read-only, idempotent; consumes 1 Read API call) and return { results, total_candidates } with per-item { memory, score }. Scores up to 500 candidates in namespace by lexical match (0.55), salience (0.30), and 30-day freshness (0.15) multiplied by tier boost (core=1.5x, semantic=1.25x), excluding items below min_salience. Use when you need individual memory IDs, metadata, or scores (for inspection, feedback, or forget_memory); use build_context instead for a ready-to-inject <memory_context> block, or search_code for code symbols.

Inputs: query (required), namespace (required), min_salience, token_budget. Returns: results, total_candidates

renameRename Code SymbolA
Idempotent
Inspect

Locate all definitions and references of a symbol to produce a rename impact plan, optionally applying the update to stored memory tags. Use before renaming a function, class, or variable across codebase memories.

Inputs: symbol (required), new_name (required), namespace (required), apply. Returns: symbol, applied, new_name, namespace, +4 more

root_causeFind Error Root Cause CandidatesA
Read-onlyIdempotent
Inspect

Match stack trace frames and error messages against indexed symbols and high-salience architectural memories. Use when diagnosing runtime exceptions, crash logs, and failing tests to isolate bugs.

Inputs: namespace (required), error, query, stack. Returns: namespace, suspect_files, suspect_symbols, related_memories

search_codeSearch Indexed Code MemoriesA
Read-onlyIdempotent
Inspect

Search indexed code symbol definitions, file paths, and reference memories within a namespace (read-only, idempotent; consumes 1 Read API call) and return { results, total_candidates } capped at 20 ranked { memory, score } hits. Requires code memories in namespace (populated via /memoreal-sync-code or encode_memory) and rejects reserved "org:" prefixes. Use to discover where functions, classes, or routes live by keyword; use explain_code instead to inspect callers and invariants of a known symbol, or recall_memories for general prose rules.

Inputs: query (required), namespace (required). Returns: results, total_candidates

statsGet Namespace StatisticsA
Read-onlyIdempotent
Inspect

Retrieve the stored memory count for a single logical namespace alongside rolling 30-day organization quota metrics (read-only, idempotent; consumes 1 Read API call) and return { namespace, memory_count, used_calls_30d, api_call_limit }. Rejects reserved "org:" prefixes on namespace. Use when inspecting how many memories exist inside one specific project or wing namespace; use health instead for an organization-wide connectivity and total-memory check, or list_agent_wings for per-wing counts.

Inputs: namespace (required). Returns: namespace, memory_count, api_call_limit, used_calls_30d

test_gapsIdentify Test Coverage GapsA
Read-onlyIdempotent
Inspect

Find source files and symbols lacking corresponding test suites or test references. Use when prioritizing unit test creation and identifying untested source files across the codebase.

Inputs: namespace (required), path. Returns: namespace, coverage_ratio, untested_files, untested_symbols, +1 more

trace_provenanceTrace Memory Provenance & HistoryA
Read-onlyIdempotent
Inspect

Retrieve chronological evolution, origin agent, and context tags for a memory UUID or code symbol. Use when investigating history, authorship, and architectural evolution of a symbol or memory.

Inputs: namespace (required), id, query, symbol. Returns: count, target, lineage, namespace

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Bridges MCP to a self-hosted Mem0 OSS server, enabling memory management operations like adding, searching, updating, and deleting memories.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Memoo knowledge graph RAG, enabling search, Q&A, graph traversal, and episode management via the Memoo REST API.
      12 npm
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for creating, listing, updating, deleting memos, and managing attachments via the Memos API.
      12
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.