1. Conduid
  2. RAG
  3. cdeust/Cortex
MCP server · RAG

cdeust/Cortex

coding write gate, WRRF retrieval. PostgreSQL + pgvector, 33 MCP tools, 7 lifecycle hooks. Benchmarked 97.8% R@10 on LongMemEval. `claude plugin marketplace add cdeust/Cortex`

69Good

Scored 4 hours ago · breakdown

About cdeust/Cortex

cdeust/Cortex is an MCP server published by cdeust in the RAG category: coding write gate, WRRF retrieval. PostgreSQL + pgvector, 33 MCP tools, 7 lifecycle hooks. Benchmarked 97.8% R@10 on LongMemEval. `claude plugin marketplace add cdeust/Cortex`. Conduid read 60 tools from its source: add_rule, anchor, assess_coverage, backfill_memories, calibration, change_impact and 54 more. It is published to PyPI as hypermnesia-mcp and runs with uvx.

The repository has 78 stars and 17 forks, and its last commit was on 28 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include agent-memory-system, artificial-intelligence, causal-inference, claude-code-plugin, cognitive-architecture and cognitive-science.

Install

uvx
uvx hypermnesia-mcp
pip
pip install hypermnesia-mcp
From source
git clone https://github.com/cdeust/Cortex

Tools (60)

add_ruleAdd a neuro-symbolic rule to the memory store.
ParameterTypeDescription
action *string
condition *string
priorityinteger
rule_typestring
scopestring
scope_valuestring
source_memory_idinteger
anchorMark a memory as compaction-resistant (heat=1.0).
ParameterTypeDescription
is_globalboolean
memory_id *integer
reasonstring
assess_coverageEvaluate knowledge coverage completeness.
ParameterTypeDescription
directorystring
domainstring
stale_daysinteger
backfill_memoriesAuto-import prior Claude Code conversations into memory.
ParameterTypeDescription
dry_runboolean
force_reprocessboolean
max_filesinteger
min_importancenumber
projectstring
calibrationScore resolved predictions: Brier score and reliability bands.
ParameterTypeDescription
domainstring
change_impactReport memories affected by a commit's code changes.
ParameterTypeDescription
apply_heat_bumpboolean
basestring
expand_impactboolean
headstring
check_setupVerify the local install: Python, PG driver, DB, extensions, FS.
checkpointSave or restore working state for hippocampal replay.
ParameterTypeDescription
action *string
active_errorsarray
current_taskstring
custom_contextstring
directorystring
files_being_editedarray
key_decisionsarray
next_stepsarray
open_questionsarray
session_idstring
codebase_analyzeAnalyze codebase and store structure as memories.
ParameterTypeDescription
directorystring
domainstring
dry_runboolean
incrementalboolean
languagesarray
max_file_size_kbinteger
max_filesinteger
consolidateRun memory maintenance: decay, compression, CLS, memify.
ParameterTypeDescription
compressboolean
decayboolean
deepboolean
memifyboolean
wikiboolean
wiki_apply_citation_seedboolean
wiki_apply_classifier_rejectsboolean
wiki_apply_stubsboolean
wiki_citation_seed_limitinteger
wiki_max_purges_per_axisinteger
create_triggerCreate a prospective memory trigger.
ParameterTypeDescription
content *string
source_memory_idinteger
target_directorystring
trigger_condition *string
trigger_typestring
curate_distillReturn distillation dossiers for the in-session LLM to author
ParameterTypeDescription
domainstring
include_co_accessboolean
include_entity_familyboolean
include_error_successboolean
limitinteger
memory_pool_sizeinteger
min_avg_heatnumber
min_memoriesinteger
window_hoursnumber
curate_wikiReturn structured authoring jobs for the in-session LLM to author.
ParameterTypeDescription
coverage_jobs_maxinteger
domainstring
include_coverageboolean
include_reauthorboolean
limitinteger
memory_pool_sizeinteger
min_avg_heatnumber
min_memoriesinteger
reauthor_jobs_maxinteger
recent_onlyboolean
report_uncited_deliberateboolean
uncited_deliberate_limitinteger
detect_domainLightweight domain classification.
ParameterTypeDescription
cwdstring
first_messagestring
projectstring
detect_gapsIdentify knowledge gaps in the memory store.
ParameterTypeDescription
domainstring
include_domain_gapsboolean
include_entity_gapsboolean
include_temporal_gapsboolean
stale_threshold_daysinteger
drill_downNavigate into a fractal memory cluster.
ParameterTypeDescription
cluster_id *string
domainstring
min_heatnumber
explore_featuresExplore interpretability features.
ParameterTypeDescription
compare_domainstring
domainstring
mode *any
forgetDelete or soft-delete a memory by ID.
ParameterTypeDescription
forceboolean
memory_id *integer
softboolean
get_causal_chainTrace entity relationships through the knowledge graph.
ParameterTypeDescription
directionstring
entity_namestring
max_depthinteger
max_edgesinteger
memory_idinteger
relationship_typesarray
get_grooming_healthBacklog + staleness for wiki/distillation/promotion grooming.
get_project_storyGenerate a period-based autobiographical narrative.
ParameterTypeDescription
directorystring
domainstring
max_chaptersinteger
periodstring
get_rulesList active neuro-symbolic rules.
ParameterTypeDescription
include_inactiveboolean
rule_typestring
scopestring
get_telemetryReturn per-op counters + read/write ratio (Popper C6).
import_sessionsImport conversation history into the memory store.
ParameterTypeDescription
domainstring
dry_runboolean
max_sessionsinteger
min_importancenumber
projectstring
ingest_codebaseIngest upstream codebase analysis into Cortex.
ParameterTypeDescription
force_reindexboolean
ingest_docsboolean
languagestring
output_dirstring
project_path *string
ingest_documentIngest a .docx or Confluence export into Cortex.
ParameterTypeDescription
domainstring
formatstring
path *string
titlestring
ingest_findingsIngest an AP findings run (runs/<run_id>/) into Cortex.
ParameterTypeDescription
graph_keystring
output_dirstring
run_id *string
ingest_prdIngest a PRD document into Cortex.
ParameterTypeDescription
contentstring
domainstring
pathstring
pipeline_idstring
titlestring
validateboolean
lesson_promotionPropose promotion jobs for validated lessons — never promotes itself.
ParameterTypeDescription
limitinteger
list_domainsOverview of all detected cognitive domains.
memory_statsMemory system diagnostics.
narrativeGenerate project narrative from stored memories.
ParameterTypeDescription
briefboolean
directorystring
domainstring
navigate_memoryNavigate memory space using Successor Representation.
ParameterTypeDescription
include_2d_mapboolean
max_depthinteger
memory_id *integer
window_hoursnumber
predictRecord a falsifiable prediction before its outcome is known.
ParameterTypeDescription
claim *string
confidence *number
directorystring
domainstring
memory_idinteger
prediction *string
test *string
query_methodologyReturns cognitive profile for the current domain.
ParameterTypeDescription
cwdstring
first_messagestring
projectstring
rate_memoryRate a memory as useful or not to update metamemory confidence.
ParameterTypeDescription
memory_id *integer
querystring
useful *boolean
rebuild_profilesFull rescan of all session data to rebuild methodology profiles.
ParameterTypeDescription
domainstring
forceboolean
replace_accumulated_profilesboolean
recallRetrieve memories using multi-signal fusion.
ParameterTypeDescription
content_offsetinteger
cross_domainboolean
directorystring
domainstring
exact_idboolean
formatstring
include_low_signalboolean
include_relatedboolean
max_resultsinteger
memory_idinteger
min_heatnumber
project_rootstring
query *string
sa_modestring
tags_allarray
tags_anyarray
recall_hierarchicalRetrieve memories using fractal hierarchy.
ParameterTypeDescription
cluster_thresholdnumber
domainstring
max_resultsinteger
memory_idsarray
min_heatnumber
query *string
recall_skillsRetrieve procedural skills for the current situation.
ParameterTypeDescription
cwdstring
domainstring
min_proficiencynumber
recent_toolsarray
top_kinteger
record_session_endIncremental profile update after a session ends.
ParameterTypeDescription
cwdstring
domainstring
durationnumber
keywordsarray
projectstring
session_id *string
tools_usedarray
turn_countinteger
rememberStore a memory through the predictive coding write gate.
ParameterTypeDescription
content *string
created_atstring
directorystring
domainstring
forceboolean
initial_heatnumber
is_globalboolean
origin_toolstring
sourcestring
supersedes_idinteger
tagsarray
write_classstring
resolve_predictionSettle an open prediction against the evidence that decided it.
ParameterTypeDescription
observed *string
prediction_id *integer
source_kind *string
source_ref *string
verdict *string
seed_projectBootstrap memory from an existing codebase.
ParameterTypeDescription
directorystring
domainstring
dry_runboolean
max_file_size_kbinteger
sync_instructionsPush top memory insights into CLAUDE.md.
ParameterTypeDescription
directorystring
dry_runboolean
max_insightsinteger
min_heatnumber
unified_searchFuse Cortex recall with AP code search using reciprocal rank fusion.
ParameterTypeDescription
cross_domainboolean
domainstring
exact_idboolean
kinteger
max_resultsinteger
project_rootstring
query *string
sa_modestring
validate_memoryValidate memories against current filesystem state.
ParameterTypeDescription
after_idinteger
base_dirstring
directorystring
domainstring
dry_runboolean
memory_idinteger
staleness_thresholdnumber
url_check_limitinteger
whyResolve ⟦rcpt:id⟧ injection receipts into presence-in-context evidence.
ParameterTypeDescription
receipt_ids *array
wiki_adrCreate a numbered ADR with auto-incremented sequence.
ParameterTypeDescription
consequences *string
decision *string
project_rootstring
statusstring
tagsarray
title *string
wiki_get_draftFetch a pending draft with its source claims and kind contract.
ParameterTypeDescription
draft_idinteger
kindstring
limitinteger
list_pendingboolean
wiki_linkAdd a bidirectional link between two wiki pages (Related section).
ParameterTypeDescription
from_path *string
relation *string
to_path *string
wiki_listList authored wiki pages, optionally filtered by kind.
ParameterTypeDescription
include_auto_generatedboolean
include_redirectsboolean
kindstring
wiki_migrateSync the filesystem wiki into PG and reconcile FS-deleted ghosts.
ParameterTypeDescription
dry_runboolean
wiki_purgeRe-evaluate and purge wiki pages that fail the current classifier.
ParameterTypeDescription
applyboolean
kindstring
max_purgesinteger
purge_classifier_rejectsboolean
purge_shallowboolean
purge_stubsboolean
shallow_thresholdinteger
stub_thresholdnumber
wiki_readRead a wiki page by relative path.
ParameterTypeDescription
follow_redirectsboolean
offsetinteger
path *string
project_rootstring
wiki_refine_draftSubmit refined prose for a draft and record an audit memo.
ParameterTypeDescription
draft_id *integer
frontmatterobject
leadstring
rationalestring
sectionsarray
synth_modelstring
synth_promptstring
titlestring
wiki_reindexRegenerate the wiki table of contents at .generated/INDEX.md.
ParameterTypeDescription
project_rootstring
wiki_renameMove a page and leave a redirect stub at the old path.
ParameterTypeDescription
from_path *string
overwrite_destboolean
reasonstring
to_path *string
wiki_verifyVerify wiki-page symbol citations against AP's code graph.
ParameterTypeDescription
pathstring
wiki_writeAuthor a wiki page using create, append, or replace mode.
ParameterTypeDescription
content *string
memory_idsarray
modestring
path *string
project_rootstring
tagsarray

Security checks

  • ✓README presentThe repository's README runs to about 4.9K words.

5 checks have not been run yet.

README

The repository's README runs to about 4.9K words. The original in the repository is authoritative.

Read full README
Questions

About cdeust/Cortex

How do I install cdeust/Cortex?

Run uvx hypermnesia-mcp, then add the server to your MCP client's configuration.

Is cdeust/Cortex safe to use with an AI agent?

Its trust score is 69 out of 100 (good). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is cdeust/Cortex still maintained?

Yes — the last commit was 4 days ago. The repository has 78 stars and 17 forks.

What tools does cdeust/Cortex provide?

Conduid read 60 tools from the source: add_rule, anchor, assess_coverage, backfill_memories, calibration, change_impact, check_setup, checkpoint and 52 more. 55 of them publish their parameters, listed under Tools above.