Skip to main content
MCP server CX Codex

Lore · agentkitai — Claude Code MCP server: memory and setup

Lore gives AI agents shared memory, semantic recall, and linked facts across sessions. It fits projects where context must persist between agents.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add lore -- uvx lore-sdk
Open on GitHub

What Lore does

Lore stores knowledge through MCP, a REST API, or Python and TypeScript SDKs. It can recall semantically related memories, apply time-based decay, and redact PII. Its knowledge graph connects entities and facts, while bi-temporal queries let an agent inspect what was valid at a given point in time.

Hooks capture session context and inject relevant history into prompts without changes to the agent. The server also includes JSON and Markdown export, snapshots, a browser UI at /ui/, workspace isolation with RBAC, and Python entry-point plugins.

The recommended setup uses Docker Compose to start Postgres with pgvector and Lore at http://localhost:8765. This is a database-backed setup rather than a lightweight local-only MCP. The lore bootstrap command checks Python, Postgres, pgvector, Docker, migrations, and server health.

What it helps with

  • carry project context between agent sessions
  • retrieve facts connected through a knowledge graph
  • inspect which facts were valid on a past date
  • export stored knowledge as JSON or Markdown
  • review graph connections by risk or confidence

Example prompts for the agent

  • Save the project’s API rate-limit decision and link it to related knowledge.
  • Find memories about the Postgres setup and show connected entities.
  • Tell me which project facts were valid on the date I provide.

How to install Lore

Platform CLI

claude mcp add lore -- uvx lore-sdk

uvx runs the command named after the package; if the README names another one, use uvx --from lore-sdk <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Lore

How do I install Lore in Claude Code?

Run claude mcp add lore -- uvx lore-sdk.

What does Lore do?

Lore gives agents shared memory through MCP. It stores and retrieves knowledge, connects facts in a graph, and injects relevant session context through hooks.

Which platforms work with Lore?

Lore supports Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Lore by other authors comes first.

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor