Facthouse
MCP server by gordonkjlee Community
Facthouse is a local memory server for AI assistants. It turns session activity into facts and an entity graph stored in a SQLite file on your disk, for people who want memory they control.
Install Facthouse
Built from the published package, never by AI.
claude mcp add facthouse -- npx -y @facthouse/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"facthouse": {
"args": [
"-y",
"@facthouse/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"facthouse": {
"args": [
"-y",
"@facthouse/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"facthouse": {
"args": [
"-y",
"@facthouse/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add facthouse -- npx -y @facthouse/mcp{
"mcpServers": {
"facthouse": {
"args": [
"-y",
"@facthouse/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add facthouse npx -y @facthouse/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the facthouse block.
About
Facthouse is a local memory engine for AI tools. It takes agent activity, such as messages, tool use and other MCP traffic, and moves it through three stages: Data (what happened in the session), Information (extracted facts) and Knowledge (integrated beliefs on an entity graph). During consolidation it links entities, drops duplicates, reconciles conflicts and supersedes out-of-date facts. Facts are never deleted, only superseded.
The store is one SQLite file on your disk, with optional Postgres. Conversations can be copied from Claude Code, Cursor or Grok Build session logs, or recorded by any MCP client through capture_fact. Search combines BM25, structured domain and entity-graph paths. Optional embeddings add semantic search and are off by default. It suits people who want persistent, local memory for their AI assistants.
Written from the project's README and checked against it.
Tools it gives your assistant
log_eventLogs conversation events such as messages and artifacts.get_eventsRetrieves events from the current or a previous session.get_session_contextReturns a working briefing plus facts captured in this session.get_entityReturns everything known about a named person, organisation, project, place or product.get_contextReturns everything relevant to a topic using search and entity traversal.search_knowledgeRuns hybrid search across integrated knowledge.capture_factStores a fact, or a correction for something extraction missed.consolidateIntegrates pending facts into long-term knowledge and builds the graph.get_schemasLists available domains and the store structure.get_statsShows fact count, entity count, domain distribution and extract backlog.
What you need
- Node.js 22.5 or 24 or later
- An MCP-compatible AI client
- Claude Code CLI on an existing subscription for default language model processing
Try asking
- What do you know about Project Atlas?
- Search my stored knowledge about shellfish allergies.
- Show my Facthouse stats and the extract backlog.
Good to know
- Without a language model, consolidation falls back to a heuristic that does not extract facts from transcripts.
- Semantic search is off unless you choose an embedding model.
- Extract processes at most 50 transcript lines per run unless consolidate --all is used.
- Cursor supports tools but not resources, so it must call get_session_context at session start.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Facthouse
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Facthouse: common questions
Where is my Facthouse data stored?
The store is a SQLite file on your disk. Optional Postgres is also supported, and the default store path is ~/.facthouse.
Does Facthouse delete facts?
No. The source says facts are never deleted, only superseded.
Can Facthouse find facts by meaning as well as by words?
Only if you turn on an embedding model. Semantic search is off by default, so word search is used unless you enable it.
How do I install Facthouse?
In Claude Code run claude mcp add facthouse -- npx -y @facthouse/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Facthouse the official server?
Facthouse is a community project by gordonkjlee, not verified by a company domain.
Is Facthouse free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Facthouse safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Facthouse?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Facthouse work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
