LoreDocs
PYPI · LOREDOCS
Local-first knowledge vaults for project docs and specs. Tagged, versioned, full-text searchable.
Available components
Last scanned (1 hour ago)
Scores higher than 61% of PyPI servers
Category Memory and Knowledge
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security32
- Malware scan not yet available for this package.Unverified
- CVE check failed: a known high-severity CVE affects mcp 1.28.1, a direct dependency. A fixed version is available. View diagnostics → Fail
- Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- Dependency health was assessed across the 96 of 98 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency32
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- License check failed: the license (BUSL-1.1) isn't a recognized OSI-approved license. See how to fix → Fail
- Actively maintained (last published 1 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability65
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 4807 tokens (~98/item across 49 items; 49 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management73
- Stability observed for 22 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (88% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 3 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 50 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 17 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 70 to 73. That category is still filling its 30-day observation window: 21 days of observed history at the previous scan, 22 at this one. The score rises as the window fills, whether or not the server changes.
- 16 Oct 26 −5
- CVE-2026-59951 affects this package: high ▼ security
- Known CVEs: partial → fail ▼ security
- 15 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.
- 13 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 57 to 60. That category is still filling its 30-day observation window: 17 days of observed history at the previous scan, 18 at this one. The score rises as the window fills, whether or not the server changes.
- 12 Oct 26 −8
- Malware scan: pass → unverified ▼ security
- 6 Oct 26 −4
No change was recorded against any check on this day. Supply Chain Security went from 99 to 83. Other categories moved too: Stability & Change Management rose 7.
- 4 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Oct 26 +4
- Stability: unverified → 0.23 ▲ functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 17 Oct 2026 · Analysed pypi/loredocs@0.1.28
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | pypi |
| Reason | No attestation published |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | setuptools.build_meta |
Background: Why install scripts are a supply-chain risk →
Vulnerabilities 1 finding
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-84m7-p3x7-pcfv | CVE-2026-59951 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 96 packages
| Packages resolved | 96 |
|---|---|
| Stale | 13 |
| No linked repository | 2 |
| Tree resolution | Partial |
The dependency tree was only partially resolved, so these counts may be incomplete.
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
get_license_tier Get License Tier ~144
Return the current LoreDocs license tier and status. Use this to confirm whether the Pro license key is loaded and valid. Returns a dict with keys: is_pro -- bool, True if Pro tier is active mode -- "licensed" | "dev_bypass" | "free" | "invalid_key" product -- product name from the license payload (if licensed) exp -- expiry date or "never" (if licensed) email -- customer email (if licensed and present) error -- error message (if mode is "invalid_key") upgrade_url -- Stripe checkout link (present when not already Pro)
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_server_info Get Server Info ~118
Return MCP compatibility status for this LoreDocs server. Returns product version, installed mcp SDK version, tested version, and compatibility status. Useful for diagnosing version mismatches on running servers without requiring a restart. Returns dict with: product_name, product_version, install_kind (wheel|editable), version_from_source (if editable), mcp_installed, mcp_tested, mcp_accepted, status (ok|mismatch|undetermined|disabled|internal_error), note, error_detail (set only on internal_error).
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
loredocs_onboard Onboard LoreDocs ~227
Set up or update your LoreDocs workspace configuration. Call once after installing LoreDocs to get a recommended vault structure. Call again to add new domains or agents -- existing data is never modified. Creates: - A Config vault with a 'My LoreDocs Setup' reference doc (tagged authoritative) - One vault per domain in domains - One '[Name] Reports' vault per agent in agents - The reference doc is queryable: vault_search('my setup') Args: name: Workspace or team name domains: Work areas, each becomes a vault (e.g. ['finance', 'research']) agents: Agent names, each gets a '[Name] Reports' vault tag_style: 'simple' (default) or 'detailed' Vault tags: freeform strings on documents for cross-vault retrieval. Categories: reference, report, template, config, archive, general. Priority: authoritative, normal, draft, outdated.
| Name | Type | Req | Description |
|---|---|---|---|
| agents | – | – | – |
| domains | – | – | – |
| name | – | – | – |
| tag_style | string | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_add_doc Add Document ~132
Add a text document to a vault with metadata (tags, category, priority, notes). The document will be full-text indexed for search and stored with version tracking. Content can be provided inline (content parameter) or from a file path (path parameter). For binary files (PDF, DOCX, etc.), use vault_import_dir to import from a directory.
| Name | Type | Req | Description |
|---|---|---|---|
| category | – | – | – |
| content | – | – | – |
| filename | – | – | – |
| name | string | yes | – |
| notes | string | – | – |
| path | – | – | – |
| priority | – | – | – |
| tags | – | – | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_add_note Add Document Note ~47
Attach a contextual note to a document. Notes help you and your AI assistant understand when/how to use this document.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| notes | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_archive Archive Vault ~37
Archive a vault (soft delete). Archived vaults are hidden from vault_list by default but can be restored.
| Name | Type | Req | Description |
|---|---|---|---|
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_bulk_tag Bulk Tag Documents ~51
Apply tag changes to multiple documents at once. Useful for organizing a batch of documents after import or reclassification.
| Name | Type | Req | Description |
|---|---|---|---|
| add_tags | – | – | – |
| doc_ids | array | yes | – |
| remove_tags | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_categorize Categorize Document ~43
Set a document's category (general, reference, config, report, template, archive, imported).
| Name | Type | Req | Description |
|---|---|---|---|
| category | – | yes | – |
| doc_id | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_copy_doc Copy Document ~39
Copy a document from one vault to another, including all metadata.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| target_vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_create Create Vault ~107
Create a new knowledge vault for organizing project documents. A vault is a container for related documents -- like a project folder with superpowers (search, tags, versioning). You can link a vault to one or more Claude Projects, but vaults are independent and can serve multiple projects. Returns the new vault's ID and metadata.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | – | – |
| linked_projects | – | – | – |
| name | string | yes | – |
| response_format | – | – | – |
| tags | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_delete Delete Vault ~51
Permanently delete a vault and ALL its documents. This cannot be undone. You must set confirm=true to proceed. Consider using vault_archive instead.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | – | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_doc_history View Document History ~54
View the version history for a document. Every time a document's content is updated, the previous version is saved automatically. Use vault_doc_restore to revert to an earlier version.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_doc_restore Restore Document Version ~53
Restore a document to a previous version. The current version is saved to history first, then the specified version becomes the new current version.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| version | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_estimate_tokens Estimate Injection Tokens ~88
Preview the token count of a vault injection without injecting documents. Returns estimated token counts for each document (up to 500) so you can choose an appropriate max_tokens value before calling vault_inject. Uses tiktoken if available; falls back to char-based estimation.
| Name | Type | Req | Description |
|---|---|---|---|
| max_single_doc_tokens | – | – | – |
| query | string | – | – |
| vault_name | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_export Export Vault ~56
Export all documents from a vault to a local directory. Copies the original files (not extracted text) to the specified directory. Useful for backing up or sharing vault contents.
| Name | Type | Req | Description |
|---|---|---|---|
| directory | string | yes | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_export_manifest Export Vault Manifest ~71
Export a complete manifest of a vault's contents. Returns vault metadata, document list with tags and categories, tag frequency index, category counts, and link count. Use the json format for machine-readable output. Use the markdown format for human-readable summaries.
| Name | Type | Req | Description |
|---|---|---|---|
| format | – | – | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_find_related Find Related Documents ~54
Find all documents linked to a given document. Pro only. Returns each related document with its vault, category, tags, and link label. Use vault_link_doc to create new links.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_get_doc Get Document ~57
Retrieve a document's metadata and optionally its text content. Use include_content=false to get just the metadata without loading the full text.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| include_content | boolean | – | – |
| response_format | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_get_injection_cap Get Injection Cap ~77
Return the stored per-vault injection token cap (or 'not set' if none). If not set, the server falls back to LOREDOCS_INJECTION_CAP_TOKENS env var, then LOREDOCS_INJECTION_DEFAULT_CAP_TOKENS (default 100000).
| Name | Type | Req | Description |
|---|---|---|---|
| vault_name | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_get_linked_sessions Get Linked Sessions ~107
Return LoreDocs documents linked to a given LoreConvo session. Queries the LoreDocs cross_product_links table for links where the session is the source or target. Returns both auto and manual links. Requires Pro tier for auto-links. Args: session_id -- LoreConvo session UUID limit -- max results (default 5) Returns same structure as vault_get_session_links.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
vault_get_server_capabilities Get Server Capabilities ~39
Return a summary of this LoreDocs server's injection capabilities and token estimation settings. Useful for diagnosing injection behavior or verifying which features are active.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_get_session_links Get Session Links for Doc ~152
Return cross-product LoreConvo sessions linked to a LoreDocs document. Both LoreConvo and LoreDocs must be installed. Requires Pro tier for auto-links. Manual links are always returned. Args: doc_id -- LoreDocs document ID limit -- max results (default 5) Returns dict with: schema_version -- CROSS_LINK_SCHEMA_VERSION for version negotiation cross_product_available -- bool tier_gate -- "satisfied" | "pro_required" links -- list of {target_product, target_id, similarity_score, link_type, created_at, is_stale}
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| limit | integer | – | – |
No output schema declared.
No examples provided.
vault_get_session_token Get Session Token ~67
Generate a fresh session token (UUID4) for use with vault_inject / vault_prime. Pass the returned token as session_token in subsequent injection calls so the per-session cache can scope cached results to this conversation. Cache hits are valid until any document in the vault is updated.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_import_dir Import Directory ~154
Bulk import all supported files from a directory into a vault. Imports text files, PDFs, Word docs, Excel files, PowerPoints, and more. Each file becomes a separate document with text extracted for search indexing. Files over 30MB are skipped. Hidden files (starting with .) are skipped. Supports Obsidian vaults: subdirectories are traversed recursively by default (set recursive=False for single-level import). Markdown files with YAML frontmatter tags (tags: [a, b] or block-list style) have those tags merged into the document.
| Name | Type | Req | Description |
|---|---|---|---|
| category | – | – | – |
| directory | string | yes | – |
| recursive | boolean | – | – |
| tags | – | – | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_import_notion_setup Notion Import Setup ~34
Report Notion import readiness and how to enable it. Read-only. Does not install or modify any packages.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
vault_info Get Vault Info ~44
Get detailed information about a vault, including its full document manifest. Accepts either a vault ID or vault name.
| Name | Type | Req | Description |
|---|---|---|---|
| response_format | – | – | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_inject Inject Vault Documents ~239
Load ranked vault documents into conversation context with token-budget enforcement. Documents are ranked by FTS5 relevance (when query is provided) and priority weight, then packed greedily until the effective token cap is reached. Args: vault_name: Vault name or ID. query: Optional FTS5 search query to rank documents by relevance. max_tokens: Hard token budget. Overrides vault DB cap. Effective cap = max_tokens * safety_factor. cap_behavior: 'best_effort' (inject as many docs as fit) or 'strict' (error if any doc exceeds cap). session_token: Optional opaque string used as per-session cache key. max_single_doc_tokens: Truncate individual documents to this many tokens. 0 = no per-doc limit. safety_factor: Fraction of max_tokens to use as effective cap (default 0.60 = 60%).
| Name | Type | Req | Description |
|---|---|---|---|
| cap_behavior | string | – | – |
| max_single_doc_tokens | – | – | – |
| max_tokens | – | – | – |
| query | string | – | – |
| safety_factor | number | – | – |
| session_token | – | – | – |
| vault_name | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_inject_by_tag Inject Documents by Tag ~225
Load all documents matching any of the given tags into the current conversation context. Documents matching any of the provided tags are fetched, ranked by priority weight and recency, then packed greedily within the token cap. Args: vault_name: Vault name or ID. tags: List of tags to match (OR semantics: any matching tag includes the doc). max_tokens: Hard token budget. Effective cap = max_tokens * safety_factor. cap_behavior: 'best_effort' (inject as many docs as fit) or 'strict'. session_token: Optional opaque string used as per-session cache key. max_single_doc_tokens: Truncate individual documents to this many tokens. safety_factor: Fraction of max_tokens to use as effective cap (default 0.60 = 60%).
| Name | Type | Req | Description |
|---|---|---|---|
| cap_behavior | string | – | – |
| max_single_doc_tokens | – | – | – |
| max_tokens | – | – | – |
| safety_factor | number | – | – |
| session_token | – | – | – |
| tags | array | yes | – |
| vault_name | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_inject_summary Inject Vault Summary ~58
Generate a summary overview of a vault's contents for conversation orientation. Lists all documents with their categories, tags, priorities, and notes. Useful at the start of a conversation to understand what knowledge is available.
| Name | Type | Req | Description |
|---|---|---|---|
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_link_doc Link Documents ~91
Create a link between two documents across any vault. Links are bidirectional and labelled (e.g. 'related', 'references', 'supersedes', 'part-of'). If the link already exists, reports it. Use vault_find_related to discover all docs linked to a given document.
| Name | Type | Req | Description |
|---|---|---|---|
| label | string | – | – |
| source_doc | string | yes | – |
| target_doc | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_link_project Link Project to Vault ~61
Associate a Claude Project name with a vault. This is metadata for your organization -- it records which Claude Projects use knowledge from this vault. A vault can be linked to multiple projects.
| Name | Type | Req | Description |
|---|---|---|---|
| project_name | string | yes | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_link_session Link Session to Doc ~151
Create a manual cross-product link from a LoreConvo session to a LoreDocs doc. Both LoreConvo and LoreDocs must be installed. Manual links are accessible on all tiers. The linked doc must not be in an opt-out vault. Args: session_id -- LoreConvo session UUID doc_id -- LoreDocs document ID vault_id -- LoreDocs vault containing the document Returns dict with: ok -- bool session_id, doc_id on success reason -- failure description (generic; details in debug log)
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| session_id | string | yes | – |
| vault_id | string | yes | – |
No output schema declared.
No examples provided.
vault_list List Vaults ~56
List all knowledge vaults with summary stats (document count, total size, last modified). Use this to see what vaults exist and find the one you need.
| Name | Type | Req | Description |
|---|---|---|---|
| include_archived | boolean | – | – |
| response_format | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_list_docs List Documents ~90
List documents in a vault with sorting and filtering options. Supports sorting by name, date, size, or category. Filter by category or tag to narrow results.
| Name | Type | Req | Description |
|---|---|---|---|
| category | – | – | – |
| limit | integer | – | – |
| offset | integer | – | – |
| response_format | – | – | – |
| sort_by | – | – | – |
| sort_order | – | – | – |
| tag | – | – | – |
| vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_move_doc Move Document ~41
Move a document to a different vault. Removes it from the source vault.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| target_vault | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_open_workspace Open Workspace Vault ~109
Open (or create) a vault scoped to a workspace directory. If a vault is already linked to this directory path, returns it. Otherwise, creates a new vault named after the directory and records the workspace_path so future calls return the same vault. This mirrors how MemClaw scopes memory to workspaces -- lower friction than naming vaults manually. Named vaults remain available for users who prefer explicit management.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | – | – |
| workspace_path | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_prime Prime Vault Context ~215
Pre-load all vault documents into the current session by priority order. Equivalent to vault_inject with no query: loads all documents ordered by priority weight (authoritative first), then by recency. Use at session start to orient yourself on all knowledge available in a vault. Args: vault_name: Vault name or ID. max_tokens: Hard token budget. Effective cap = max_tokens * safety_factor. cap_behavior: 'best_effort' (inject as many docs as fit) or 'strict' (error if cap exceeded). session_token: Optional opaque string used as per-session cache key. max_single_doc_tokens: Truncate individual documents to this many tokens. safety_factor: Fraction of max_tokens to use as effective cap (default 0.60 = 60%).
| Name | Type | Req | Description |
|---|---|---|---|
| cap_behavior | string | – | – |
| max_single_doc_tokens | – | – | – |
| max_tokens | – | – | – |
| safety_factor | number | – | – |
| session_token | – | – | – |
| vault_name | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_rebuild_index Rebuild Semantic Index ~88
Rebuild the LanceDB semantic search index from all stored documents. Pro only. Run this after first installing the Pro deps (pip install loredocs[pro]) or after restoring from backup. The index is kept in sync automatically for new documents added after install, but existing documents require a one-time rebuild to become searchable semantically.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_remove_doc Remove Document ~44
Soft-delete a document. The document is hidden but can be recovered. For permanent deletion, use vault_delete to remove the entire vault.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_search Search Vault ~180
Full-text or semantic search across document contents. Default (semantic=False): SQLite FTS5 keyword search. Supports FTS5 syntax: - Simple words: depreciation schedule - Phrases: "rental income" - Boolean: depreciation AND schedule - Negation: rental NOT commercial - Prefix: deprec* Semantic (semantic=True, Pro only): hybrid vector + BM25 search via LanceDB. Finds documents by meaning even when exact keywords differ. Requires LoreDocs Pro and `pip install loredocs[pro]`. Falls back to FTS5 if the semantic index has not been built yet (run vault_rebuild_index first).
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
| offset | integer | – | – |
| query | string | yes | – |
| response_format | – | – | – |
| semantic | boolean | – | – |
| vault | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_search_by_tag Search by Tag ~44
Find all documents with a specific tag, across one vault or all vaults.
| Name | Type | Req | Description |
|---|---|---|---|
| response_format | – | – | – |
| tag | string | yes | – |
| vault | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_set_priority Set Document Priority ~63
Mark a document's priority/status: authoritative, normal, draft, or outdated. 'authoritative' means this document is the source of truth. 'outdated' flags the document as no longer current.
| Name | Type | Req | Description |
|---|---|---|---|
| doc_id | string | yes | – |
| priority | – | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_set_tier Set License Tier ~116
Activate a tier (free or pro) for LoreDocs. Pro tier removes all vault, document, storage, and version limits. After purchasing a Pro license, set LOREDOCS_PRO=<your-license-key> in your environment and restart the server, then call this tool with tier='pro' to persist the Pro tier. Reverting to tier='free' re-enables limits (but does not delete any existing data that exceeds the limits -- it only blocks new writes).
| Name | Type | Req | Description |
|---|---|---|---|
| tier | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_suggest Get Document Suggestions ~83
Get suggestions for documents that may need attention. Surfaces documents that are undocumented (no notes), unorganized (no tags), or isolated (no links to other documents). Use to guide housekeeping work or to discover documents that haven't been connected to the broader graph. Optionally scope to a single vault.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
| vault | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_tag_doc Tag Document ~61
Add or remove tags on a document. You can add and remove tags in a single operation. Tags are case-sensitive strings. Duplicates are automatically removed.
| Name | Type | Req | Description |
|---|---|---|---|
| add_tags | – | – | – |
| doc_id | string | yes | – |
| remove_tags | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_tier_status Get Tier Status ~74
Show current tier (Free or Pro) and usage vs. limits. Displays how many vaults and how much storage are in use, with percentages against Free tier limits. Useful before hitting a limit to know how close you are, or to confirm Pro tier is active after upgrading.
| Name | Type | Req | Description |
|---|---|---|---|
| response_format | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_unlink_doc Unlink Documents ~50
Remove a link between two documents (both directions). If no link exists between the two documents, reports that cleanly.
| Name | Type | Req | Description |
|---|---|---|---|
| source_doc | string | yes | – |
| target_doc | string | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_update_doc Update Document ~172
Update a document's content or metadata. If content changes, the previous version is saved automatically in the version history. You can restore old versions with vault_doc_restore. The author, session_id, and note params are stored in the version's metadata sidecar for provenance tracking. Unknown parameters are rejected at the MCP dispatch layer (see _forbid_unknown_tool_params below): FastMCP's generated arg model for this tool has extra="forbid", so a client-supplied unknown param never reaches this function body.
| Name | Type | Req | Description |
|---|---|---|---|
| author | – | – | – |
| category | – | – | – |
| content | – | – | – |
| doc_id | string | yes | – |
| name | – | – | – |
| note | – | – | – |
| notes | – | – | – |
| priority | – | – | – |
| session_id | – | – | – |
| tags | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
vault_verify Verify Vault Integrity ~250
Verify version-storage integrity for a vault or specific document. By default, runs a read-only check that reports: - Stale intent journals (crash recovery left incomplete) - Recovery orphan files - Missing, invalid, or too-new version sidecars - Missing versions (no content file and no rotation record) - Version count disagreement between DB and filesystem - History divergence (loss, jump, rollback, or holes) - Unrecognized files under history/ - Conflict files from hash-guarded replay - Per-vault history bytes vs the hard cap - Permissions advisory on the vault root With repair=True, performs additive-only repairs: - Replays stale intent journals - Moves invalid/too-new sidecars aside (renames, never deletes) - Realigns documents.version_count with the filesystem The confirm parameter gates divergence recovery operations. Each confirm value writes one marker file and removes nothing. With pre_upgrade=True, runs a read-only pre-upgrade scan that records .upgrade_scan.json. Safe to run before upgrading LoreDocs.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | – | – | – |
| doc_id | – | – | – |
| pre_upgrade | boolean | – | – |
| repair | boolean | – | – |
| vault | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
How do I install the LoreDocs MCP server?
LoreDocs runs locally as a PyPI package, launched with uvx loredocs. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · loredocs
claude mcp add labyrinth-analytics-loredocs -- uvx loredocs
What is the LoreDocs MCP server?
LoreDocs is an MCP server listed in the public MCP registry as io.github.labyrinth-analytics/loredocs. Local-first knowledge vaults for project docs and specs. Tagged, versioned, full-text searchable. This page covers its PyPI package (loredocs).
Is the LoreDocs MCP server safe to use?
LoreDocs scores 54 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 17 October 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the LoreDocs MCP server expose?
LoreDocs exposes 49 tools: vault_create, vault_list, vault_info, vault_archive, vault_delete, and 44 more. Their descriptions and schemas cost roughly 4,664 tokens of context every time the server is loaded.
Is the LoreDocs MCP server still maintained?
LoreDocs is still listed as active in the MCP registry. We last reached this channel on 17 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the LoreDocs MCP server under?
LoreDocs declares the BUSL-1.1 licence, which is not on the OSI-approved list. Read the terms before using it at work, and note this covers the source only, not the cost of any service it calls.