Lore DB | Docs

Connect Claude Code (CLI)

Add Lore DB as an MCP server for Claude Code so you can search your knowledge base directly from the terminal.

1
Add the MCP server

In your terminal, run:

Terminal
claude mcp add lore-db --transport http https://loredb.dev/mcp
2
Verify the connection

Check it’s connected by running:

Terminal
claude mcp list

When you start a new conversation, Claude Code will have access to search, ask, and manage documents.

Add Lore DB instructions to your CLAUDE.md file so Claude Code knows how to use your knowledge base effectively. See the Prompts page for ready-to-use instructions.