Skip to main content
Glama

memorypass

Take your AI memory with you.

CI PyPI License: MIT

memorypass demo

ChatGPT has known you for months. Then you open Claude, Cursor or a local model, and you start from zero again.

memorypass imports your ChatGPT, Claude and Gemini history, keeps it on your machine, and lets any MCP app (Claude Desktop, Claude Code, Cursor and more) know who you are from the first message.

$ pipx install memorypass
$ memorypass import ~/Downloads/chatgpt-export.zip ~/Downloads/claude-export.zip
[OK] chatgpt-export.zip: chatgpt, 1,284 conversations, 19,402 messages
[OK] claude-export.zip: claude, 312 conversations, 4,118 messages
$ memorypass install claude-desktop
[OK] Added memorypass to claude_desktop_config.json. Restart claude-desktop to load it.

Then ask Claude: "What do you know about me, and what was I planning for Kyoto last year?"

What it does

  • Imports your exports. ChatGPT and Claude (conversations.json), and Gemini from Google Takeout. Point it at the .zip or the unzipped folder; it works out which one it is.

  • Keeps everything local. One SQLite file with full-text search in ~/.memorypass. No account, no cloud, no telemetry. Nothing leaves your machine unless your AI app reads it.

  • Gives you a profile you control. ~/.memorypass/profile.md is plain Markdown: who you are, what you work on, how you like answers. Edit it by hand; AI apps can add lines with the remember tool.

  • Serves it over MCP. Five tools: get_profile, search_history, read_conversation, recent_conversations, remember.

  • Installs in one command for Claude Desktop, Claude Code and Cursor, keeping your existing servers (and a backup of the old config).

Related MCP server: ChatAtlas-local

Get your exports

App

Where

ChatGPT

Settings > Data controls > Export data. You get an email with a .zip.

Claude

Settings > Privacy > Export data. You get an email with a .zip.

Gemini

Google Takeout: select only "My Activity", then "Gemini Apps", format JSON.

Commands

memorypass import <export.zip or folder> [...]   # import one or more exports (re-importing replaces, never duplicates)
memorypass search kyoto vegetarian               # search your history from the terminal
memorypass remember "I write Python and Rust"    # add a fact to your profile
memorypass stats                                 # what has been imported
memorypass install claude-desktop|cursor|claude-code
memorypass serve                                 # the MCP server (your AI app starts it for you)

Set MEMORYPASS_HOME to keep the data somewhere else.

Privacy

Your exports contain everything you ever typed to an AI. memorypass reads them locally, stores them locally, and has no network code. Your AI app only sees what it asks for through the tools above, and you can delete ~/.memorypass at any time.

Want it on every device?

memorypass is local and single-machine by design. If you want the same memory in ChatGPT on the web, on your phone and at work, NestDaddy Memory is the hosted version from the same team.

Development

pip install -e ".[test]"
pytest

MIT licensed. Issues and pull requests welcome.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      our ChatGPT and Claude chat history in one local SQLite file, imported from their data exports. Read-only tools to search and read past conversations; no network.
      5
      306 npm
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables Codex, Claude Code, and other MCP-capable clients on the same computer to share local SQLite long-term memory with Chinese keyword search, project scoping, revision history, and Markdown export. It does not automatically capture conversations or synchronize across devices.
      15
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables users to import, synchronize, index, and search their conversations from Gemini, Search AI Mode, AI Studio, NotebookLM, My Activity, and related services through MCP clients. It also fetches individual chats from pasted URLs for continuation or project creation, storing local Markdown transcripts and providing SQLite FTS5 full-text search.
      6
      MIT