LoreDocs logo

LoreDocs

Local-first MCP knowledge vaults with full-text search, tagging, document versioning, and context injection.

Install LoreDocs

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "loredocs": {
      "command": "uvx",
      "args": [
        "loredocs"
      ]
    }
  }
}

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

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

LoreDocs MCP server organizes project documentation in local knowledge vaults stored on disk and indexed with SQLite. Its tools create and manage vaults, add or import documents, search by keyword or semantic similarity, apply metadata, and track document history. Context-injection tools select and load relevant documents within token budgets, while tags support shared knowledge across vaults and agents. Reach for LoreDocs when project specs, playbooks, decisions, or reference material must persist across AI sessions without relying on cloud storage.

Use cases

  • Store project specifications and architecture decisions for reuse across sessions
  • Search shared playbooks and reference material by tag
  • Inject prioritized knowledge into an agent conversation within a token budget
  • Track and restore changes to evolving documentation
  • Organize separate domain and agent-report vaults during onboarding

Key features

  • Local SQLite-backed knowledge vaults
  • FTS5 keyword and optional Pro semantic search
  • Document tags, categories, priorities, and notes
  • Automatic version history with restore support
  • Token-budgeted context injection
  • Vault and document integrity verification

Tools49

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

Verified live~8.3k 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.

12/12 checks healthy over the last 49d

What it can do

From the 49 tools this server returned when we ran it; 44 declare their own safety hints.

Can delete or modify data · 6Handles credentials · 7Read-only tools · 43
Network at startup2 connections
Files written at startup13

Observed 2026-10-27 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 16d ago via OSV.dev · loredocs (PyPI)

Adoption & maintenance

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

GitHub stars4Stargazers on the source repository.
Last commit10d agoMost recent push to the default branch.
Tools exposed49Callable tools this server registers over MCP.

How LoreDocs works

What LoreDocs does

LoreDocs provides a local knowledge base for project documentation and specifications. Documents live inside named vaults, which can represent projects, work areas, teams, or shared agent knowledge. Each document can carry tags, a category, a priority, and an explanatory note. Vaults can also be associated with Claude Project names or workspace directories.

The system is designed for persistent context across sessions. Agents can store canonical documents once, then retrieve or inject them later instead of maintaining separate copies in agent-specific folders. The loredocs_onboard tool can create an initial configuration vault, domain vaults, and report vaults for named agents.

How it works

Vault metadata and search indexes are stored in a local SQLite database under ~/.loredocs/, while document files are kept beneath the local vault directory. Standard search uses SQLite FTS5 and supports phrases, Boolean operators, negation, and prefix queries. Documents can be added from inline text or file paths; binary-file imports are handled through directory import functionality.

Changes to document content create version-history entries automatically. Older versions can be inspected and restored, and integrity checks can report problems involving sidecars, missing versions, journals, history divergence, and storage limits. Documents can be copied or moved between vaults while retaining their metadata.

Setup and configuration

The package can be run with uvx loredocs, or installed from a cloned repository with uv sync. Claude Code can load the repository as a plugin using --plugin-dir or the /plugin add command. The repository also includes MCP configuration for local-directory plugin loading. Hermes Agent can register LoreDocs under its mcp_servers configuration.

Vault data remains local. LoreDocs does not collect or transmit telemetry. Pro semantic search may download the BAAI/bge-small-en-v1.5 embedding model from Hugging Face on first use. The optional Notion import uses a token supplied by the user. A background license-revocation-list request can be disabled with LORE_REVOCATION_REFRESH=0.

Tools and capabilities

  • Create, list, inspect, archive, delete, and workspace-scope vaults.
  • Add, update, retrieve, list, soft-delete, copy, and move documents.
  • Search full text with FTS5, or use Pro hybrid vector and BM25 search after rebuilding the semantic index.
  • Find documents by tag and apply tag changes to one document or a batch.
  • Set document categories and priorities, attach notes, inspect history, and restore earlier versions.
  • Inject documents by query, tag, or priority, with token caps, truncation controls, and strict or best-effort packing.
  • Generate vault summaries and run read-only or additive-repair integrity checks.

Limitations and notes

Free usage limits the number of vaults, documents per vault, storage, and retained versions; Pro removes those limits and enables semantic search. Existing documents require vault_rebuild_index before they become available to the Pro semantic index, although new documents are synchronized automatically afterward. Semantic search falls back to FTS5 when its index is unavailable.

Permanent vault deletion removes all documents and cannot be undone, while archiving is reversible. Removing an individual document is a soft delete. Token injection uses an effective cap derived from the requested budget and safety factor, so it may load only part of a vault in best-effort mode. Tags are case-sensitive, and tag searches across vaults depend on consistent tag spelling.

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 LoreDocs

LoreDocs is an MCP server that connects AI clients to local SQLite-backed knowledge vaults for project documents and specifications. Its main tools create and manage vaults, add and search documents, apply tags and metadata, track versions, verify storage, and inject selected knowledge into the current conversation.

Install it with `uvx loredocs`, or clone the repository and run `uv sync`. Claude Code can load the repository with `--plugin-dir` or `/plugin add`; other MCP clients can use its local server configuration.

Yes, LoreDocs works with Cursor. It exposes its MCP tools to Cursor sessions, including vault management, document search, versioning, tagging, and context injection.

LoreDocs stores vault data locally under `~/.loredocs/`, using SQLite for metadata and indexes and local files for document contents. Its stated design does not send vault data to cloud services or external servers.

Install the Pro dependencies with `pip install loredocs[pro]`, then run `vault_rebuild_index` to index existing documents. Semantic search uses hybrid vector and BM25 retrieval; without the index, searches fall back to SQLite FTS5.

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 PreviewLoreDocs AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/loredocs?style=directory)](https://allmcps.com/mcp/loredocs)
HTML Embed
<a href="https://allmcps.com/mcp/loredocs"><img src="https://allmcps.com/api/badge/loredocs?style=directory" alt="LoreDocs on AllMCPs" /></a>