lore-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lore-mcpsearch docs for 'machine learning setup'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lore-mcp
LORE — Local Offline Retrieval Engine for MCP
An MCP server for semantic search over your local technical documents. No cloud, no external database — just a single .db file on your workstation.
What it does
Indexes a directory of Markdown/text files into a portable SQLite database using vector embeddings
Exposes two MCP tools (
search_docs,list_sources) for any MCP client (Claude Code, Claude Desktop, Cursor, etc.)Runs locally with automatic GPU/API/CPU fallback for embedding generation
Related MCP server: docs-mcp
Status
Early development. See the backlog for planned features.
Quickstart
Prerequisites
Python ≥ 3.10
(Optional) NVIDIA GPU with CUDA for faster embeddings
Installation
pip install lore-mcpNote: not yet published on PyPI. For now, install from source:
git clone https://github.com/rchanter/lore-mcp.git cd lore-mcp pip install -e .
Configure your MCP client
Add to your MCP client configuration (e.g. .claude/settings.json):
{
"mcpServers": {
"lore": {
"command": "lore-mcp",
"args": []
}
}
}Index your documents
lore-mcp index /path/to/your/docs/Search
Once configured, your MCP client can use:
search_docs("your query", top_k=5)— semantic search over indexed documentslist_sources()— list all indexed files with chunk counts
Environment variables
Variable | Role | Default |
| SQLite database file path |
|
| Embedding model name |
|
| Mode: |
|
| Remote | (required if mode=api) |
| Model name for remote API | same as |
Architecture
lore-mcp uses BAAI/bge-m3 for embeddings (1024 dimensions, multilingual) and sqlite-vec for vector storage in a single .db file.
Embedding generation falls back automatically: local GPU (CUDA) → remote API (OpenAI-compatible) → local CPU.
See docs/ for detailed documentation (coming with MVP).
Roadmap
MVP (v0.1.0)
SQLite + sqlite-vec storage backend
Embedding with GPU/API/CPU fallback
MCP server (
search_docs,list_sources)CLI ingestion tool
Tests (TDD)
Post-MVP
Example corpus and sample database
Incremental re-indexing
Metadata filtering
Hybrid search (vector + keyword)
Image captioning during ingestion
Docker image
AI-assisted development
This project is developed with AI assistance (Claude, Anthropic). All AI-assisted content is marked with Co-Authored-By trailers in commits. Every contribution — human or AI-assisted — is reviewed, tested, and validated by a human before being committed.
See docs/ai-guidelines.md for the full guidelines.
License
GPL-3.0-or-later — see docs/adr/001-license-gpl-v3.md for the rationale.
Copyright (C) 2026 Romain Chantereau
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables semantic search and retrieval from your local markdown brain (Remember.md) via MCP tools, running entirely offline with local embeddings.Last updated301MIT
- Flicense-qualityBmaintenanceIndexes documentation sites by base URL and serves keyword search, optional semantic search, and Markdown page retrieval as MCP tools, all from a single SQLite file.Last updated
- AlicenseAqualityBmaintenanceLocal-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.Last updated325MIT
- Alicense-qualityDmaintenanceLocal MCP server for indexing personal knowledge into SQLite with hybrid search, chunk-level citations, memory tools, and agent orchestration.Last updated4MIT
Related MCP Connectors
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/romainsc/lore-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server