ChatAtlas Local is an open-source tool designed to solve the problem of ChatGPT and Claude chat records being scattered and hard to retrieve. By importing the data export files provided by these two platforms, it stores all conversations centrally in a single local SQLite file and offers multiple ways to search and access them.
Main capabilities include:
- Unified search: search all imported chat records simultaneously from the terminal or a browser interface.
- AI assistant integration: through the MCP (Model Context Protocol) protocol, assistants such as Claude Desktop, Claude Code, Cursor, and VS Code can read the archive in read-only mode and answer questions such as "What did ChatGPT say about sourdough starter?".
- Permanent preservation: chat records can be exported as plain Markdown files or backups, unaffected by changes to the original apps.
- Automatic import: you can designate an export folder to automatically import newly downloaded ChatGPT or Claude export files.
- Branch preservation: for older versions hidden in Claude chats due to retries or edits, a script is provided to export all branches.
How to use:
- Requirements: Node.js 22.16 or newer (or 24); 23 is not supported.
- Installation: before the first npm release, you can install via
npm install -g github:hnt504/chatatlas-localfrom GitHub. - Get export files: export data in ChatGPT settings and export data in Claude settings; both will send you an email link containing a .zip file.
- Import: use the
chatatlas-local importcommand to import export files; you can import repeatedly to update. - Connect assistants: you can download the .mcpb extension file to install in Claude Desktop, or configure the MCP server via the command line. For in-browser assistants (such as llama.cpp, Open WebUI), you can use
mcp --httpto start a local HTTP service and addhttp://127.0.0.1:8770/mcpas an MCP server. - Search and filter: supports commands such as
search、list、export、topics, and you can use filter options such as--platform、--tag、--since、--until、--title、--limit、--offset、--json.
Use cases:
- Users who need to search past conversations across ChatGPT and Claude.
- Users who want to use AI assistants to analyze their own chat records.
- Users who value privacy and want data stored entirely locally.
- Users who need long-term backups of chat records.
Limitations:
- Currently only supports export files from ChatGPT and Claude; other platforms such as Gemini are not yet supported.
- ChatGPT cannot directly access local files, so the archive cannot be read through ChatGPT, but its export files can be imported and searched by other means.
- Requires Node.js 22.16+ or 24.
- All assistant access is read-only; chat records cannot be modified, tagged, or deleted.
- The browser view and HTTP service only listen on 127.0.0.1 and require a random key or a specified origin.
Privacy and security:
- No account, no server, no telemetry, never connects to the internet.
- Data is stored in
~/.chatatlas-local/chatatlas.db, and can be accessed via--dbor the environment variableCHATATLAS_LOCAL_DBChanges. - Original export files are not modified or deleted.
- When connected to an AI assistant, the content read by the assistant enters that assistant's conversation and is subject to its privacy policy.
ChatAtlas Local is free and open source (MIT license) and uses the same backup format as hosted ChatAtlas Pro; they can import and export to each other.