Lore MCP logo

Lore MCP

by davidgut1982

Persistent MCP knowledge layer for searchable team memory, investigations, journals, documents, and indexed MCP tools.

Install Lore MCP

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": {
    "davidgut1982-lore-mcp": {
      "command": "uvx",
      "args": [
        "lore-knowledge-mcp"
      ]
    }
  }
}

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The davidgut1982/lore-mcp MCP server gives AI agents a persistent knowledge layer backed by SQLite, PostgreSQL, or Supabase. It exposes tools for managing attributed knowledge entries, investigations, journal records, document ingestion, local-file search, and MCP tool indexes. Search can use full-text, semantic, or hybrid retrieval, with semantic embeddings generated locally when enabled. Reach for it when agents need shared operational context across sessions or multiple contributors.

Use cases

  • Store and retrieve runbooks across agent sessions
  • Record hypotheses and results during incident investigations
  • Search operational knowledge by meaning or exact terms
  • Ingest Markdown documentation into a searchable knowledge base
  • Index configured MCP tools for discovery

Key features

  • Attributed knowledge-base entries with verification state
  • Full-text, semantic, and hybrid search
  • Investigation and experiment tracking
  • Journal and configuration snapshots
  • Markdown ingestion with directory change detection
  • MCP tool indexing and cross-source search

Tools33

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

Self-reported~488 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.

28/28 checks healthy over the last 114d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · lore-knowledge-mcp (PyPI)

Adoption & maintenance

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

GitHub stars5Stargazers on the source repository.
Last commit6mo agoMost recent push to the default branch.
Tools exposed33Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Lore MCP works

What davidgut1982/lore-mcp MCP server does

The davidgut1982/lore-mcp MCP server stores operational knowledge that agents can read and update across sessions. Its knowledge base supports entries with authorship, source type, tags, topics, and verification state, making it possible to distinguish human-reviewed information from agent-generated material.

The server also organizes longer-running work into investigations. An investigation can contain hypotheses, experiment results, and conclusions, giving agents a durable record of troubleshooting. A journal provides another stream for milestones, decisions, and reflections. These stores can be searched separately or together through multi_search.

Beyond memory management, the server can ingest Markdown documents, batch-process directories with change detection, search local files by content, and index the tools exposed by configured MCP servers.

How it works

Lore runs locally over MCP using stdio, or can expose an HTTP service with a configurable host and port. SQLite is available without separate database setup; the project also supports PostgreSQL and Supabase according to the project description.

kb_search supports full-text, semantic, and hybrid modes. Hybrid retrieval combines lexical and vector results through Reciprocal Rank Fusion. SQLite uses FTS5 for the lexical side, while PostgreSQL uses a GIN full-text index and pgvector for semantic retrieval. Semantic search is optional and uses local sentence-transformer embeddings rather than an external embedding API.

The server does not summarize search results itself. A calling agent or application remains responsible for interpreting and summarizing retrieved records.

Setup and configuration

Install the package with pip install lore-knowledge-mcp. Start lore-mcp for stdio use, or provide --host and --port for HTTP mode. LORE_API_KEY enables bearer-token authentication for HTTP and SSE requests; without it, HTTP authentication is disabled. Stdio is not affected by this setting.

Install the optional semantic extra with pip install lore-knowledge-mcp[semantic], then set LORE_SEMANTIC_SEARCH=true. LORE_SEARCH_MODE_DEFAULT controls the default search mode, while LORE_EMBEDDING_MODEL selects the embedding model and LORE_RRF_K tunes result fusion. Existing records can be processed with kb_backfill_embeddings, and kb_embedding_status reports embedding coverage.

Tools and capabilities

The davidgut1982/lore-mcp MCP server provides tools to:

  • Create, retrieve, list, update, delete, and batch-fetch knowledge entries.
  • Search the knowledge base with topic filters and selectable retrieval modes.
  • Record and inspect investigations, experiments, notes, and conclusions.
  • Append, list, retrieve, and delete journal entries.
  • Snapshot configuration objects into the journal.
  • Ingest individual Markdown files or directories and inspect synchronization status.
  • Search across knowledge, investigations, journals, and transcripts with multi_search.
  • Search local file contents.
  • Scan, search, inspect, and rebuild an index of configured MCP servers and their tools.

Deletion operations require explicit confirmation. Embedding backfill is idempotent, so it can be run again without changing already processed entries.

Limitations and notes

Semantic search is disabled by default and requires the optional dependency and configuration. The default embedding model is English-optimized; multilingual content requires selecting a multilingual model. Search mode can degrade when the requested capability is unavailable, and responses report both the requested and executed modes.

HTTP authentication is opt-in. Exposing the service beyond localhost without setting LORE_API_KEY leaves it unauthenticated and produces a startup warning. Health endpoints remain accessible when authentication is enabled. Destructive investigation, journal, and knowledge-base operations include confirmation or production-safety guards.

The davidgut1982/lore-mcp MCP server is designed as a storage and retrieval layer; it does not provide built-in LLM summarization.

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 Lore MCP

davidgut1982/lore-mcp is an MCP server that connects AI agents to persistent knowledge stores using SQLite, PostgreSQL, or Supabase. Its main tools manage knowledge entries, investigations, journals, document ingestion, local-file search, MCP tool indexes, and cross-source retrieval with optional semantic search.

Install it with `pip install lore-knowledge-mcp`. Run `lore-mcp` for stdio mode, or start it with `--host` and `--port` for HTTP mode. SQLite works without separate database setup.

Enable it by installing `lore-knowledge-mcp[semantic]` and setting `LORE_SEMANTIC_SEARCH=true`. You can select the default mode with `LORE_SEARCH_MODE_DEFAULT`, choose an embedding model with `LORE_EMBEDDING_MODEL`, and backfill existing entries with `kb_backfill_embeddings`.

Yes. Set `LORE_API_KEY` to require a bearer token for HTTP and SSE requests. Authentication is disabled when the variable is unset, while stdio mode has no network authentication surface.

Yes. Its MCP indexing tools scan configured MCP servers, search indexed tools by description, retrieve tools for a specific server, and rebuild the index.

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