Skip to content
Agentmart
Submit a tool

LoreDocs

Local-first knowledge vaults for project docs and specs.

Connector by labyrinth-analytics · GitHub account verified by the MCP Registry

IndexedBUSL-1.1Local (stdio)★ 4
Write a review

Chalk Labs

Need help deploying LoreDocs?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/labyrinth-analytics-loredocs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Local-first knowledge vaults for project docs and specs. Tagged, versioned, full-text searchable.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
24 read · 22 write · 5 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Python package

Tools by what they do 51

Read from the source code; the running server may list different tools.

Read 24 · Look things up without changing anything.

  • get_license_tier
  • get_server_info
  • vault_doc_history
  • vault_estimate_tokens
  • vault_export_manifest
  • vault_find_related
  • vault_get_doc
  • vault_get_injection_cap
  • vault_get_linked_sessions
  • vault_get_server_capabilities
  • vault_get_session_links
  • vault_import_notion_setup
Show 12 more tools
  • vault_info
  • vault_inject
  • vault_inject_by_tag
  • vault_inject_summary
  • vault_list
  • vault_list_docs
  • vault_prime
  • vault_search
  • vault_search_by_tag
  • vault_suggest
  • vault_tier_status
  • vault_verify

Write 22 · Create, change, send or run things.

  • loredocs_onboard
  • vault_add_doc
  • vault_add_note
  • vault_bulk_tag
  • vault_categorize
  • vault_copy_doc
  • vault_create
  • vault_doc_restore
  • vault_export
  • vault_get_session_token
  • vault_import_dir
  • vault_import_notion
Show 10 more tools
  • vault_link_doc
  • vault_link_project
  • vault_link_session
  • vault_move_doc
  • vault_open_workspace
  • vault_rebuild_index
  • vault_set_injection_cap
  • vault_set_priority
  • vault_set_tier
  • vault_update_doc

Delete 5 · Delete, drop, revoke or wipe things.

  • vault_archive
  • vault_delete
  • vault_remove_doc
  • vault_tag_doc
  • vault_unlink_doc

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • LOREDOCS_PRO

Network hosts it talks to 4

  • agent-plugins.org · found in code
  • github.com · found in code
  • glama.ai · found in code
  • labyrinthanalyticsconsulting.com · found in code

Files it touches

  • /Users/debbieshapiro/Dropbox/loredocs
  • /Users/me/projects/myapp
  • Your home directory (~)
  • ~/.loredocs/loredocs.db
  • ~/.loredocs/notion_checkpoint.json
  • Any path the agent passes to its tools

Tools (51)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • get_license_tierGet License Tier

    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)

  • get_server_infoGet Server Info

    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).

  • loredocs_onboardOnboard LoreDocs

    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…

  • vault_add_docAdd Document

    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.

  • vault_add_noteAdd Document Note

    Attach a contextual note to a document. Notes help you and your AI assistant understand when/how to use this document.

  • vault_archiveArchive Vault

    Archive a vault (soft delete). Archived vaults are hidden from vault_list by default but can be restored.

  • vault_bulk_tagBulk Tag Documents

    Apply tag changes to multiple documents at once. Useful for organizing a batch of documents after import or reclassification.

  • vault_categorizeCategorize Document

    Set a document's category (general, reference, config, report, template, archive, imported).

  • vault_copy_docCopy Document

    Copy a document from one vault to another, including all metadata.

  • vault_createCreate Vault

    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.

  • vault_deleteDelete Vaultcan change or delete data

    Permanently delete a vault and ALL its documents. This cannot be undone. You must set confirm=true to proceed. Consider using vault_archive instead.

  • vault_doc_historyView Document Historyread-only

    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.

  • vault_doc_restoreRestore Document Version

    Restore a document to a previous version. The current version is saved to history first, then the specified version becomes the new current version.

  • vault_estimate_tokensEstimate Injection Tokensread-only

    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.

  • vault_exportExport Vault

    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.

Show 36 more tools
  • vault_export_manifestExport Vault Manifestread-only

    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.

  • vault_find_relatedFind Related Documentsread-only

    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.

  • vault_get_docGet Documentread-only

    Retrieve a document's metadata and optionally its text content. Use include_content=false to get just the metadata without loading the full text.

  • vault_get_injection_capGet Injection Capread-only

    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).

  • vault_get_linked_sessionsGet Linked Sessions

    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.

  • vault_get_server_capabilitiesGet Server Capabilitiesread-only

    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.

  • vault_get_session_linksGet Session Links for Doc

    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…

  • vault_get_session_tokenGet Session Token

    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.

  • vault_import_dirImport Directory

    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.

  • vault_import_notionImport from Notion

    Import Notion pages and databases into a LoreDocs vault. Uses the import-once-and-own model: pages are fetched once and stored as LoreDocs documents. No live sync dependency. Token is read from the NOTION_TOKEN environment variable or OS keychain -- it is NEVER passed as a parameter, so it never appears in MCP tool-call logs. vault accepts a vault ID (stable across renames, preferred for automation) or a vault name (case-insensitive, for interactive use). page_ids and database_ids accept Notion UUIDs (32 hex chars without dashes or 36 chars with dashes). Both null/omitted = rejected (at le…

  • vault_import_notion_setupNotion Import Setupread-only

    Report Notion import readiness and how to enable it. Read-only. Does not install or modify any packages.

  • vault_infoGet Vault Inforead-only

    Get detailed information about a vault, including its full document manifest. Accepts either a vault ID or vault name.

  • vault_injectInject Vault Documentsread-only

    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 …

  • vault_inject_by_tagInject Documents by Tagread-only

    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_to…

  • vault_inject_summaryInject Vault Summaryread-only

    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.

  • vault_link_docLink Documents

    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.

  • vault_link_projectLink Project to Vault

    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.

  • vault_link_sessionLink Session to Doc

    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)

  • vault_listList Vaultsread-only

    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.

  • vault_list_docsList Documentsread-only

    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.

  • vault_move_docMove Document

    Move a document to a different vault. Removes it from the source vault.

  • vault_open_workspaceOpen Workspace Vault

    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.

  • vault_primePrime Vault Contextread-only

    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: …

  • vault_rebuild_indexRebuild Semantic Index

    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.

  • vault_remove_docRemove Document

    Soft-delete a document. The document is hidden but can be recovered. For permanent deletion, use vault_delete to remove the entire vault.

  • vault_searchSearch Vaultread-only

    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).

  • vault_search_by_tagSearch by Tagread-only

    Find all documents with a specific tag, across one vault or all vaults.

  • vault_set_injection_capSet Vault Injection Cap

    Set the per-vault injection token cap (admin-only). Requires LOREDOCS_ENABLE_CAP_TOOLS=1 and a valid LOREDOCS_ADMIN_TOKEN. Once set, all vault_inject / vault_prime / vault_inject_by_tag calls for this vault use this cap unless the caller overrides with max_tokens. Args: vault_name: Vault name or ID. max_tokens: Token cap to store (must be >= 100). admin_token: Value of LOREDOCS_ADMIN_TOKEN (never logged or echoed).

  • vault_set_prioritySet Document Priority

    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.

  • vault_set_tierSet License Tier

    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).

  • vault_suggestGet Document Suggestionsread-only

    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.

  • vault_tag_docTag Document

    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.

  • vault_tier_statusGet Tier Statusread-only

    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.

  • vault_unlink_docUnlink Documentscan change or delete data

    Remove a link between two documents (both directions). If no link exists between the two documents, reports that cleanly.

  • vault_update_docUpdate Document

    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.

  • vault_verifyVerify Vault Integrityread-only

    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, perfo…

Signals

Stars
4
Forks
0
Open issues
0
Weekly downloads
200
Last commit
Oct 23, 2026 (7 days ago)
Last release
Sep 25, 2026 (1 month ago)
Last package publish
Oct 17, 2026 (14 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.labyrinth-analytics/loredocs
Version
0.1.28
Auth
API key
Packages
pypi loredocs
License
BUSL-1.1
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from labyrinth-analytics

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get LoreDocs running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying LoreDocs?

CallGet help
Cite this page

LoreDocs MCP server. Agent Mart. https://agentmart.dev/connectors/labyrinth-analytics-loredocs (last updated 2026-10-24)