Metadata-Version: 2.5
Name: memorypass
Version: 0.1.0
Summary: Take your AI memory with you: import your ChatGPT, Claude and Gemini history, keep it on your machine, and let any MCP app (Claude, Cursor, Claude Code) know you from day one.
Project-URL: Homepage, https://github.com/nestdaddy-ai/memorypass
Project-URL: Issues, https://github.com/nestdaddy-ai/memorypass/issues
Author-email: NestDaddy <hello@nestdaddy.com>
License-Expression: MIT
License-File: LICENSE
Keywords: ai,chatgpt,claude,export,gemini,local-first,mcp,memory,portability
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: mcp<3,>=1.2
Provides-Extra: test
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# memorypass

**Take your AI memory with you.**

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.

```console
$ 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).

## 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](https://takeout.google.com): select only "My Activity", then "Gemini Apps", format JSON. |

## Commands

```console
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](https://nestdaddy.com/memory) is the hosted version from the same team.

## Development

```console
pip install -e ".[test]"
pytest
```

MIT licensed. Issues and pull requests welcome.
