lore-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | PostgreSQL host (required if DB_BACKEND=postgres) | |
| DB_NAME | No | PostgreSQL database name (required if DB_BACKEND=postgres) | |
| DB_PORT | No | PostgreSQL port (required if DB_BACKEND=postgres) | |
| DB_USER | No | PostgreSQL user (required if DB_BACKEND=postgres) | |
| DB_BACKEND | No | Database backend: sqlite or postgres. Default: sqlite | sqlite |
| LORE_RRF_K | No | RRF constant for hybrid search. Default: 10 | 10 |
| DB_PASSWORD | No | PostgreSQL password (required if DB_BACKEND=postgres) | |
| LORE_EMBEDDING_MODEL | No | Model for embeddings. Default: all-MiniLM-L6-v2 | all-MiniLM-L6-v2 |
| LORE_SEMANTIC_SEARCH | No | Master switch to enable semantic search (true/false). Default: false | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| kb_addC | Add a knowledge base entry |
| kb_searchA | Search knowledge base. Lexical FTS5 (or LIKE fallback) by default; set semantic=true / hybrid=true / search_mode=hybrid to use vector embeddings + RRF fusion (requires LORE_SEMANTIC_SEARCH=true). |
| kb_getA | Get full KB entry by ID |
| kb_listB | List KB entries |
| kb_updateB | Update existing KB entry content and metadata |
| kb_deleteB | Delete existing KB entry from database |
| investigation_addC | Add an investigation entry (open or append to an ops investigation) |
| investigation_listC | List investigations |
| investigation_getC | Get a single investigation entry by ID |
| investigation_log_experimentB | Log a structured experiment within an investigation (hypothesis, methodology, results, conclusion) |
| investigation_list_experimentsA | List logged investigation experiments |
| journal_appendD | Append journal entry |
| journal_listC | List journal entries |
| journal_getC | Get journal entry |
| snapshot_configC | Snapshot current config |
| kb_ingest_docB | Ingest single markdown file into KB with change detection |
| kb_ingest_dirC | Batch ingest directory of markdown files |
| kb_sync_statusB | Check sync state between source docs and KB |
| kb_backfill_embeddingsA | Embed any KB entries that are missing or stale (model/content changed). Idempotent: skips entries whose stored content_hash still matches. Requires LORE_SEMANTIC_SEARCH=true. |
| kb_embedding_statusA | Report embedding coverage: total entries, embedded count, missing count, current model, and per-model breakdown. |
| mcp_index_scanB | Scan all MCP servers and index their tools. By default, scans only configured servers (66% token savings). |
| mcp_index_searchC | Search for MCP tools by description/capability |
| mcp_index_get_serverA | Get all tools for a specific MCP server |
| mcp_index_get_toolB | Get detailed information about a specific tool |
| mcp_index_rebuildC | Force rebuild of entire MCP index (same as mcp_index_scan) |
| search_localC | Search local files by content (lexical mode) |
| search_corporaB | Search across corpus manifests (JSONL files) |
| search_transcriptsC | Search transcript segments from Whisper outputs |
| multi_searchA | Combined search across all sources (local, knowledge, corpora, transcripts) |
| deduplicate_resultsB | Remove duplicate search results based on text similarity |
| cluster_resultsB | Cluster search results by topic/source type |
| log_retrieval_feedbackA | Score or annotate a prior kb_search result by its query_id (retrieval telemetry, issue #5). Supply user_feedback_score, notes, or both; an omitted field is left unchanged (cannot be reset to null). No effect unless LORE_HARD_NEGATIVE_MINING=true on a PostgreSQL backend. |
| get_retrieval_telemetryA | Read retrieval telemetry rows (issue #5). Selector precedence: query_id > session_id > topic > recent. Returns newest-first. |
| get_telemetry_statsA | Aggregate retrieval telemetry stats (issue #5): totals, feedback coverage, requery count, average score, oldest/newest timestamps. Optionally scoped by session_id and/or topic. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidgut1982/lore-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server