Chatatlas Local logo

Chatatlas Local

by hnt504

Search imported ChatGPT and Claude conversations locally through read-only MCP tools, a CLI, or a browser interface.

Install Chatatlas Local

Run the project’s own setup commands, in order.

Setup steps from the project

hnt504/chatatlas-local installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g chatatlas-local
    
  2. 2. Add to your MCP client
    chatatlas-local setup claude-desktop --write
    
  3. 3. Check the setup
    chatatlas-local setup                 # shows each app's settings, and whether it's connected
    
  4. 4. Add to your MCP client
    chatatlas-local setup cursor --write  # or vscode, windsurf, gemini-cli, codex
    
  5. 5. Add to your MCP client
    chatatlas-local setup claude-desktop --inbox ~/Downloads --write  # whenever Claude Desktop is open
    

Overview

hnt504/chatatlas-local stores ChatGPT and Claude data exports in a local SQLite archive and exposes read-only MCP tools for searching and reading conversations. It runs without network access, accounts, or telemetry, keeping the archive on the local computer. Use it when an assistant needs context from past chats, or when you want terminal and browser access to the same history. Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, and Codex can connect through the provided setup commands.

Use cases

  • Search old ChatGPT and Claude conversations from an AI assistant
  • Import new exports without duplicating existing chats
  • Browse archived conversations in a local browser interface
  • Export archived chats as Markdown files
  • Connect a local model through an HTTP MCP endpoint

Key features

  • Local SQLite archive for ChatGPT and Claude exports
  • Read-only MCP search and conversation-reading tools
  • Command-line search, browsing, statistics, and export
  • Automatic import from a watched folder
  • Local browser interface
  • Loopback HTTP MCP endpoint with origin controls

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit19d agoMost recent push to the default branch.

How Chatatlas Local works

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:

Terminal
npm install -g chatatlas-local

Import exports with a command such as:

server.ts
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chatatlas Local

hnt504/chatatlas-local is an MCP server that connects AI assistants to local ChatGPT and Claude export archives stored in SQLite. Its main tools search chats, list conversations, read messages, summarize recent topics, and describe archive coverage. It runs without network access and exposes the archive to assistants in read-only form.

Install it with Node.js 22.16 or newer using `npm install -g chatatlas-local`. Import ChatGPT or Claude export files with `chatatlas-local import`, then run `chatatlas-local setup` or a client-specific setup command to configure an MCP client.

Yes, Cursor is supported through `chatatlas-local setup cursor --write`. The command updates Cursor’s MCP settings and keeps a copy of the previous settings file before making changes.

No, ChatGPT cannot reach the local archive directly. You can import ChatGPT data exports into ChatAtlas Local and search those conversations through the terminal, browser view, or another connected MCP assistant.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChatatlas Local AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hnt504-chatatlas-local?style=directory)](https://allmcps.com/mcp/hnt504-chatatlas-local)
HTML Embed
<a href="https://allmcps.com/mcp/hnt504-chatatlas-local"><img src="https://allmcps.com/api/badge/hnt504-chatatlas-local?style=directory" alt="Chatatlas Local on AllMCPs" /></a>