Skip to main content Switch to mobile version memoreei 0.5.0 Personal memory MCP server — search your messages and notes with hybrid AI
pip install memoreei==0.5.0 Copy PIP instructions
Remember every conversation you've ever had.
Memoreei is an open-source MCP server that gives your AI assistant a searchable memory of your messages: iMessage, WhatsApp, Signal, Discord, Telegram, Slack, Gmail, Instagram and more. It keeps them in one encrypted SQLite file on your machine and searches them by keyword and by meaning at once.
"What's my friend's favorite restaurant?" "What did my sister say she wanted for her birthday?" "How many times have I asked Dory to send that link again?" Every assistant starts each conversation knowing nothing about you. With Memoreei, it can look.
Local-first. One SQLite file, encrypted. The default search model runs offline.
Hybrid search. BM25 keywords and vector similarity, fused with Reciprocal Rank Fusion.
On your network. One always-on machine serves every other one, each client with its own key.
Read-only to the network. A key can search what's stored, never add to it or read a file.
Pick one. Each is the whole server; they differ in how it's packaged.
Everything Memoreei knows lives in one home directory: config.env for settings, memoreei.db for the memories and the credentials, encrypted, and usually memoreei.key, its key (Privacy). That's ~/Library/Application Support/Memoreei on macOS, ~/.local/share/memoreei on Linux and ~/.memoreei elsewhere. Point it somewhere else with --home
On a Mac: Memoreei.app
Download the DMG from the latest release: Memoreei-arm64.dmg for Apple silicon (About This Mac says Chip Apple M…), Memoreei-x86_64.dmg for Intel. macOS 11 or newer.
Drag Memoreei into Applications.
Open it the first time from Finder. The app isn't signed by Apple yet, so a double-click, Launchpad or Spotlight won't open it. On macOS 11–14, right-click → Open, then Open. On macOS 15 and later, double-click once, then System Settings → Privacy & Security → Open Anyway. Once per download.
Full Disk Access, which iMessage needs. macOS gives apps no way to ask, so a window walks you through dragging Memoreei into the list, and notices when it's done.
The firewall may ask whether Memoreei Server may accept incoming connections. Allow, or other machines can't reach it.
The dashboard opens in your browser. Set up iMessage under Sources, and WhatsApp or Signal too if WhatsApp for Mac or Signal Desktop is installed (Signal's Connect asks macOS once for its key: choose Allow). Then create a key under Connections for each machine or app that will search.
Memoreei then lives in the menu bar and starts at login. Open Dashboard signs you in to the dashboard; Quit stops the server too.
Updates. The menu says Update to X…. Download the new DMG and replace the app. Until Memoreei is signed, macOS treats each new version as a stranger and switches its Full Disk Access off; the setup window reopens, and you switch it back on.
Data is in ~/Library/Application Support/Memoreei, logs in ~/Library/Logs/Memoreei (Show Log in the menu). A pip-installed memoreei on the same Mac shares that data, so memoreei key list in Terminal shows the app's keys. Don't run both servers at once; the app will tell you if you try.
Ubuntu 20.04, Debian 11, RHEL and Rocky 8, current Fedora, or newer; x86_64 or ARM64.
Download from Releases: Ubuntu, Debian: memoreei_X.Y.Z_amd64.deb (arm64 on ARM, such as a Raspberry Pi)
Fedora, RHEL, Rocky: memoreei-X.Y.Z.x86_64.rpm (aarch64 on ARM)
anything else, or without root: memoreei-X.Y.Z-linux-x86_64.tar.gz (aarch64 on ARM)
Install it, by double-clicking it or: sudo apt install ./memoreei_*.deb # Ubuntu, Debian sudo dnf install ./memoreei-*.rpm # Fedora, RHEL, Rocky tar xzf memoreei-*-linux-*.tar.gz && memoreei-*-linux-*/install.sh # into ~/.local, no root
Open Memoreei from your applications. It starts the server, sets it to start at login, and opens the dashboard. Create a key under Connections for each machine or app that will search.
Add sources. Signal, if Signal Desktop is set up, is under Sources in the dashboard: Connect reads its key from your desktop's keyring. The other live connectors are set up in a terminal for now, with memoreei setup, and chat exports with memoreei import ….
No desktop? The same package, from a terminal:
memoreei service install # start now and at every login; offers to start at boot too memoreei key create laptop # one key per client memoreei admin-url # how to reach the dashboard from your own computer The server is the systemd user unit memoreei.service. Data is in ~/.local/share/memoreei, the program in /opt/memoreei (or ~/.local/opt/memoreei from the tarball). Settings go in config.env, except MEMOREEI_HOME itself, which goes in ~/.config/memoreei/env.
Updates. The dashboard says when there's a new release. Install it the same way; a running Memoreei restarts on the new version by itself.
Two people, one computer? The first to start gets port 3679; the second sets MEMOREEI_PORT=3680 in their config.env.
Coming from pip? Before 0.4, Linux data lived in ~/.memoreei, and nothing moves it. Either mv ~/.memoreei ~/.local/share/memoreei, or put MEMOREEI_HOME=~/.memoreei in ~/.config/memoreei/env.
Uninstall with sudo apt remove memoreei, sudo dnf remove memoreei, or install.sh --uninstall. Your data stays.
python3 -m venv ~/memoreei-venv && source ~/memoreei-venv/bin/activate pip install memoreei # --pre for a release candidate memoreei setup # pick connectors, enter credentials, make the first key memoreei sync # pull in messages On Debian and Ubuntu, sudo apt install python3-venv first. To keep the network server running in the background (launchd on macOS, a systemd user unit on Linux):
memoreei service install # starts at login, restarts if it crashes memoreei service status | logs | uninstall On a headless Linux box, loginctl enable-linger $USER once, so it starts at boot rather than at your first login. To update: pip install --upgrade memoreei, then memoreei service install again.
macOS via pip. iMessage needs Full Disk Access for the Python behind your virtualenv, which is buried somewhere nobody finds by hand. memoreei service grant-access opens System Settings and a Finder window with the right file already selected; drag it in, switch it on, and it checks the result. The firewall asks about the same Python the first time the server starts: Allow. The app does all of this for you, which is the argument for the app.
The client starts Memoreei itself and talks over stdio: no network, no key, and every tool, including the imports. For Claude Code, claude mcp add memoreei -- memoreei serve. Elsewhere (.mcp.json, claude_desktop_config.json):
{ "mcpServers": { "memoreei": { "command": "memoreei", "args": ["serve"] } } } Use the full path (which memoreei) if it's in a virtualenv your client doesn't know.
Create a key per client, in the dashboard or with memoreei key create laptop. The key is shown once, with ready-to-paste setup and this machine's address filled in:
claude mcp add --transport http memoreei http://
{ "mcpServers": { "memoreei": { "type": "http", "url": "http://
From Claude.ai, ChatGPT and agents
Claude.ai and ChatGPT call from their own servers, not your browser, so they can't reach your home network, and they sign in with OAuth rather than a pasted key. Memoreei has a second, stricter front door for them, the public listener: it answers /mcp, the sign-in, and the OAuth metadata that tells a chatbot where to sign in, and nothing else (the dashboard only if you open it from anywhere). Agents that only send a header can use your mem_ keys there too. Failed attempts are rate-limited, and every call is listed on the dashboard's Connections page: when, which chatbot or key, which tool, from where. It's off until you choose one of the two ways below.
Memoreei signs chatbots in itself, and you approve each one on the computer memoreei runs on. Add memoreei's address as a connector in Claude or ChatGPT (or sign in from an agent) and it opens a page with a short code, like K7QM, that waits for you. On the computer, approve that code:
on the dashboard's Connections page (every page shows a note while one waits), or
with memoreei chatbots approve K7QM, or
from the desktop notification, where there is a desktop, or
away from the computer, if you've opened the dashboard from anywhere: the chatbot's page offers Sign in to approve it here, and sends you back to the chatbot once you have.
The chatbot's page moves on by itself within a couple of seconds. Only approve a code you just asked for: anyone can ask, and approving lets them read your messages. Compare the code, and check the name and address beside it. A chatbot with a published client document shows its own address (claude.ai, chatgpt.com); an app that registered itself is marked "it named itself", because it could have called itself anything. Requests that nobody answers lapse after ten minutes.
Agents without a browser (hermes mcp login --flow device) get the same kind of code to approve the same way.
memoreei chatbots list shows who's waiting and who's connected; Remove on the Cloud page, or memoreei chatbots remove
The easy way to give memoreei an address. memoreei cloud connect (or Connect to Memoreei Cloud in the dashboard) opens a sign-in page, you approve this computer there, and it gets an address like https://k3x9q2mfa7td.memoreei.net/mcp to add as a connector in Claude or ChatGPT. Nothing to open on your router: memoreei holds a connection out to the relay, and chatbots reach it through that. Your messages stay on your computer. The relay carries TLS it can't open: the certificate's key is made on your computer and never leaves it. Your Memoreei Cloud account is for the address; chatbots sign in to memoreei itself, as above. memoreei cloud status says whether it's online; memoreei cloud disconnect takes the computer off your account. While the computer sleeps, chatbots can't reach it, and memoreei tells them to say so. Stay awake while plugged in, on the Connections page or memoreei stay-awake on, holds off sleep on AC power while chatbots can reach memoreei (this way or your own): caffeinate -s on a Mac, systemd-inhibit on Linux. On battery the computer sleeps as usual, and closing a laptop's lid still sleeps it. Memoreei.app's menu has Connections… for all of this.
Nothing contacts Memoreei Cloud until you connect. To hide the offer, set MEMOREEI_CLOUD_OFFER=0. Once connected, memoreei suggests a dashboard password, so you can manage it from anywhere; MEMOREEI_PASSWORD_OFFER=0 hides that too.
Memoreei Cloud uses nothing but standards, so you can bring your own address instead: turn on the public listener and point a tunnel or proxy at it (Cloudflare Tunnel, Tailscale Funnel, ngrok, Caddy), or forward a port and let memoreei serve TLS itself.
MEMOREEI_PUBLIC_PORT=3680 # the public listener MEMOREEI_PUBLIC_MCP_URL=https://memories.example.com/mcp # the https address clients use Chatbots then sign in at that address and are approved as above. The public listener has one identity at a time, so it's this or Memoreei Cloud. The full guide, with each kind of tunnel, a reverse proxy, a forwarded port and the certificate, is at docs.memoreei.com/self-host.
Run it as a network server
The network server speaks MCP's Streamable HTTP at /mcp on port 3679, and refuses every request without a key. There is no way to run it open. The app, the Linux package and memoreei service install all run it for you; by hand, it's memoreei serve --http.
Port 3679 spells DORY on a phone keypad. It is officially registered to the Apple Newton's dock sync, a device discontinued in 1998, which is not expected to object. Change it with --port or MEMOREEI_PORT.
What the network can do
Search, and press one refresh button. A network client gets search_memoreei, get_context, list_sources and sync, and nothing else. Several local tools take a path on the server, and a key holder shouldn't be able to point one at your SSH keys and search them back out. Filling the database is a local job.
sync takes no arguments: it runs the connectors configured on the server and re-reads registered import files that have changed.
/admin shows status, sources, client keys and the log, and switches start-at-login. Unless you give it a password and open it from anywhere, it answers only on the server itself, after a one-time sign-in link:
memoreei admin-url # http://localhost:3679/admin/login?token=… The link works once, within five minutes, and signs that browser in for a month. With no display, admin-url also prints the ssh -L that brings the dashboard to your laptop. Dashboard sessions and API keys are separate: neither opens the other.
The dashboard can have a password. It's optional: without one, nothing above changes. Set one on the dashboard's Security page, or:
memoreei admin password # set or change it (--stdin for scripts) memoreei admin remote on # let the dashboard answer away from this computer memoreei admin status # password, 2FA, from anywhere, recent sign-ins memoreei admin reset # forgot it? removes the password and 2FA, here The rule: with no password, the dashboard answers only on the computer, as above. With a password and Manage memoreei from anywhere switched on, it also answers elsewhere, to the password: at your Memoreei Cloud address (https://
2FA, optional: a code from an authenticator app as well as the password. Set it up on the Security page (scan the QR code), and keep the ten recovery codes it shows once, for a lost phone.
Signing in with the password lasts a week. On the computer, the one-time link still signs you in without it. A new password, or switching on 2FA, signs out every browser that signed in with the old way.
Failed sign-ins away from the computer are limited per address and in all, and listed on the Security page. Nobody can lock you out by guessing: a browser you've signed in with before isn't held up by strangers' failures, and on the computer there's no limit at all.
Away from the computer, the password and 2FA can't be changed, and the switch can only be turned off. So a stolen session can't lock you out, and a forgotten password is reset where memoreei runs.
Instead of a password, the dashboard can trust an OpenID Connect provider: Okta, Entra, Google, Authentik, Keycloak, WorkOS. It's one or the other: setting SSO up removes the password and 2FA, and setting a password turns SSO off. On the computer, the one-time link works either way, and away from it you still need Manage memoreei from anywhere switched on.
Register memoreei with the provider as a web application (authorization code; PKCE is always used), with the redirect URI
memoreei admin sso set --issuer https://login.example.com --client-id … \ --allow you@example.com --name "Example" # asks for the client secret (--secret-stdin, or --public for none) memoreei admin remote on memoreei admin sso off # back to the computer only, or set a password Or put them in config.env: MEMOREEI_SSO_ISSUER, MEMOREEI_SSO_CLIENT_ID, MEMOREEI_SSO_CLIENT_SECRET (moved into the encrypted database at the next start), MEMOREEI_SSO_ALLOW and MEMOREEI_SSO_NAME. A password left from before is removed when memoreei starts. MEMOREEI_SSO_ALLOW says who may sign in, comma-separated: an email counts only when the provider says it's verified, and anything without an @ is a subject, the ID token's sub (stable; the provider's ID for you). The ID token is checked against the issuer's published keys, and for its issuer, audience, expiry and nonce. The issuer must be https, or plain http on this computer's own loopback.
Whoever runs the provider can sign in as you, so pick one you'd trust with your messages.
Plain HTTP is fine on a home network or a VPN. For anything public, put HTTPS in front, and prefer the public listener (above), which answers only /mcp. Caddy gets its own certificate:
memories.example.com { reverse_proxy
memoreei keeps disappearing messages, and what the app deletes, unless you tell it not to. A message that's unsent, deleted (for everyone or just for you, on any of your devices) or reaches the end of its disappearing timer stays in memoreei, marked: results say "deleted in Signal on 2026-11-09", "unsent in iMessage", "expired in WhatsApp", and the Status page counts them. The mark goes with every copy sent to another memoreei. memoreei can only keep what it read before it went: a message unsent or expired between two syncs was never kept. To follow an app instead, so that what's deleted there is deleted here (and from every memoreei this one sends to), name it in MEMOREEI_MIRROR_DELETIONS in config.env: signal,whatsapp, or all. Turning it on also deletes what was already kept and marked from those apps, at their next sync. A memoreei only marks or mirrors the apps it reads itself; copies from another memoreei follow that one.
WhatsApp is read from where WhatsApp for Mac keeps the chats it has synced from your phone: texts, photo and video captions, shared links and document names. Stickers, voice notes and reactions have no words to search, so they're skipped. Its database has the same layout as the one in an iPhone backup, so WHATSAPP_DB_PATH can point at that instead, on any OS. WhatsApp on Windows and Linux is WhatsApp Web, whose local copy is encrypted with a key held by WhatsApp's servers, so there is nothing there to read.
Signal is read from Signal Desktop's database on the same computer. Its key is sealed by the system keyring (the Keychain on a Mac, GNOME Keyring or KWallet on Linux), so connecting reads it once, when you choose Connect under Sources, and saves it; a Mac asks first. Texts, captions, links, group changes and calls are kept. Reactions and edits follow the message they belong to, with both wordings of an edit searchable, and a message deleted or expired is kept and marked (above). Photos and files become labels, never copies.
Another memoreei can send its messages here, so a server (or Memoreei Cloud) can hold everything your laptops and desktops read, and answer while they're shut. On this one, choose Add another memoreei under Sources (or run memoreei sources invite): you get an address, good for ten minutes, and a code. On the one with the messages, paste the address under Send to another memoreei (or run memoreei sources add-to
), check that it shows the same code, and approve it there. From then on it sends whatever is new after each sync, with the embeddings, and catches up after sleep. It only ever sends: it needs no open port or public address of its own, just a way to reach this one (the LAN, or this one's Memoreei Cloud or HTTPS address). The key it's given can push here and do nothing else.Everything goes by default, sources added later included; What goes on the sending side keeps one back (work Slack, say), and unticking it deletes it here. Every message remembers which memoreei first read it, so memoreeis can send in a chain or both ways (A to B to C, or A and B to each other) and each still holds every message once. A message deleted in memoreei is deleted from every memoreei it went to. Either side can end it: Stop on the sending side, or Remove here, which also deletes what it sent (or memoreei sources end
Live sources sync incrementally, fetching only what's new. Imports are remembered: memoreei sync re-reads a file when it changes.
Set up live sources with memoreei setup (or memoreei setup gmail for one), and import with memoreei import …. memoreei import --help lists the formats.
A local (stdio) client gets all of them. Each tool's parameters are in its MCP description, which your client shows it, and the server sends a short set of instructions on how to use them.
Finding people. participant takes a name, part of one ("Jane", "jan do") or a phone number in any format, and finds that person on every app: iMessage stores a number, WhatsApp and Signal a name, and the two are joined through your contacts and the number each WhatsApp or Signal message came from. People who only share a name are never merged; a name that fits several people searches all of them and says so in the result's note. participant_scope decides how much: conversation (the default) is what they wrote anywhere plus both sides of your one-to-one chats, sent only what they wrote, any_chat every chat they're in. me is you, as is your own name.
Every filter narrows the search before anything is ranked, so a filtered search returns the best matches among those messages. A search returns results, plus people when you named one and a note whenever there's something to explain, such as a name that fits several people or why nothing came back.
memoreei setup [connector] # configure connectors; offers the first API key memoreei serve # stdio, for a local client memoreei serve --http [--port 3679] [--tls-cert … --tls-key …] memoreei open # the dashboard, starting Memoreei if needed memoreei admin-url [--page connections] # a one-time dashboard sign-in link memoreei stay-awake on|off # hold off sleep on AC power while chatbots can reach it memoreei admin password | remote on|off | status | reset # the dashboard from anywhere memoreei admin sso set … | off # or sign in to it by SSO memoreei key create | list | revoke
Every query runs two searches at once, and fuses them:
"that weird API rate limit issue" ├─▶ keyword (SQLite FTS5, BM25) matches "API", "rate", "limit" └─▶ vector (cosine similarity) matches "throttling", "429 errors", "backoff" │ ▼ Reciprocal Rank Fusion: score = Σ 1 / (60 + rank) Results that both searches found rise to the top; results only one found still count. RRF works on ranks, so the two scores never need to agree on a scale.
The default embedding model is BAAI/bge-small-en-v1.5 via FastEmbed: 384 dimensions, about 67 MB of ONNX, fully offline. EMBEDDING_PROVIDER=openai swaps in OpenAI's.
memoreei setup and the dashboard write settings to config.env and tokens and passwords into the encrypted database; .env.example lists every setting for editing by hand. A secret typed into config.env by hand works too: at the next start it moves into the database and out of the file. The environment wins over a .env in the current directory, which wins over config.env and the database.
The tokens, passwords and Signal's key in that table (and OPENAI_API_KEY) are kept in the database, not in config.env. API keys aren't settings at all: they live in the database, hashed.
Everything is stored in one database on your machine, always encrypted (SQLCipher, AES-256): a copy of memoreei.db (a backup, a synced folder, a lost laptop) is unreadable without its key. The sources' tokens and passwords are inside it too. The home directory is readable only by you, and config.env is mode 600.
The key is 256 random bits, made on first start and kept in GNOME Keyring or KWallet on a Linux desktop, and otherwise in memoreei.key beside the database (mode 600): on a Mac (until Memoreei.app has a Developer ID, the Keychain would ask for your password after every update), on a headless Linux box, and elsewhere. memoreei config says which; in the keyring it is "Memoreei database key". Back it up with the database: without the key, a backup of memoreei.db is noise.
A database from an earlier memoreei is encrypted on its first start (about 7 seconds for 150,000 messages). The old file's blocks are freed, not overwritten.
The default search model runs offline. No telemetry, no analytics, no cloud.
Network traffic happens only when you ask for it: live connectors call their own services, and EMBEDDING_PROVIDER=openai sends message text to OpenAI.
The network server is off until you start it, never runs without a key, and stores only hashes of its keys. Over the network it can search, not add or read files.
CONTRIBUTING.md covers building from source, running the tests and adding a connector.
Released: Nov 30, 2026
Author: Caleb Christiansen
Both files in this release have provenance metadata.
View provenance details
all dev discord-live signal
ai hybrid-search mcp memory personal search vector
License OSI Approved :: MIT License
Operating System OS Independent
Programming Language Python :: 3
Topic Communications :: Chat
Database :: Database Engines/Servers
Scientific/Engineering :: Artificial Intelligence
Release files for memoreei 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 768.5 kB
Release files / memoreei-0.5.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Release files / memoreei-0.5.0-py3-none-any.whl
Security for memoreei 0.5.0
Both files in this release have been uploaded with provenance metadata.
With provenance memoreei-0.5.0.tar.gz Nov 30, 2026
With provenance memoreei-0.5.0-py3-none-any.whl Nov 30, 2026
Attestation for memoreei-0.5.0.tar.gz
Attestation for memoreei-0.5.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files Full provenance
Nov 22, 2026 2 release files Full provenance
Nov 10, 2026 2 release files Full provenance
Nov 9, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 11, 2026 2 release files Full provenance
Oct 8, 2026 2 release files Full provenance
Oct 3, 2026 2 release files Full provenance
Sep 27, 2026 2 release files Full provenance
Sep 26, 2026 2 release files Full provenance
Apr 1, 2026 2 release files Full provenance
Mar 31, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











