Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Facthouse

Latest version: v0.42.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
MCP server Transport: stdio Publisher: gordonkjlee
3 Stars
1 Forks
21 Versions
TypeScript Repo language

Scan summary

Facthouse was last scanned on 30 Nov 2026 at version 0.42.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest 5 were published on 30 Nov 2026.
  • Findings: 1 rule fired in version 0.42.0 (1 low). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.42.0 LATEST 30 Nov 2026 1 rule fired
0.41.1 30 Nov 2026 1 rule fired
0.41.0 30 Nov 2026 1 rule fired
0.40.0 30 Nov 2026 Not shown
0.39.0 30 Nov 2026 Not shown

Rules fired in 0.42.0: 1

Findings

1 Low

Findings for v0.42.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: instruction-override wording (not reviewed)

An automated phrase check found wording that also appears in attempts to override an agent's instructions, such as "ignore previous instructions" or "enable developer mode". The check does not read context, so quoted examples, headings and ordinary settings steps match too. Not reviewed by a person.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.42.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Facthouse

Facthouse is a local memory engine for AI tools. Most “memory” products index chat logs. Facthouse takes agent activity - messages, tool use, and other MCP traffic - and applies neuroscience-inspired consolidation so it moves through Data (what happened in the session) → Information (extracted facts) → Knowledge (integrated beliefs on an entity graph). During this process, Facthouse links entities, drops duplicates, reconciles conflicts, and supersedes what is out of date. Vector embeddings add optional semantic search on top of that graph. The store is a SQLite file on your disk.

npm CI License: MIT

Quick Start

Needs Node 22.5 or 24+.

npx -y @facthouse/mcp
facthouse init

facthouse init --web is the same setup as a browser form — it prints a 127.0.0.1 URL and does not open a browser.

Press Enter to accept each default (copy = Claude Code, Cursor or Grok Build session logs on disk; type record if the assistant should save facts). If you picked copy, init asks whether to copy existing logs, then whether to extract and integrate. Init prints an MCP snippet as soon as the store is written — add it to the client's MCP config while copy/extract run. Restart the client when init finishes.

In the client, state something durable in ordinary conversation — there is no remember command.

Ask it back in the next session, or facthouse search. That is the store.

Copy from Claude Code, Cursor or Grok Build logs, or record from any MCP client: How conversations get in. Replay: facthouse.dev/demo.html. CLI: below.

What you get

  • Local SQLite. Optional Postgres. Isolation is the directory, not a column.
  • Entity graph. People, organisations, projects, places, products — extracted, typed and linked.
  • Hybrid search. BM25 + structured domain + entity-graph paths, merged via Reciprocal Rank Fusion. An embedding provider adds meaning as a fourth list; off by default.
  • In-session memory. get_session_context is the same briefing as memory://briefing. Tools-only clients should call it at session start.
  • Immutable history. Facts are never deleted, only superseded, or retired when the user says one was never right.

How it works

One SQLite database. Three tables in it, not three databases: Data (what happened in the session) → Information (extracted facts) → Knowledge (integrated beliefs).

  • D (session_events) — what was said (copied transcripts, or what the assistant records)
  • I (session_facts) — what was just extracted, or capture_fact
  • K (facts) — integrated knowledge

FTS5 (words) and optional embeddings (meaning) are indexes of K. They are not a second store. Semantic search is off unless you turn it on: search "shellfish" finds a shellfish fact, search "food" does not, until you choose an embedding model — a model is an opinion about what “similar” means.

Two speeds. Copy tails named transcripts into Data. Extract turns new transcript lines into self-contained facts (D→I). Integrate fits them into what the store already knows: domains, entities, duplicates, contradictions, the graph (I→K). consolidate is the umbrella: copy, extract, and integrate together. Extract is capped at 50 lines per run, so a first backfill is never spent on the lot; when extract runs, it takes the oldest 50 lines. Consolidation does not invent a sentence nobody said.

One consolidation writes the store at a time. While the run is alive it refreshes a lease every 30 seconds, including during a long model call, so a long extract is not treated as abandoned. A second consolidate skips with “Another consolidation is in progress” until that lease is free. If this run loses the lease, it stops at the next extract batch, leaves marks at the last finished batch, and does not start integrate.

A hook cannot call MCP tools — those exist only on the assistant’s connection — and it must not wait for a model pass. So it does not invoke consolidate. It runs facthouse notify …, which tells the already-running server that a moment happened and returns at once. consolidate is the pipeline verb (MCP tool or CLI); the caller waits. notify compaction is that verb asked of the live server, asynchronously. notify threshold is a different policy (extract only, if due).

Automatic

When Copy Extract (D→I) Integrate (I→K)
Facthouse MCP server starts yes yes (cap 50) yes
A Facthouse tool or resource is called yes, if sources named and JSONL grew no no
Facthouse MCP process exits no no yes

Callable

Call From Copy Extract (D→I) Integrate (I→K)
consolidate MCP tool or CLI. Caller waits. yes yes (cap 50) yes
facthouse notify compaction Other process (recommended PreCompact; we do not install). Does not wait. yes yes (cap 50) yes
facthouse notify threshold Other process. Does not wait. Not a copy-store hook. no yes, if due (cap 50) no

On a default copy store with no extra hooks, only the automatic table runs: Facthouse starts (all three), copy on each Facthouse tool or resource call if named sources grew, and integrate on a clean process exit. Closing a chat window may skip the exit row; the next start still consolidates. Due on threshold means at least 10 unexamined lines and two minutes since the last gated run. consolidate --all lifts the extract cap. Compaction is recommended PreCompact (notify compaction): same three steps as consolidate, on the running server, without waiting. We do not install the hook. Not a Stop hook. record wakes threshold extract on a record store — do not install record hooks on a copy store.

Storage needs Node. Intelligence needs a language model. By default that is the Claude Code CLI on your existing subscription. Without it, consolidation falls back to a built-in heuristic that does not extract facts from transcripts. capture_fact still stores facts, with no entities and no domain routing.

How conversations get in

Two ways. Pick one per store.

Copy from transcripts The assistant records
Who Claude Code, Cursor or Grok Build (session logs on disk, under the client home) Any MCP client with no log on disk (Desktop, …)
How Name a source; Facthouse copies new lines from those logs into the store Empty sources; the assistant calls capture_fact
First run TTY walk-through, pick copy, set cwd; init asks whether to copy existing logs, then whether to extract and integrate TTY walk-through, pick record

On a copy store, capture_fact is a correction for every MCP client, not only the one that writes JSONL. To use Claude Code and Grok Build on one store, name a claude-code source and a grok source with the same cwd: both copy in, and neither is asked to record. Do not also install record hooks on that store.

facthouse init

Pick copy, set cwd. Init asks whether to copy existing logs, then whether to extract and integrate (Enter = all copied lines; a selection of 500 or more asks you to type the choice again). Decline extract to do that later with facthouse consolidate (--all takes remaining unexamined lines, not ones skipped as outside a 7-day or 30-day window). After that, the server copies new lines when it handles a Facthouse call. Extract and integrate follow the table in How it works.

Compact (recommended): facthouse notify compaction — we do not install the hook. Not a turn-end Stop hook.

MCP

Works with any MCP-compatible tool. Default store: ~/.facthouse. A different path is "env": { "FACTHOUSE_DATA": "/absolute/path" } on the MCP snippet. JSON accepts forward slashes on Windows.

Cursor consumes tools but not resources until a later adapter exists — search_knowledge and get_entity still work there; call get_session_context at session start.

Resources are context a client can load without a tool call. Whether they load on their own depends on the client: many attach a resource only when you choose it, and Cursor, Windsurf and Grok never fetch resources. The reliable path is get_session_context, which the server asks every client to call at the start of a conversation.

  • memory://briefing — The session-start briefing: the store's key facts, open threads, the last consolidation (dated) and recent knowledge, under one size budget. A fact to hedge or check first is marked (hedge) or (ask) with its id, so the answer can be reported with check_fact; the last line says how many facts were left for search.
  • memory://profile — Key facts only, most important first, under twice the briefing budget.

Both are read-only views over the same database the tools query. No second profile schema.

The budget is briefing.max_tokens in config.json: about 1,200 tokens by default (estimated as characters / 4, a Latin-script estimate; other scripts use more tokens per character). Set a number from 200 to 16,000 to resize it (values outside are clamped to that range), or 0 to turn the briefing off — the server then stops asking for a session-start call, and memory is reached through search_knowledge. facthouse stats shows the briefing's size against the budget.

Tools

Session

  • log_event — Log conversation events (messages, artifacts).
  • get_events — Retrieve events from current or previous session.
  • get_session_context — Working briefing (the same markdown as memory://briefing) plus facts captured in this session. Call at the start of every conversation if the client does not load resources.

Reading

  • get_entity — Everything known about any named subject — person, organisation, project, place, product — and how it connects. When several rows share the name under different types, facts from all of them come back. Hyphens, underscores, and stray punctuation count as the same letters only when that does not join two names already stored as separate rows. If there is no entity by that name, facts that mention the wording still come back rather than an empty miss.
  • get_context — Everything relevant to a topic (search + entity traversal)
  • search_knowledge — Hybrid search across integrated knowledge

Writing

  • capture_fact — Store a fact. On a copy store this is a correction for something extraction missed; on a store with empty sources it is how facts get in. The description the assistant sees is generated from that same rule.
  • check_fact — Report the user's answer after checking a fact with them. Confirmed raises its confidence; denied (never right, not merely changed) retires it, kept in history and no longer returned.
  • consolidate — Integrate pending facts into long-term knowledge. Extracts entities, resolves duplicates, detects contradictions, builds the knowledge graph.
  • Inference tools — Opt-in, off by default (inferences.enabled in config.json). A hypothesis cites existing fact ids and stays pending until confirmed. Those tools are not registered until you turn the gate on. Consolidate never invents a sentence nobody said.

Meta

  • get_schemas — Available domains and structure
  • get_stats — Fact count, entity count, domain distribution, extract backlog, intelligence spend

CLI

The MCP JSON starts the server via npx and does not need a global install. npm install -g puts facthouse on PATH for init, settings, stats, and inspect. The same CLI without PATH is npx -y -p "@facthouse/mcp" -- facthouse — pin the version; quote the package so PowerShell does not splat. -p and -- stop an older global binary winning. npx -y @facthouse/mcp with no -p / facthouse is the server; do not run it as a shell command for init, settings, or stats. The MCP paste starts the server. It does not put facthouse on PATH. To inspect the file from a terminal, see CLI below.

These CLI commands work in bash, zsh, and PowerShell. Quote @facthouse/mcp in PowerShell. Git Bash /c/... paths are not PowerShell; use C:/... and pass --data instead of cd or export. In Git Bash, quote a backslash path or write C:/... — unquoted \ is an escape. ~/ is expanded on every platform. WSL uses /mnt/c/.... FACTHOUSE_DATA on an MCP snippet applies only to that server process. A terminal facthouse command needs --data, FACTHOUSE_DATA in the environment that shell inherits, or a .facthouse store in this project. Hooks do not see mcp.json env.

npm install -g @facthouse/mcp@0.42.0
facthouse init --yes

If npm install -g fails because a command named mcp already exists, remove that leftover command and retry.

npx -y -p "@facthouse/mcp@0.42.0" -- facthouse init --yes
npx -y -p "@facthouse/mcp@0.42.0" -- facthouse settings --json
npx -y -p "@facthouse/mcp@0.42.0" -- facthouse stats
npx -y -p "@facthouse/mcp@0.42.0" -- facthouse inspect
Job Use
MCP server (what the client starts) The JSON snippet: npx with args -y and a pinned @facthouse/mcp@…. No global install.
facthouse on PATH npm install -g @facthouse/mcp@… (same pin). Update it when you bump the snippet.
Change extra knobs later facthouse settings (or settings --data <dir>). Does not reset the file.
One CLI command, no PATH npx -y -p "@facthouse/mcp@…" -- facthouse …
facthouse init [dir]

The walk-through is how a human first-run writes config.json. Skip it and the server still creates the directory on first MCP boot.

On a terminal, init asks data directory, copy transcripts vs assistant records (default copy), semantic search, and More settings. --yes never prompts and leaves sources empty. --web prints a 127.0.0.1 URL and does not open a browser; --yes refuses --web. On a terminal, --force still asks those questions, then replaces the whole file; --yes --force is the silent reset. --force does not merge with the previous file.

facthouse init --yes
facthouse init --yes ~/my-memory
facthouse init --yes --force

The generated config.json is where you change consolidation behaviour — most notably intelligence.provider (cli by default; heuristic for a zero-dependency regex fallback, or FACTHOUSE_PROVIDER=heuristic at runtime). Init does not ask that field.

facthouse settings

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.gordonkjlee/facthouse

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229