What is LegalMemory?
LegalMemory is an open-source knowledge index for law firms. It connects to the firm's existing document management, mail, and file systems, structures what it finds into matters, versions, and relationships, and serves that context to authorized AI tools over MCP or an HTTP API. It runs in the firm's own infrastructure.
Does anything leave the firm?
No. LegalMemory runs in the firm's environment and reads source systems in place. Model calls resolve through a gateway the firm points at its own hosted or on-device models. No matter data trains a public model.
How is this different from putting documents in a vector database?
A vector index on its own returns passages that look similar. LegalMemory compiles the access scope and metadata filters first, then runs lexical, semantic, identifier, and graph retrieval inside that scope and merges the rankings. Results carry their matter, their version status, and a citation that opens the source.
What happens to superseded drafts?
They stay in the index, because version history is part of the file, but they are marked as superseded and left out of answers unless a question is explicitly about the earlier version.
Which tools can use it?
Any tool that speaks MCP or HTTP. LegalWork, Harvey, Legora, Microsoft Copilot, firm-built agents, and internal software all connect the same way, and each request is bound to the identity of the person asking.
What does a deployment involve?
A scoping conversation, connectors for the systems that matter, a decision on the ontology, and a benchmark run on the firm's own corpus. We would rather show the number on your files than quote ours.