Skip to main content

Crate lorekeeper

Crate lorekeeper 

Source
Expand description

Lorekeeper — Agent Long-Term Memory Bank.

A Model Context Protocol (MCP) server that provides structured, queryable memory for AI coding agents. Replaces flat-file history with typed entries persisted in SQLite with FTS5 full-text search.

§Key Types

§Usage

The server is started via main.rs and communicates over stdio using the MCP protocol. Agents interact with memory through 12 registered tools (store, get, search, etc.).

Modules§

config
Project-local configuration for Lorekeeper.
db
Database connection management and schema initialization.
error
Error types for the Lorekeeper MCP server.
model
Data models and validation for memory entries.
render
Markdown rendering for memory entries.
server
MCP server handler implementation.
store
Persistent storage abstraction and implementations.