Facthouse logo

Facthouse

Local MCP memory engine that records events, extracts durable facts, and searches an entity-linked knowledge store.

Install Facthouse

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "facthouse": {
      "command": "npx",
      "args": [
        "-y",
        "@facthouse/mcp"
      ],
      "env": {
        "FACTHOUSE_DATA": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env FACTHOUSE_DATA=YOUR_VALUE_HERE --transport stdio facthouse -- npx -y @facthouse/mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @facthouse/mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Facthouse MCP server stores agent activity and durable knowledge in a local SQLite database, with optional Postgres support. It separates raw session events, newly captured facts, and reconciled knowledge linked through entities; consolidation extracts, deduplicates, and supersedes outdated information. Use it for cross-session recall, session history, entity lookups, and broader context retrieval when an agent needs memory beyond its current context. Optional embeddings add semantic search, while keyword and structured search work without them.

Use cases

  • Record agent conversations and tool activity for later recall
  • Capture durable user, project, and system facts across sessions
  • Search a reconciled knowledge graph before answering questions
  • Review earlier sessions after context compaction
  • Inspect memory coverage, pending extraction, and consolidation status

Key features

  • Local SQLite memory store
  • Event logging and session replay
  • Entity-linked fact integration
  • Hybrid keyword and optional semantic search
  • Cross-session consolidation
  • Read-only briefing and profile resources

Tools10

What Facthouse lets your agent do. Expand a tool for its parameters.

Verified live~3.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 89d

What it can do

From the 10 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 1Read-only tools · 10
Network at startup3 connections
Files written at startup3
Install scriptsprepare
npm provenanceSigned build
Package age54 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @facthouse/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads2.9kPackage downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed10Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Facthouse works

What Facthouse does

Facthouse provides local, persistent memory for AI tools through MCP. It can preserve raw exchanges such as messages, tool calls, tool results, and artifacts, then turn those records into durable facts. The resulting knowledge store covers subjects such as people, organisations, projects, places, products, and systems, with relationships and source attribution.

The storage model has three stages. Data contains session activity, Information contains extracted or directly captured facts, and Knowledge contains integrated beliefs. Integration resolves entities, removes duplicates, reconciles contradictions, and keeps older facts as superseded history rather than deleting them.

How it works

A client can record activity with log_event, retrieve conversation history with get_events, or write a durable fact directly with capture_fact. Captured facts are available immediately, but entity extraction, domain assignment, duplicate handling, contradiction processing, and graph integration occur during consolidate.

consolidate can copy new lines from configured transcript sources, extract facts from unexamined events, and integrate pending facts. Extraction processes the oldest 50 lines per call unless all or a limit is supplied. Facthouse can also run automatic copying and integration at server lifecycle points, while external hooks can notify a running process about compaction without waiting for the full operation.

For recall, get_session_context returns the working briefing for a conversation. search_knowledge returns ranked integrated facts with source and confidence information, plus recent pending facts and raw episodes when applicable. get_entity gathers knowledge about a named subject, and get_context expands from a topic or entity through related entities for a broader view.

Setup and configuration

Facthouse requires Node.js 22.5 or 24 and later. A basic launch uses:

Terminal
npx -y @facthouse/mcp
facthouse init

The setup command can run interactively or with facthouse init --web, which prints a localhost URL for a browser-based form. It creates the store and prints an MCP configuration snippet. The default data directory is ~/.facthouse; set FACTHOUSE_DATA to an absolute path in the client configuration to use another location.

Choose whether the store copies logs from supported local sources or relies on the assistant to record facts. Copy sources include Claude Code, Cursor, and Grok Build logs. A record store uses MCP calls instead and can work with clients that do not keep readable logs on disk.

Tools and capabilities

  • log_event preserves raw exchanges and artifacts for later extraction.
  • get_events reads current or previous session records in sequence order.
  • capture_fact stores durable knowledge immediately and safely tolerates duplicate capture.
  • get_session_context supplies the current working briefing and unconsolidated session facts.
  • consolidate runs copying, extraction, and integration.
  • search_knowledge, get_entity, and get_context support fact, subject, and connected-topic retrieval.
  • get_schemas lists the domains used by the store.
  • get_stats reports facts, entities, domains, raw-log cleanup, consolidation usage, and embedding coverage.

The server exposes memory://briefing and memory://profile as read-only resources. Clients that do not load resources can call get_session_context instead. Keyword search is available by default; optional embeddings add meaning-based matching as a fourth search signal alongside BM25, domain structure, and entity-graph paths.

Limitations and notes

Consolidation needs language-model intelligence for transcript fact extraction. By default, Facthouse uses the Claude Code CLI and an existing subscription; without it, the built-in heuristic does not extract facts from transcripts. Direct capture_fact calls still store facts, but without entity or domain routing in that fallback mode.

Semantic search is disabled unless an embedding model is configured. Newly captured facts can match their own words before consolidation, but meaning-based matching requires vectors. Cursor consumes the tools but does not load resources until a later adapter, so session context should be requested with get_session_context there.

Facthouse is local by default, and its history is immutable: outdated facts are superseded instead of removed. Hook processes cannot call MCP tools directly; they notify the already-running server instead. The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Facthouse

Facthouse is an MCP server that connects AI tools to a local SQLite memory store. Its main tools record events, capture durable facts, consolidate them into an entity-linked knowledge graph, and retrieve session context, searched knowledge, entities, and broader topic context across conversations.

Run `npx -y @facthouse/mcp`, then run `facthouse init` to create the store and print an MCP configuration snippet. Facthouse requires Node.js 22.5 or 24 and later. The `--web` option prints a localhost setup URL instead of requiring the terminal walkthrough.

Yes, Facthouse works with Cursor through MCP, and Cursor logs can be configured as copy sources. Cursor consumes Facthouse tools but does not load its resources until a later adapter, so call `get_session_context` at the beginning of a conversation.

Facthouse stores memory in a SQLite file, using `~/.facthouse` by default. Set `FACTHOUSE_DATA` to an absolute alternative path in the MCP configuration. The store separates raw events, newly extracted facts, and integrated knowledge; optional Postgres support is also available.

Configure an embedding provider and model, then run consolidation so current facts receive vectors. Semantic search is off by default; without it, searches use wording and structured knowledge indexes. Newly captured facts can be found by their own words before they are embedded.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFacthouse AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/facthouse?style=directory)](https://allmcps.com/mcp/facthouse)
HTML Embed
<a href="https://allmcps.com/mcp/facthouse"><img src="https://allmcps.com/api/badge/facthouse?style=directory" alt="Facthouse on AllMCPs" /></a>