ChatAtlas Local

io.github.hnt504由 GitHub 帳號 hnt504 發布v0.1.2更新於 Oct 29, 2026

Search and read your saved ChatGPT and Claude chats, kept on your own computer.

發布方自己的服務:Red Atlas Api

已驗證STDIO僅桌面檔案與儲存知識與記憶

概覽

AI 產生的概覽

本機唯讀的 ChatGPT 與 Claude 對話典藏,助理可在你自己的電腦上搜尋、瀏覽與閱讀已匯入的對話。

可以做什麼
  • 依標題與訊息中的詞彙搜尋已儲存的對話,並引用最相符的訊息
  • 依平台、日期、標題詞彙或標籤瀏覽對話,最新在前
  • 逐則閱讀一段對話,長對話與超長訊息可分頁續讀
  • 彙整某段時間內聊過的主題,含各平台數量與熱門標籤
  • 查看典藏內容、涵蓋日期範圍、標籤與最近匯入時間
適用情境
適合使用者提到先前與 ChatGPT 或 Claude 的某段對話、想找出或比較過去的工作,或想接續處理在另一個 AI 應用中做出的決定與計畫時使用。它只包含使用者已匯入的匯出檔內容。
執行需求
透過 npx 在本機執行(npm 套件 chatatlas-local),需要 Node.js 22.16 或更新版本,或 24 以上。使用者須先匯入 ChatGPT 或 Claude 的資料匯出檔。選用設定:CHATATLAS_LOCAL_DB 指定典藏檔位置,CHATATLAS_LOCAL_INBOX 指定監看的匯出資料夾。不需帳號、API 金鑰或網路連線。
安裝前請注意
典藏包含使用者的私人對話;助理讀取的內容會成為該對話的一部分,並受該助理自身的隱私政策約束。MCP 工具為唯讀,但命令列工具可以加標籤、移除與匯出對話。典藏只反映已匯入的匯出檔,較新的對話可能缺漏。安裝 Claude Desktop 擴充功能時會出現廣泛存取權限警告,這是所有從檔案安裝的擴充功能都會顯示的提示。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ChatAtlas Local,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[圖片]

ChatAtlas Local

Your ChatGPT and Claude chats, searchable on your own computer.
Ask Claude about them. Nothing leaves your machine.

[Tests] [Node 22.16 or newer, or 24] [MIT license] [ChatAtlas Local on Glama]

[ChatAtlas Local in the browser: a search for "sourdough" with the matching chat open]

You've had hundreds of conversations with AI assistants. The good answers, the decisions, the half-finished plans are scattered across ChatGPT and Claude, and their own search barely helps.

ChatAtlas Local takes the data exports both of them already give you and keeps every chat in one file on your computer. Then you can:

  • Search everything at once, from the terminal or in your browser.
  • Ask Claude about it: "what did ChatGPT tell me about my sourdough starter?" or "find the chat where I planned the garden beds." Claude Desktop, Claude Code, Cursor, VS Code and others can read your archive through MCP.
  • Keep it forever, as plain Markdown files or a backup, whatever happens to the apps.

No account, no server, no telemetry. It never connects to the internet.

Get started

You need Node.js 22.16 or newer (or 24). Then:

sh
npm install -g chatatlas-local

Before the first npm release, install it straight from GitHub: npm install -g github:hnt504/chatatlas-local

1. Ask for your exports

  • ChatGPT: Settings → Data controls → Export data. You get an email with a link to a .zip.
  • Claude: Settings → Privacy → Export data. Same idea: an email, then a .zip.

2. Bring them in

sh
chatatlas-local import ~/Downloads/<your ChatGPT export>.zip ~/Downloads/<your Claude export>.zip
✓ 6720ab…-2026-10-21.zip: ChatGPT, 1,284 chats (1,284 new)✓ data-2026-10-21.zip: Claude, 412 chats (412 new)

Do it again whenever you like with a newer export: new chats come in, changed ones update, nothing doubles up. Or let it happen by itself (see Exports folder).

One Claude chat, every branch. On claude.ai, Retry or editing a message hides the old reply behind a small version switcher, and the next sync of most tools keeps only what is on screen. To save a chat with all of its branches, open it in Chrome, press F12, choose Console, and paste:

js
(async () => {  const id = location.pathname.match(/\/chat\/([0-9a-f-]+)/)[1];  const [org] = await fetch('/api/organizations').then((r) => r.json());  const chat = await fetch(`/api/organizations/${org.uuid}/chat_conversations/${id}?tree=True&rendering_mode=messages&render_all_tools=true`).then((r) => r.json());  const a = Object.assign(document.createElement('a'), { href: URL.createObjectURL(new Blob([JSON.stringify(chat)])), download: `claude-${id}.json` });  a.click();})();

Then chatatlas-local import claude-<id>.json. The branch on screen comes first; each hidden branch follows it, opening with "Earlier version, hidden on claude.ai by a retry or an edit."

3. Look around

sh
chatatlas-local search sourdough starterchatatlas-local open            # the browser view in the screenshot above

Connect Claude (and friends)

Claude Desktop

Either download chatatlas-local-<version>.mcpb from the latest release and open it with Claude Desktop (it asks where your exports go; no terminal needed), or, with the command installed:

sh
chatatlas-local setup claude-desktop --write

Quit Claude Desktop completely and open it again. Then ask it something like "Search my old chats for the kitchen remodel estimate."

About the red warning. When you open the extension, Claude Desktop says installing it "will grant this extension access to everything on your computer." It says that for every extension installed from a file rather than from Anthropic's directory, because an extension is a program that runs as you. Here's what this one actually does: it reads your exports and its own archive file, never connects to the internet, and gives Claude read-only tools. The code is all here to check.

Claude Code

Install it as a plugin (the MCP tools and a skill that teaches Claude when to look here):

/plugin install chatatlas-local --marketplace hnt504/chatatlas-local

Or, with the command installed:

sh
chatatlas-local setup claude-code --write   # the MCP tools, for every projectchatatlas-local skill                       # teaches Claude Code when to look here

Cursor, VS Code, Windsurf, Gemini CLI, Codex

sh
chatatlas-local setup                 # shows each app's settings, and whether it's connectedchatatlas-local setup cursor --write  # or vscode, windsurf, gemini-cli, codex

--write keeps a copy of the app's old settings file next to it before changing anything.

What about ChatGPT?

ChatGPT can't reach a file on your computer, so it can't read your archive here. You can still import your ChatGPT exports and search them from Claude, the terminal or the browser view.

What the assistant can do

Everything is read-only. An assistant can find and read your chats; it can't change, tag or delete anything.

ToolWhat it does
search_chatsChats holding every word you asked about, with the best-matching message quoted
list_chatsBrowse by platform, date, words in the title, or tag
read_chatRead a conversation message by message (long ones a page at a time)
recent_topicsWhat you talked about over a stretch of days, week by week
archive_overviewWhat the archive holds and how far back it goes

An exports folder

Point ChatAtlas Local at a folder (your Downloads, say) and any ChatGPT or Claude export you save there comes in by itself. Other files are left alone, and each file is only read once.

sh
chatatlas-local watch ~/Downloads                              # until you press Ctrl+Cchatatlas-local setup claude-desktop --inbox ~/Downloads --write  # whenever Claude Desktop is open

The Claude Desktop extension asks for this folder when you install it.

Commands

Command
import <file...>A ChatGPT or Claude export (the .zip, its conversations.json, or the unzipped folder), or a ChatAtlas backup
search <words...>Chats holding every word. Each word also finds longer words it starts ("plan" finds "planning"); accents don't matter
listNewest first
show <id>Read one chat. --md for Markdown, --json for the data. The start of an id is enough
topicsWhat you talked about lately (--days 90)
statsChats per platform, chats per month, your tags
openThe browser view. --read-only, --port 8765, --no-browser
tag <id> <tag...>Tag a chat (--remove takes tags off)
forget <id...>Take chats out of the archive
export <folder>Every chat as a Markdown file, or --format chatatlas for one backup file
watch <folder>Bring in exports saved there, and keep watching
setup [app] [--write]Connect an assistant
skillInstall the Claude Code skill
doctorCheck Node, the archive, the search index and every connected app
whereWhere the archive file is

Filters for search, list, export and topics: --platform chatgpt, --tag work, --since 2025-03, --until 2026, --title garden, --limit 50, --offset 50, --json.

Privacy policy

ChatAtlas Local is a program that runs on your computer. It has no servers and no accounts.

  • What it collects: nothing. It has no analytics, telemetry or crash reporting, and never makes a network connection.
  • What it stores, and where: the chats from the exports you import, plus any tags you add, in one SQLite file on your computer: ~/.chatatlas-local/chatatlas.db (chatatlas-local where says exactly where). Use another with --db <file> or the CHATATLAS_LOCAL_DB setting. It reads your export files and doesn't change or delete them.
  • Sharing: ChatAtlas Local shares nothing with anyone, including its author. If you connect an AI assistant (Claude Desktop, Claude Code, Cursor and so on), that assistant can search and read your archive through read-only tools when you ask it to, and what it reads becomes part of your conversation with it, under that assistant's own privacy policy.
  • The browser view listens on 127.0.0.1 only, answers only requests addressed to it, and every request needs a random key that only the tab it opened knows.
  • How long it's kept: until you delete it. chatatlas-local forget <id> removes a chat; removing the ~/.chatatlas-local folder removes everything. Your ChatGPT and Claude accounts are never touched.
  • Installing: npm (or GitHub, for the Claude Desktop extension) serves the download under its own terms; after that, nothing goes over the network.
  • Contact: questions go to GitHub issues; anything that could expose someone's chats goes privately through security advisories.

ChatAtlas Local and ChatAtlas Pro

ChatAtlas Local is free and open source, and stays that way. ChatAtlas Pro is the hosted version, for people who want more:

LocalPro
ChatGPT and Claude exports✓✓
Search by words✓✓
Claude Desktop, Claude Code, Cursor and more✓✓
Your data stays on your computer✓Kept in your account
Gemini, Grok, Perplexity, DeepSeek and moreThrough a ChatAtlas backup✓
Search by meaning✓
ChatGPT and claude.ai on the web✓
Folders, projects, any device✓

They speak the same backup format: chatatlas-local export <folder> --format chatatlas makes a file ChatAtlas Pro imports, and a ChatAtlas backup comes into ChatAtlas Local the same way.

Questions

Which Node do I need? 22.16 or newer, or 24 and up (23 won't do), because ChatAtlas Local uses the SQLite database built into Node. chatatlas-local doctor checks.

A chat I had yesterday isn't there. The archive holds what was in the exports you imported. Ask for a fresh export and import it (or drop it in your exports folder).

Can it read exports from Gemini or other apps? Not directly yet. ChatAtlas backups can carry chats from any platform, and support for more exports is welcome as a pull request.

How big does it get? About the size of the exports' text. A 60 MB export of 3,000 chats imports in about two seconds and searches in well under a tenth of a second.

Contributing

Bug reports and pull requests are welcome. See CONTRIBUTING.md.

License

MIT. Made by Heather Turner, who also makes ChatAtlas.

來源:README.md,提交 9c868d5

工具

5

search_chats

Search chats

Find the user's saved conversations that mention something: chats holding every word of the query in the title or messages (each word also matches longer words it starts, accents ignored), title matches first, then newest, with the best-matching message quoted. Each result has the chat's id for read_chat.

輸入參數taglimitquery必填sinceuntilplatform

list_chats

List chats

Browse the user's saved conversations, newest first, by platform, date, words in the title or tag. Each line has the chat's id for read_chat.

輸入參數taglimitsincetitleuntiloffsetplatform

read_chat

Read a chat

Read one saved conversation, message by message, numbered from 1. Long chats come a page at a time: carry on with from_message. A very long single message comes in parts: carry on with part.

輸入參數chat必填partfrom_message

recent_topics

Recent topics

What the user talked about with their AIs over a stretch of days: how many chats on each platform, the tags that come up most, and the chats' titles week by week.

輸入參數daysplatform

archive_overview

Archive overview

What the archive holds: how many chats from each platform, the dates they cover, the tags in use and when it was last imported.

無需輸入參數。

版本歷史

1
  1. v0.1.2最新Oct 23, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Atlas 整合