Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. LoreRoom
LoreRoom logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 12:03:09 PM

LoreRoom

User RatingsBe the first to rate and review this MCP server!
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website

Encrypted local memory for Claude Code Telegram bots capturing all messages for searchable recall.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for fenghaochang/LoreRoom, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Overview

LoreRoom provides encrypted, local memory for Claude Code Telegram bots by capturing both inbound and outbound messages at the plugin source. It stores conversations in a whole-file encrypted SQLite database with full-text search support, enabling the bot to recall past interactions even after restarts or crashes. This server operates without cloud dependencies or exposing bot tokens, making it suitable for developers wanting persistent, private memory for their Claude Code Telegram bots.

Use cases

β€’Persist conversation history across bot restarts and crashes
β€’Recall past user requests or bot replies via searchable memory
β€’Enable Claude Code Telegram bots to remember both sides of chats
β€’Search conversation history with full-text queries including CJK text

Key features

β€’Captures inbound and outbound Telegram messages at plugin source
β€’Stores data in encrypted SQLite database using SQLCipher
β€’Supports FTS5 full-text search optimized for CJK languages
β€’Operates locally without cloud or external API keys
β€’Does not access or expose the Telegram bot token
β€’Idempotent plugin patching to integrate with official Telegram plugin

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by LoreRoom.

Extracted Tool Capabilities
Captures inbound and outbound Telegram messages at plugin source
Stores data in encrypted SQLite database using SQLCipher
Supports FTS5 full-text search optimized for CJK languages
Operates locally without cloud or external API keys
Does not access or expose the Telegram bot token
Idempotent plugin patching to integrate with official Telegram plugin

Documentation Overview

LoreRoom

LoreRoom

Your Claude Code Telegram bot β€” but it remembers.

LoreRoom MCP server score on Glama

LoreRoom recalling a past Telegram conversation

πŸ“– Read the story β€” why inbound Telegram messages skip every hook

δΈ­ζ–‡η‰ˆ β†’ README.zh-TW.md

A private, encrypted room that remembers every conversation with your Claude Code Telegram bot β€” both sides β€” so it never forgets.

You chat with Claude Code from your phone through the official Telegram plugin. But every Claude Code session is amnesiac: restart it and the whole conversation is gone. LoreRoom captures both sides of that Telegram conversation into a single, whole-file-encrypted SQLite database and hands it back to Claude as searchable memory.

So you can ask your bot:

You: what did I ask you to do last night? Bot: (searches LoreRoom) You asked me to fix the crawler retry logic and send you the diff…

Local-first. No cloud, no extra API keys, it never touches your bot token.


Why LoreRoom exists (and why it's reliable)

The Claude Code Telegram plugin delivers your incoming messages to Claude through an internal channel push β€” not through any hook. Worse, when Claude is busy those messages queue invisibly, and if the bot never replies they're simply gone. So the obvious approaches (hooks, reading the transcript) silently lose your messages.

LoreRoom captures at the plugin's source, the instant a message arrives from Telegram:

  • Inbound β€” the moment Telegram delivers it, before any queue, regardless of whether Claude is busy, crashed, or never replies.
  • Outbound β€” whenever the bot sends a reply.

Both are written to a small spool file that an ingester drains into the encrypted database. Nothing is lost β€” even when your bot is unresponsive. (Messages that were stuck while the bot was busy get captured the moment it restarts and re-fetches them.)

No Claude Code hooks are used, so LoreRoom never interferes with your other Claude Code work.

Code
You ⇄ Telegram ──(patched plugin)──> spool ──(ingester)──> encrypted SQLite (SQLCipher + FTS5)
                  captures in + out      drained on a timer        β–²
                                                                   β”‚ MCP server
                                                          get_recent_context Β· search_tg_history
                                                                   β”‚
                                                            Claude recalls β€” both sides, with time & sender

Before you start β€” what you need

LoreRoom adds memory to an existing Claude Code Telegram bot. So you first need that bot working. If you can already chat with your bot from Telegram, skip to Install. Otherwise, set this up once (~5 minutes):

1. Node.js 20 or newer. Check with node -v. If missing, get it from nodejs.org.

2. Claude Code β€” Anthropic's command-line tool. See the install guide.

3. A Telegram bot connected to Claude Code:

  1. In Telegram, open a chat with @BotFather, send /newbot, follow the prompts, and copy the bot token it gives you (a long string).
  2. In Claude Code, install the official Telegram plugin, then configure it with your token: /telegram:configure <your-bot-token>.
  3. Link your account: send your bot any message in Telegram β€” it replies with a pairing code β€” then run /telegram:access pair <code> in Claude Code.
  4. Start a bot session: claude --channels plugin:telegram@claude-plugins-official, then send your bot "hi" in Telegram. It should reply.

Once "hi" gets a reply, your bot works. Now give it memory with LoreRoom πŸ‘‡

Scope: LoreRoom only works with Claude Code + the official Telegram plugin (it is not a general Telegram bot framework). It captures by patching the plugin β€” one idempotent command you re-run after plugin updates. See Why patch the plugin.

Install

bash
git clone https://github.com/fenghaochang/LoreRoom.git && cd LoreRoom
npm install
npm run build
node dist/cli.js init        # creates config.json + a fresh encryption key, prints the next steps
node dist/patch-plugin.js    # patches the Telegram plugin to capture in + out
# register the recall server (it also auto-drains the spool):
claude mcp add --scope user loreroom -- "$(command -v node)" "$PWD/dist/mcp-server.js"

Then restart your bot session (claude --channels …) so it loads the patched plugin. Done β€” every Telegram message is now captured automatically.

Node version note: the encrypted-SQLite native module is ABI-bound to one Node version, and init pins the exact node that ran it. If you later upgrade or remove that Node, re-run npm install && npm run build and re-register.

Verify

  1. Send your bot a message on Telegram.
  2. Ask Claude (in any session) to call get_recent_context with hours: 1 β€” you'll see your message with the correct time and sender, even if the bot never replied.
  3. Ask it to search_tg_history for a keyword from that message β€” it comes back.

How you use it day to day

Nothing to do β€” that's the point. Once it's set up, just chat with your bot normally. Every message, both yours and the bot's, is saved automatically.

When you want it to remember something, just ask in plain language:

"what did we decide about the database yesterday?" "what did I send you last night?" "find where I mentioned the API key"

The bot searches its own memory and answers. You never run a command β€” it calls the search tools for you behind the scenes.

Two things to keep in mind:

  • Keep a bot session running (claude --channels …). If it stops, restart it β€” messages that arrived while it was down are captured when it comes back.
  • After you update the Telegram plugin, re-run node dist/patch-plugin.js once to re-apply the patch (it's a no-op if already patched).

Why patch the plugin

There is no hook and no on-disk record for inbound Telegram messages, so the only reliable capture point is inside the plugin itself. The patch is tiny β€” a helper plus two one-line calls at the plugin's inbound and outbound choke points β€” and idempotent (running it twice is a no-op). Plugin updates overwrite it, so re-run node dist/patch-plugin.js after an update.

Self-contained

Everything LoreRoom owns lives inside this project folder:

  • config.json β€” your settings + encryption key (git-ignored, chmod 600, created by init)
  • data/memory.sqlite β€” the encrypted database (git-ignored)

The spool is a short-lived plaintext file in the plugin's own ~/.claude/channels/telegram/ state dir (mode 0700), drained continuously and deleted.

Configuration (config.json)

KeyMeaning
dbPathDB location. Relative paths resolve inside the project (default data/memory.sqlite).
encryptionKey64-char hex (32 bytes). node -e "console.log(require('crypto').randomBytes(32).toString('hex'))".
spoolPathSpool the plugin writes (default ~/.claude/channels/telegram/loreroom-spool.jsonl; must match the plugin state dir).
capture.chatAllow / chatDeny / skipPatternsOptional filters. Default [] = capture everything (both sides, including repeated/automated messages).

Draining the spool

The MCP server drains on startup, every 20s, and before each query β€” so whenever any Claude Code session is open, capture flows into the DB automatically. For draining independent of sessions:

bash
node dist/cli.js ingest   # drain once
node dist/cli.js watch    # drain continuously (good for launchd/cron)

MCP tools Claude can call

  • get_recent_context({ hours, chat_id? }) β€” messages from the last N hours.
  • search_tg_history({ keyword, chat_id? }) β€” full-text search across all history (FTS5 trigram, works for CJK; LIKE fallback for short keywords).

Both return each hit with timestamp, sender, role, chat id, and text.

Security & encryption boundary

  • LoreRoom never handles your Telegram bot token β€” that belongs to the plugin. There is no token to leak here.
  • The only secret is the 32-byte encryption key in config.json (git-ignored, chmod 600) β€” never committed, never logged.
  • The database is encrypted as a whole file (SQLCipher / AES-256). Copying data/memory.sqlite to another machine is useless without the key.
  • This is at-rest encryption of the local DB β€” NOT Telegram end-to-end encryption. It changes nothing about Telegram itself. Decryption happens only locally, in LoreRoom's own processes; the key is never given to Claude and never crosses a network.
  • Protects against: the DB file being copied off the machine / a backup leak. Does not protect against: someone who can already read your account's files on this machine (the key sits next to the DB by design). The spool is briefly plaintext until drained.

Limitations

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    β˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory21 views
    Compare vs Moxie Docs MCP β†’
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    🧠 Knowledge & Memory16 views
    Compare vs Scrivener MCP β†’
  • Codebase Memory MCP logoCodebase Memory MCP

    Code-intelligence engine that indexes a repo into a persistent knowledge graph β€” functions, classes, call chains, HTTP routes, cross-service links. 159 languages via tree-sitter + Hybrid LSP, sub-ms structural queries, 99% fewer tokens than grep. Single static binary, zero dependencies, 100% local. npx codebase-memory-mcp

    🧠 Knowledge & Memory7 views
    Compare vs Codebase Memory MCP β†’
  • Basic Memory logoBasic Memory

    Persistent, local-first AI memory: a semantic knowledge graph of plain Markdown files that humans and LLMs both read and write. Works with any MCP client, with optional cloud sync and team workspaces.

    🧠 Knowledge & Memory2 views
    Compare vs Basic Memory β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
2
Stargazers on the source repository.
Last commit
3mo ago
Most recent push to the default branch.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about LoreRoom

No, LoreRoom stores all data locally with encrypted SQLite and does not require any cloud services or additional API keys.

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 PreviewLoreRoom AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fenghaochang-loreroom?style=directory)](https://allmcps.com/mcp/fenghaochang-loreroom)
HTML Embed
<a href="https://allmcps.com/mcp/fenghaochang-loreroom"><img src="https://allmcps.com/api/badge/fenghaochang-loreroom?style=directory" alt="LoreRoom on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
More technical detailsExpand β–Ύ
Last updatedAug 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
Last commit3mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 8, 2026
41Quality signal: Fair Β· 41/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools19/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory β†’Best MCP servers for Memory & Knowledge β†’Alternatives to LoreRoom β†’Install in Claude DesktopInstall in CursorInstall in VS Code