Lore logo

Lore

Cross-agent memory over MCP with semantic recall, knowledge graphs, fact extraction, snapshots, and private or shared visibility.

Install Lore

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lore": {
      "command": "uvx",
      "args": [
        "lore-sdk"
      ],
      "env": {
        "LORE_API_URL": "YOUR_VALUE_HERE",
        "LORE_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx lore-sdk

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Lore MCP server gives AI agents shared memory through tools for storing, recalling, filtering, and deleting memories. It combines semantic retrieval with temporal and graph-aware queries, fact extraction, entity relationships, classification, enrichment, and consolidation. Use it when multiple agents or sessions need consistent project context, searchable history, or auditable knowledge connections. It can run through the Lore SDK and expose MCP tools to supported clients.

Use cases

  • Store shared project decisions for multiple agents
  • Recall prior conversations with semantic and graph-aware search
  • Trace related entities and conflicting facts
  • Export memory data or create recovery snapshots
  • Check stored knowledge against GitHub repository changes

Key features

  • Semantic, temporal, and graph-enhanced memory recall
  • Knowledge graph traversal and entity mapping
  • Fact extraction with conflict detection
  • Conversation and external-content ingestion
  • Memory export and snapshot management
  • Private and shared memory visibility

Tools46

What Lore lets your agent do. Expand a tool for its parameters.

Self-reported~560 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/28 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · lore-sdk (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed46Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Lore works

What Lore MCP server does

The Lore MCP server provides a persistent memory layer for AI agents. Agents can save information with a type, tier, tags, and metadata, then search it later using semantic recall. Memory records can be filtered, ranked with votes, deleted by ID, or summarized through statistics. Visibility can be private or shared, making the system suitable for information that should be scoped across agents or users.

The Lore MCP server also represents extracted knowledge as entities, relationships, and atomic facts. This supports graph traversal, related-memory lookup, conflict review, and topic exploration in addition to ordinary vector-style search. Conversation content and externally sourced material can be ingested for later retrieval.

How it works

Lore accepts MCP tool calls and stores the resulting memory and knowledge data in its backing service. Recall combines semantic search with temporal and graph-enhanced retrieval. The graph tools can follow relationships hop by hop, list entities, find connected memories, and inspect extracted subject-predicate-object facts.

Several tools support maintenance and agent context preparation. Classification identifies intent, domain, and emotion; enrichment adds LLM-derived metadata; consolidation merges duplicate or related memories; and as_prompt formats selected memories for injection into an LLM prompt. GitHub synchronization and freshness checks help compare stored knowledge with repository state. Conversation ingestion can extract memories from message history.

Setup and configuration

The recommended deployment uses Docker Compose, which starts Postgres with pgvector and the Lore service on port 8765. A Python installation can instead install lore-sdk[server,solo] and start the service with lore serve. The MCP package can be launched with uvx --from lore-sdk[mcp] lore-memory, or with the installed lore-memory or lore mcp command.

MCP client configuration can point to the local command and pass LORE_API_URL and LORE_API_KEY when the service requires an API endpoint and key. It also lists Claude Desktop, VS Code, and Codex among clients that can use the MCP configuration.

Tools and capabilities

The exposed tools cover:

  • Memory lifecycle: remember, recall, forget, list_memories, stats, upvote_memory, and downvote_memory.
  • Knowledge graphs and facts: graph_query, entity_map, related, extract_facts, list_facts, and conflicts.
  • Processing and ingestion: classify, enrich, consolidate, ingest, add_conversation, and as_prompt.
  • Repository and activity context: github_sync, check_freshness, recent_activity, topics, and topic_detail.
  • Backup and review: export, snapshot, snapshot_list, save_snapshot, review_digest, and review_connection.

Limitations and notes

The Lore MCP server depends on a running Lore service and, for the documented deployment, Postgres with pgvector.

Automatic prompt injection is described for hooks installed through the client-specific setup commands. Without those hooks, agents can still call the MCP tools directly, but the material does not establish that memories will be added to every prompt automatically in every client.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Lore

Lore is an MCP server that connects AI agents to a shared memory service backed by Lore. Its main tools store, recall, filter, delete, and rank memories, while also supporting knowledge-graph traversal, entity lookup, fact extraction, conflict detection, conversation ingestion, snapshots, and prompt-formatted memory export.

Install it with Docker Compose or Python. Docker Compose starts Postgres with pgvector and Lore; alternatively run `pip install "lore-sdk[server,solo]"` and `lore serve`. For MCP-only use, launch `uvx --from lore-sdk[mcp] lore-memory` or use the installed `lore-memory` command.

Yes, Lore provides a `lore setup cursor` command and MCP configuration for Cursor. The setup installs a `beforeSubmitPrompt` hook for automatic retrieval, while the MCP configuration runs Lore with the `lore mcp` command and can provide `LORE_API_URL` and `LORE_API_KEY`.

Use `recall` for semantic memory search and `related` for connected memories or entities. `graph_query` performs hop-by-hop knowledge-graph traversal, while `entity_map` lists entities and `topic_detail` provides a topic-focused view of memories, entities, and timeline information.

Yes, Lore provides `export` for exporting data and `snapshot` for creating a backup. `snapshot_list` lists available snapshots, and `save_snapshot` saves a session snapshot.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLore AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lore?style=directory)](https://allmcps.com/mcp/lore)
HTML Embed
<a href="https://allmcps.com/mcp/lore"><img src="https://allmcps.com/api/badge/lore?style=directory" alt="Lore on AllMCPs" /></a>