fact_query

MCP tool from Cortex by gambletan

Query facts by entity (SQL-indexed)

How to use it

Project documentation lists fact_query for the Cortex MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Cortex

$claude mcp add cortex-memory -- cortex-mcp-server ~/.cortex/memory.db
FULL CORTEX LISTING

Other tools in Cortex (29)

belief_list

Query beliefs above confidence threshold

belief_observe

Update a Bayesian belief with evidence

contradiction_check

Check for fact contradictions

fact_add

Store structured knowledge (subject-predicate-object)

memory_archive

Archive a memory to cold storage

memory_compress

Compress old conversation sessions

memory_consolidate

Run decay + promotion + sweep cycle

memory_context

Generate LLM-ready context summary (token-budgeted)

memory_decay

Run temporal decay on episodic memories

memory_delete

Permanently delete a memory by ID

memory_infer

Preview inference without storing

memory_ingest

Store a memory (text, channel, person context, optional privacy)

memory_ingest_batch

Ingest multiple memories in a single transaction

memory_restore

Restore an archived memory back to an active tier

memory_search

Semantic search across all memory tiers

memory_set_privacy

Change a memory's privacy level — promote to shared to sync it, demote to private to retract it from other devices

memory_stats

Get memory statistics (counts per tier, index size)

namespace_list

List all namespaces with memory counts

person_list

List all known people

person_merge

Merge two person identities into one

person_resolve

Cross-channel identity resolution

preference_query

Query preferences by key pattern

preference_set

Store user preference with confidence

relationship_extract

Extract relationships from text

sync_enable

Enable cross-device cloud sync with optional encryption

sync_providers

Detect available cloud storage providers

sync_pull

Pull and apply remote changes from other devices

sync_status

Cloud sync status (provider, devices, pending ops)

tag_list_taxonomy

List all tags in use across memories with counts