About agentic-mcp-tools/memora
agentic-mcp-tools/memora is an MCP server published by agentic-box in the Automation category: give your AI agents persistent, collective memory — with deduplicating absorb, supersession lineage, semantic search, and a graph UI. Speaks MCP. Conduid read 44 tools from its source: memory_absorb, memory_backfill_tags, memory_boost, memory_clusters, memory_create, memory_create_batch and 38 more. No package is published for it, so it installs from a source checkout.
The repository has 752 stars and 84 forks, is licensed MIT, and its last commit was on 18 Nov 2026. The latest release is v0.5.5 (24 Sep 2026): memora v0.5.5 is the first published release of the 0.5 line: every store can now be served from a local SQLite primary on the deploy host, with Cloudflare D1 kept as a… It follows v0.4.6 (23 Sep 2026), and the 5 most recent releases go back to v0.3.2 (10 Aug 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include agent-memory, cloudflare-d1, knowledge-graph, memory, rag and semantic-search.
Install
git clone https://github.com/agentic-box/memoraTools (44)
memory_absorbIntelligently absorb facts into memory with dedup and consolidation.| Parameter | Type | Description |
|---|---|---|
| confidence | number | Caller's certainty about these facts (0.0-1.0, default: 0.8) |
| dry_run | boolean | If True, preview what would happen without writing anything |
| facts * | array | List of fact strings to absorb (can be granular — related ones get merged) |
| metadata | object | Optional metadata to attach to created memories |
| project | string | Optional project these facts belong to (e.g. "clmux"). Recorded on every created memory as metadata.project and used for section and tag prefixing; suggested tags naming a different configured project are dropped. Without it, the project comes only from metadata.project or a tag naming a project configured in MEMORA_PROJECTS; it is never guessed from the text (issue #47). |
| source | string | Origin of facts — "manual", "session_end", "post_tool", "import" |
| tags | array | Optional tags to attach to created memories |
memory_backfill_tagsRe-tag existing memories with project-prefixed tags.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | If True, preview changes without writing (default: True) |
memory_boostBoost a memory's importance score.| Parameter | Type | Description |
|---|---|---|
| boost_amount | number | Amount to add to base importance (default: 0.5) Common values: 0.25 (small), 0.5 (medium), 1.0 (large) |
| memory_id * | integer | ID of the memory to boost |
memory_clustersDetect clusters of related memories.| Parameter | Type | Description |
|---|---|---|
| algorithm | string | "connected_components" (default) or "louvain" Louvain uses embedding similarity for content-based clustering. |
| min_cluster_size | integer | Minimum memories to form a cluster (default: 2) |
| min_score | number | Minimum similarity score to consider connected (default: 0.3) |
memory_createCreate a new memory entry.| Parameter | Type | Description |
|---|---|---|
| content * | string | The memory content text |
| metadata | object | Optional metadata dictionary |
| project | string | Optional project this memory belongs to (e.g. "clmux"). Recorded as metadata.project and used for section and tag prefixing. Without it, the project comes only from metadata.project or a tag naming a project configured in MEMORA_PROJECTS; it is never guessed from the text (issue #47). |
| response_mode | string | "full" (default) or "minimal" response payload size |
| similarity_threshold | number | Minimum similarity score for suggestions (default: 0.2) |
| suggest_similar | boolean | If True, find similar memories and suggest consolidation (default: True) |
| tags | array | Optional list of tags |
memory_create_batchCreate multiple memories in one call.| Parameter | Type | Description |
|---|---|---|
| entries * | array |
memory_create_issueCreate a new issue/bug memory.| Parameter | Type | Description |
|---|---|---|
| category | string | Issue category (e.g., "bug", "enhancement", "performance") |
| closed_reason | string | If closed, the reason - "complete" or "not_planned" |
| component | string | Component/area affected (e.g., "graph", "storage", "api") |
| content * | string | Description of the issue |
| project | string | Optional project the issue belongs to; its tag becomes "<project>/issues", or bare "issues" without a project |
| severity | string | Issue severity - "critical", "major", "minor" (default) |
| status | string | Issue status - "open" (default) or "closed" |
memory_create_sectionCreate a new section/subsection header memory.| Parameter | Type | Description |
|---|---|---|
| content * | string | Title/description of the section |
| project | string | Optional project the section belongs to; its tag becomes "<project>/sections", or bare "sections" without a project |
| section | string | Parent section name (e.g., "Architecture", "API") |
| subsection | string | Subsection path (e.g., "endpoints/auth") |
memory_create_todoCreate a new TODO/task memory.| Parameter | Type | Description |
|---|---|---|
| category | string | Task category (e.g., "cloud-backend", "graph-visualization", "docs") |
| closed_reason | string | If closed, the reason - "complete" or "not_planned" |
| content * | string | Description of the task |
| priority | string | Task priority - "high", "medium" (default), "low" |
| project | string | Optional project the task belongs to; its tag becomes "<project>/todos", or bare "todos" without a project |
| status | string | Task status - "open" (default) or "closed" |
memory_deleteDelete a memory by id.| Parameter | Type | Description |
|---|---|---|
| force | boolean | If True, allow deleting document fragments/roots. Use memory_delete_document() instead for clean document removal. |
| memory_id * | integer | Memory ID to delete |
| reason | string | Optional tombstone reason (default "deleted") |
memory_delete_batchDelete multiple memories by id.| Parameter | Type | Description |
|---|---|---|
| ids * | array | Memory IDs to delete |
| reason | string | Optional tombstone reason (default "deleted") |
memory_delete_documentDelete a stored document and all its fragments.| Parameter | Type | Description |
|---|---|---|
| document_key * | string | The document identifier |
| version | integer | Optional — delete only this version. If omitted, deletes all versions. |
memory_detect_supersessionsDetect memories that supersede (update/replace) other memories.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | If True, preview detections without creating edges (default: True) |
| limit | integer | Maximum pairs to analyze with LLM (default: 20) |
| min_confidence | number | Minimum LLM confidence to accept (default: 0.75) |
| min_similarity | number | Minimum embedding similarity to consider (default: 0.55) |
| tags_any | array | Only consider memories with any of these tags |
memory_digestReturn a deterministic digest of memories related to a topic.| Parameter | Type | Description |
|---|---|---|
| date_from | string | Optional created_at lower bound (ISO or relative like "7d"). |
| date_to | string | Optional created_at upper bound (ISO or relative like "7d"). |
| debug | boolean | Include ranked candidates, applied filters, and seed/filter notes. |
| include_lineage | boolean | Include supersession history for active hits. |
| include_related_hops | integer | Number of cross-reference hops to collect, capped at 3. |
| include_todos | boolean | Include matching todos and issues: metadata.type todo/issue, or a todos/issues tag, bare or with any project prefix (the legacy memora/todos and memora/issues included). |
| k | integer | Maximum active search hits and TODO/issue matches to include. |
| metadata_filters | object | Optional metadata filters. |
| preview_chars | integer | Preview length per returned memory. |
| seed_ids | array | Explicit memory ids to include as source memories and expand lineage/related from. |
| synthesize | boolean | Reserved for future LLM synthesis. False by default. |
| tags_all | array | Restrict hybrid search and discovered TODO/issue matches to memories with all of these tags. |
| tags_any | array | Restrict hybrid search and discovered TODO/issue matches to memories with any of these tags. |
| topic * | string | Subject to digest. |
memory_events_clearMark events as consumed.| Parameter | Type | Description |
|---|---|---|
| event_ids * | array | List of event IDs to mark as consumed |
memory_events_pollPoll for memory events (e.g., shared-cache notifications).| Parameter | Type | Description |
|---|---|---|
| since_timestamp | string | Only return events after this timestamp (ISO format) |
| tags_filter | array | Only return events with these tags (e.g., ["shared-cache"]) |
| unconsumed_only | boolean | Only return unconsumed events (default: True) |
memory_exportExport all memories to JSON format for backup or transfer. Rate limited: 60s cooldown.memory_export_graphExport memories as interactive HTML knowledge graph.| Parameter | Type | Description |
|---|---|---|
| min_score | number | Minimum similarity score for edges (default: 0.25) |
| output_path | string | Path to save HTML file (default: ~/memories_graph.html) |
memory_find_duplicatesFind potential duplicate memory pairs with optional LLM-powered comparison.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum pairs to analyze (default: 10) |
| max_similarity | number | Maximum similarity score (default: 1.0, kept for backward compatibility) |
| min_similarity | number | Minimum similarity score to consider (default: 0.85) |
| use_llm | boolean | Whether to use LLM for semantic comparison (default: True) |
memory_getRetrieve a single memory by id (full content by default).| Parameter | Type | Description |
|---|---|---|
| fields | array | Optional list of fields to return (e.g. ["id","content","tags"]). None returns all fields. |
| follow | string | Lineage mode. Default ``latest`` (resolve superseded id to the current leaf). ``full_history`` adds a ``history`` key with all versions root-to-leaf; ``all`` returns the exact requested id with no chain walk (forensic). Omitting follow is NOT unfiltered — it means resolve to latest. A version retired by deleting any version of its lineage answers not_found with retired=true and a message naming the delete; a new supersedes edge does not restore it (follow="all" reads it). |
| include_images | boolean | If False, strip image data from metadata to reduce response size |
| memory_id * | integer | ID of the memory to retrieve |
memory_get_documentRetrieve a stored document and its fragments by document key.| Parameter | Type | Description |
|---|---|---|
| content_mode | string | "preview" (default) or "full" for fragment content |
| document_key * | string | The document identifier used during storage |
| node_kinds | array | Optional filter — e.g. ["claim", "plan_item"] for specific fragment types |
| preview_chars | integer | Max chars for preview mode (default: 120) |
| version | integer | Optional version filter. If omitted, returns the latest version. |
memory_hierarchyReturn memories organised into a hierarchy derived from their metadata.| Parameter | Type | Description |
|---|---|---|
| compact | boolean | If True (default), return only id, preview (first 80 chars), and tags per memory to reduce response size. Set to False for full memory data. |
| date_from | string | |
| date_to | string | |
| include_root | boolean | |
| metadata_filters | object | |
| query | string | |
| tags_all | array | |
| tags_any | array | |
| tags_none | array |
memory_hybrid_searchPerform a hybrid search combining keyword (FTS) and semantic (vector) search.| Parameter | Type | Description |
|---|---|---|
| content_mode | string | "preview" (default) returns truncated content_preview; "full" returns complete content |
| date_from | string | Optional date filter (ISO format or relative like "7d", "1m", "1y") |
| date_to | string | Optional date filter (ISO format or relative) |
| fields | array | Optional list of fields to return. Include "score" to keep {memory, score} envelope; omit "score" for flat list of memory dicts. |
| follow | string | Lineage mode. Default ``active`` (excludes superseded memories). ``latest`` / ``full_history`` as documented on memory_list; ``all`` is the explicit unfiltered forensic escape hatch. Omitting follow is NOT unfiltered — it means the safe default. |
| limit | integer | Alias for top_k — preferred name; honored so callers matching memory_list work |
| metadata_filters | object | Optional metadata filters |
| min_score | number | Minimum combined score threshold (default: 0.0) |
| preview_chars | integer | Max chars for preview (default: 300, ignored when content_mode="full") |
| query * | string | Search query text |
| semantic_weight | number | Weight for semantic results (0-1). Higher values favor semantic similarity. Keyword weight = 1 - semantic_weight. Default: 0.6 (60% semantic, 40% keyword) |
| tags_all | array | Match memories with ALL of these tags (AND logic) |
| tags_any | array | Match memories with ANY of these tags (OR logic) |
| tags_none | array | Exclude memories with ANY of these tags (NOT logic) |
| top_k | integer | Maximum number of results (legacy name; default 10 if neither limit nor top_k) |
memory_importImport memories from JSON format. Rate limited: 60s cooldown.| Parameter | Type | Description |
|---|---|---|
| data * | array | List of memory dictionaries with content, metadata, tags, created_at |
| strategy | string | "replace" (clear all first), "merge" (skip duplicates), or "append" (add all) |
memory_import_sweepAdmin: finish or remove rows an interrupted import left behind.| Parameter | Type | Description |
|---|---|---|
| older_than_minutes | integer |
memory_insightsAnalyze stored memories and produce actionable insights.| Parameter | Type | Description |
|---|---|---|
| include_llm_analysis | boolean | If True, use LLM to detect patterns and themes |
| period | string | Time period to analyze (e.g., "7d", "1m", "1y") |
memory_linkCreate an explicit typed link between two memories.| Parameter | Type | Description |
|---|---|---|
| bidirectional | boolean | If True, also create reverse link (default: True) |
| edge_type | string | Type of relationship. Options: - "references" (default): General reference - "implements": Source implements/realizes target - "supersedes": Source replaces/updates target - "extends": Source builds upon target - "contradicts": Source conflicts with target - "related_to": Generic relationship |
| from_id * | integer | Source memory ID |
| to_id * | integer | Target memory ID |
memory_listList memories, optionally filtering by substring query or metadata.| Parameter | Type | Description |
|---|---|---|
| content_mode | string | "preview" (default) returns truncated content_preview; "full" returns complete content |
| date_from | string | Optional date filter (ISO format or relative like "7d", "1m", "1y") |
| date_to | string | Optional date filter (ISO format or relative like "7d", "1m", "1y") |
| fields | array | Optional list of fields to return (e.g. ["id","content_preview","tags"]). None returns all fields. |
| follow | string | Lineage mode. Default ``active`` (excludes superseded memories). ``latest`` resolves each hit to its current version; ``full_history`` expands supersession chains; ``all`` is the explicit unfiltered forensic escape hatch (includes superseded). Omitting follow is NOT unfiltered — it means the safe default. |
| limit | integer | Maximum results (default: 20). Pass -1 for unlimited. |
| metadata_filters | object | Optional metadata filters |
| offset | integer | Number of filtered results to skip (default: 0) |
| preview_chars | integer | Max chars for preview (default: 120, ignored when content_mode="full") |
| query | string | Optional text search query |
| sort_by_importance | boolean | Sort results by importance score (default: False, sorts by date) |
| tags_all | array | Match memories with ALL of these tags (AND logic) |
| tags_any | array | Match memories with ANY of these tags (OR logic) |
| tags_none | array | Exclude memories with ANY of these tags (NOT logic) |
memory_list_compact[Deprecated] List memories in compact format (id, preview, tags only).| Parameter | Type | Description |
|---|---|---|
| date_from | string | Optional date filter (ISO format or relative like "7d", "1m", "1y") |
| date_to | string | Optional date filter (ISO format or relative like "7d", "1m", "1y") |
| limit | integer | Maximum number of results to return (default: unlimited) |
| metadata_filters | object | Optional metadata filters |
| offset | integer | Number of results to skip (default: 0) |
| query | string | Optional text search query |
| tags_all | array | Match memories with ALL of these tags (AND logic) |
| tags_any | array | Match memories with ANY of these tags (OR logic) |
| tags_none | array | Exclude memories with ANY of these tags (NOT logic) |
memory_mergeMerge source memory into target, then delete source.| Parameter | Type | Description |
|---|---|---|
| merge_strategy | string | How to combine content: - "append": Append source content to target (default) - "prepend": Prepend source content to target - "replace": Replace target content with source |
| source_id * | integer | Memory ID to merge from (will be deleted) |
| target_id * | integer | Memory ID to merge into (will be updated) |
memory_migrate_imagesMigrate existing base64 images to R2 storage.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | If True, only report what would be migrated without making changes |
memory_rebuild_crossrefsRecompute cross-reference links for all memories. Rate limited: 300s cooldown.memory_rebuild_embeddingsRecompute embeddings for all memories. Rate limited: 300s cooldown.memory_relatedReturn cross-referenced memories for a given entry.| Parameter | Type | Description |
|---|---|---|
| memory_id * | integer | |
| refresh | boolean |
memory_semantic_searchPerform a semantic search using vector embeddings.| Parameter | Type | Description |
|---|---|---|
| content_mode | string | "preview" (default) returns truncated content_preview; "full" returns complete content |
| fields | array | Optional list of fields to return. Include "score" to keep {memory, score} envelope; omit "score" for flat list of memory dicts. |
| follow | string | Lineage mode. Default ``active`` (excludes superseded memories). ``latest`` / ``full_history`` as documented on memory_list; ``all`` is the explicit unfiltered forensic escape hatch. Omitting follow is NOT unfiltered — it means the safe default. |
| limit | integer | Alias for top_k — preferred name; honored so callers matching memory_list work |
| metadata_filters | object | Optional metadata filters |
| min_score | number | Minimum similarity score threshold |
| preview_chars | integer | Max chars for preview (default: 300, ignored when content_mode="full") |
| query * | string | Search query text |
| top_k | integer | Maximum number of results (legacy name; default 5 if neither limit nor top_k) |
memory_statsGet statistics and analytics about stored memories.memory_store_documentStore a structured document as a root memory + searchable fragments.| Parameter | Type | Description |
|---|---|---|
| content * | string | Full markdown document content |
| document_key * | string | Stable identifier (e.g. "research/memora-enhancements-2026-04-08") |
| metadata | object | Additional metadata merged into root and fragments |
| project | string | Optional project the document belongs to: recorded on the root and every fragment, whose tag becomes "<project>/documents" (bare "documents" without a project) |
| skip_fragment_crossrefs | boolean | If True, fragments skip crossref computation (default: True) |
| tags | array | Tags applied to root and fragments |
| version | integer | Document version (default: 1). If >1, supersedes previous version. |
memory_tag_hierarchyReturn stored tags organised as a namespace hierarchy.| Parameter | Type | Description |
|---|---|---|
| include_root | boolean |
memory_tagsReturn the allowlisted tags.memory_unlinkRemove a link between two memories.| Parameter | Type | Description |
|---|---|---|
| bidirectional | boolean | If True, also remove reverse link (default: True) |
| from_id * | integer | Source memory ID |
| to_id * | integer | Target memory ID |
memory_updateUpdate an existing memory.| Parameter | Type | Description |
|---|---|---|
| content | string | |
| memory_id * | integer | |
| metadata | object | |
| replace_metadata | boolean | |
| tags | array |
memory_upload_imageUpload an image file directly to R2 storage.| Parameter | Type | Description |
|---|---|---|
| caption | string | Optional caption for the image |
| file_path * | string | Absolute path to the image file to upload |
| image_index | integer | Index of image within the memory (default: 0) |
| memory_id * | integer | Memory ID this image belongs to (used for organizing in R2) |
memory_validate_tagsValidate stored tags against the allowlist and report invalid entries.| Parameter | Type | Description |
|---|---|---|
| include_memories | boolean |
memory_verify_integrityRead-only embedding integrity doctor with bounded offending ids.| Parameter | Type | Description |
|---|---|---|
| record_model | boolean |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by memora-graph/package-lock.json.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 6.1K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README