LORE

Data and AIMemory and knowledge

Ask questions about the books you own: an AI reader that turns e-books into a knowledge graph and answers with every sentence cited, without spoilers past your chapter. GraphRAG + MCP.

Your AI app calls the LORE MCP server, which does the data and AI and memory and knowledge work and sends the result back to the chat.

About LORE

LORE is a community MCP server from Jatin-Roopchandani, filed in our directory under data and ai and memory and knowledge. Ask questions about the books you own: an AI reader that turns e-books into a knowledge graph and answers with every sentence cited, without spoilers past your chapter. GraphRAG + MCP.

LORE runs as a remote server at https://lore.jrvn.site/mcp, so there is nothing to install: your AI app connects over streamable HTTP, and most remote servers ask you to sign in with OAuth the first time.

At a glance

Publisher
Jatin-Roopchandani (community)
Runs
As a hosted remote server
Written in
Python
License
MIT
GitHub stars
278

How to set up LORE

  1. Nothing to install: LORE is a remote server, so all you need is an AI app that accepts a remote MCP URL.
  2. Check the LORE README for keys or settings; the registry lists none that LORE requires.
  3. Add LORE to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the LORE tools to confirm the connection.
  5. Run one read-only task with LORE first, and keep your app asking before each tool call until the results look right.

LORE compared with similar servers

  • Sift by codespar has fewer GitHub stars than LORE (278 against 278); both are community servers, and Sift runs on your own machine and LORE runs as a remote server.
  • Legiti by codespar has fewer GitHub stars than LORE (278 against 278); both are community servers, and Legiti runs on your own machine and LORE runs as a remote server.
  • Jinni by smat-dev has fewer GitHub stars than LORE (271 against 278); both are community servers, and Jinni runs on your own machine and LORE runs as a remote server.

Before you connect LORE

  • Give LORE its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each LORE tool call until you trust what it does with them.
  • Treat text that LORE fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for LORE on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for LORE

How marketing and sales teams put LORE to work, by company size. Pick the size closest to yours and start LORE on one use case.

Small business

  • A small team can use LORE to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask LORE to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • A small business can give LORE its offers, FAQs and tone of voice once, so every draft starts from the same facts.
  • LORE runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Marketing ops can connect LORE to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use LORE to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Marketing teams can connect LORE to positioning docs and past campaigns, so agents write on message without a long prompt each time.
  • Start LORE on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run LORE inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use LORE in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • Enterprises can use LORE with permissions that follow the source documents, so an agent only recalls what the person asking may see.
  • LORE is a community server, so have security review the code and pin a version before LORE touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

LORE README

From Jatin-Roopchandani/LORE on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Ask questions about the books you own.
Every sentence cited from the text. Nothing past the chapter you're on.

Live beta · User guide · How it works · Blog · Issues

LORE is an open-source AI reader for your e-books. It turns each book into a knowledge graph of its characters, places, groups and events, then answers your questions from the text itself: every sentence in an answer cites the passage it comes from, and a second pass checks each one against that passage and cuts what the book doesn't say. Tell it how far you've read, and it never looks past your chapter.

Features

  • Answers you can check. Every sentence cites its passage; click a citation to read it in the book.
  • Spoiler-safe. Set your reading progress per book. Answers, the graph, character profiles and timelines all stop at your chapter, enforced at retrieval, so the model never sees what comes later.
  • Questions across a series. How a character changes from book one to book five, how a world or magic system works, who knows whom.
  • Deep dives. Long, sectioned analyses with LORE's reading, the other side, and what the books leave open, all cited.
  • Explore the graph. Click any character for a profile, a story timeline and their relationships, each with the passage behind it.
  • Bring your own model. Gemini (the free tier works), Claude or OpenAI for reading and writing; embeddings run locally on Ollama.
  • Use it from Claude. An MCP server lets claude.ai, Claude Desktop, Claude Code or any MCP client search your library and ask LORE questions.
  • Private by design. Self-host it on your own machine, or use the hosted beta where each reader's library is kept separately.

Try it

The fastest way is the hosted beta at lore.jrvn.site: request an invite on the homepage. New accounts start with A Study in Scarlet already processed, so you can ask questions straight away. You'll need a free Gemini API key (or a Claude or OpenAI key); the app walks you through it.

Run it yourself

With Docker, for you and the people you add:

curl -fsSLO https://raw.githubusercontent.com/Jatin-Roopchandani/LORE/main/docker-compose.yml
docker compose up -d
docker compose logs lore | grep "setup code"   # a one-time code
# open http://localhost:8080, enter the code and create the admin account

Choose the AI model on the admin page: Gemini, Claude or OpenAI with your key, or a model you run yourself (llama.cpp's llama-server, vLLM, LM Studio, Ollama). Each person you add gets their own private library. The self-hosting guide covers requirements, a local model step by step, adding people, upgrades, backups, HTTPS and troubleshooting.

From source

For development, or a single-user install with no Docker.

Prerequisites: Python 3.12+, uv, Node.js 18+ and Ollama.

# 1. The local embedding model (keep Ollama running)
ollama pull nomic-embed-text

# 2. A model key: a free Gemini key from https://aistudio.google.com/apikey
export GEMINI_API_KEY=your-key-here

# 3. Install, and check everything is in place
git clone https://github.com/Jatin-Roopchandani/LORE.git
cd LORE
uv sync
uv run lore doctor

# 4. Build the web app (once)
cd web && npm install && npm run build && cd ..

# 5. Start it
uv run lore ui

Open http://127.0.0.1:8766, click + Add book, and choose an EPUB or PDF you own. The Library panel shows processing as it goes (a novel takes a while on Gemini's free tier); when it's done, ask away.

Prefer the command line? lore ingest, lore process and lore ask do the same; see the user guide. Instead of the environment variable, the key can also live in ~/.config/lore/gemini.env (mode 600).

No cloud key? Run every step on your own model (llama-server, vLLM, LM Studio or Ollama): see Running fully local.

Use it from Claude

LORE runs an MCP server, so Claude can search your library and ask LORE questions with your reading position applied:

  • Hosted beta: in claude.ai, open Settings → Connectors → Add custom connector and paste https://lore.jrvn.site/mcp.
  • Self-hosted: run uv run lore mcp (stdio) or uv run lore mcp --http.

Step by step: Use your ebook library in Claude and the user guide.

How it works

book (EPUB/PDF) → chapters & passages → LLM extraction → entity resolution
               → Kuzu graph + LanceDB vectors

question → split into parts → starting entities → graph walk → passages
         → claims, each quoting a passage → check every claim → cited prose

Reading progress becomes a per-book chapter cap applied as a prefilter on every vector search, graph query and profile, so later chapters are never retrieved. Behaviour changes ship behind switches, each judged by blind paired evals on held-out questions. The full pipeline, models and design decisions are in How LORE works.

Stack: Python, FastAPI, Kuzu (graph), LanceDB (vectors), SQLite and Postgres, Ollama (embeddings), React and TypeScript. The hosted beta runs on Docker Compose behind a Cloudflare Tunnel (deploy/).

Project status

LORE is in beta. It works end to end on full novels and series, and the test suite (4,000+ server tests, 800 web tests) runs on every push. Known limits: answers are only as good as the extraction, long series take a while to process, and a book must be one you can upload as EPUB or PDF.

Contributing

Bug reports, ideas and pull requests are welcome. See CONTRIBUTING.md for setting up a development environment and running the tests. To report a security issue, please follow SECURITY.md rather than opening a public issue.

License

MIT © Jatin Roopchandani

Questions about LORE

What is the LORE MCP server?

Ask questions about the books you own: an AI reader that turns e-books into a knowledge graph and answers with every sentence cited, without spoilers past your chapter. GraphRAG + MCP. LORE is maintained by Jatin-Roopchandani on GitHub at Jatin-Roopchandani/LORE, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I add LORE to Claude Code?

LORE is a remote server, so you add its URL instead of installing a package: run claude mcp add --transport http lore https://lore.jrvn.site/mcp in your terminal. In other apps, add the LORE URL as a remote or custom connector.

Does LORE need an API key?

The registry lists no required keys for LORE. Check the LORE README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is LORE an official MCP server?

No. LORE is a community server maintained by Jatin-Roopchandani. Community servers can be excellent; read the code and the open issues before you give LORE access to company data.

What license is LORE under?

LORE is released under the MIT license, according to its GitHub repository. The license covers the code of LORE; the service it connects to has its own terms.