# hnt504/chatatlas-local [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/hnt504/chatatlas-local  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hnt504-chatatlas-local

## Description
Your 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.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/hnt504/chatatlas-local), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install -g chatatlas-local
```

2. Add to your MCP client:

```sh
chatatlas-local setup claude-desktop --write
```

3. Check the setup:

```sh
chatatlas-local setup                 # shows each app's settings, and whether it's connected
```

4. Add to your MCP client:

```sh
chatatlas-local setup cursor --write  # or vscode, windsurf, gemini-cli, codex
```

5. Add to your MCP client:

```sh
chatatlas-local setup claude-desktop --inbox ~/Downloads --write  # whenever Claude Desktop is open
```

## Documentation

## What hnt504/chatatlas-local does

hnt504/chatatlas-local brings exported ChatGPT and Claude conversations into one local archive. It accepts the original export ZIP files, their extracted contents, individual conversation files, and ChatAtlas backup files. Imported conversations can then be searched from the command line, viewed in a browser, or read by an MCP-compatible assistant.

The archive is intended for personal, local use. The application does not connect to the internet, send telemetry, or require an account. An assistant connected through MCP receives read-only access to the archive: it can find and read conversations, but cannot modify, tag, or delete them through the MCP tools.

## How it works

Install the command globally with npm, then import one or more ChatGPT or Claude exports. Reimporting a newer export adds new conversations and updates changed ones without duplicating existing chats. A watched folder can also import exports automatically as they are saved.

The command-line interface supports searches that match every supplied word, browsing by platform or date, opening individual conversations, viewing recent topics, checking archive statistics, and exporting chats as Markdown or a ChatAtlas backup. The `open` command starts a browser view of the archive.

MCP connections can use the standard local application setup for supported clients or a local HTTP endpoint. The HTTP mode listens on `127.0.0.1` and supports an explicit `--allow-origin` list for browser-based assistants. Its default MCP address is `http://127.0.0.1:8770/mcp`.

## Setup and configuration

Node.js 22.16 or newer, or Node.js 24, is required. Install the package with:

```sh
npm install -g chatatlas-local
```

Import exports with a command such as:

```sh
chatatlas-local import ~/Downloads/chatgpt-export.zip ~/Downloads/claude-export.zip
```

For Claude Desktop, install the MCP bundle from the latest GitHub release or run `chatatlas-local setup claude-desktop --write`. The setup command can also configure Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, and Codex. Using `--write` preserves a copy of the client’s previous settings file beside it.

To connect a browser-based assistant, start the local endpoint with `chatatlas-local mcp --http --allow-origin http://localhost:8081`, then add the resulting MCP URL in the assistant. Use `--port` to select another port and `--verbose` to log requests without logging chat contents or search terms.

## Tools and capabilities

The MCP interface provides these read-only tools:

- `search_chats` finds chats containing all requested words and returns a relevant message excerpt.
- `list_chats` browses conversations by platform, date, title words, or tag.
- `read_chat` reads a conversation message by message, with pagination for long chats.
- `recent_topics` groups discussion topics across a selected period.
- `archive_overview` reports what the archive contains and its date range.

The CLI also provides `import`, `search`, `list`, `show`, `topics`, `stats`, `open`, `watch`, `setup`, `skill`, `tag`, `forget`, and `export` commands. The `watch` command monitors a folder for ChatGPT and Claude exports and reads each file once.

## Limitations and notes

ChatGPT cannot directly access files on the local computer, so ChatGPT exports can be imported and searched through ChatAtlas Local but cannot be queried by ChatGPT itself. Browser assistants need an HTTP MCP connection, while desktop and command-line clients can use their normal MCP configuration. Claude conversations with hidden retry or edit branches require the separate browser-console export procedure described by the project.

The MCP tools are read-only even though the CLI can tag or forget archived chats. The local HTTP endpoint is restricted to loopback by default and only accepts browser origins explicitly supplied with `--allow-origin`.

_Full upstream README: https://allmcps.com/mcp/hnt504-chatatlas-local/readme_

