Search your past ChatGPT conversations directly from Claude Desktop. Switched from ChatGPT to Claude? Now you can ask Claude things like "What did I discuss about marketing strategy in ChatGPT?" and get real answers — without going back to ChatGPT. Step 1 — Export your ChatGPT data In ChatGPT: Settings → Data Controls → Export Data. You'll get an email with a .zip file. Step 2 — Run the installer
Add this skill
npx mdskills install Lioneltristan/chatgpfreeWell-documented MCP server with useful ChatGPT history search tools and clear setup instructions
1# ChatGPT history for Claude23**Search your past ChatGPT conversations directly from Claude Desktop.**45Switched from ChatGPT to Claude? Now you can ask Claude things like *"What did I discuss about marketing strategy in ChatGPT?"* and get real answers — without going back to ChatGPT.67891011---1213## Install (macOS)1415**Step 1 — Export your ChatGPT data**1617In ChatGPT: Settings → Data Controls → Export Data. You'll get an email with a `.zip` file.1819**Step 2 — Run the installer**2021Open Terminal (⌘ Space → type "Terminal") and paste:2223```bash24curl -fsSL https://raw.githubusercontent.com/Lioneltristan/chatgpfree/main/install.command | bash25```2627Select your export file when prompted. Claude Desktop restarts automatically.2829**Step 3 — Search**3031Ask Claude anything:32- *"Search my ChatGPT history for Python debugging"*33- *"What did I discuss about marketing in ChatGPT?"*34- *"Show me my ChatGPT conversations from January 2024"*3536---3738## What it does3940| Tool | Description |41|------|-------------|42| `chatgpt_search` | Full-text search across all conversations with optional date filters |43| `chatgpt_get_conversation` | Retrieve the full content of any conversation by ID |44| `chatgpt_list_conversations` | Browse conversations by date with pagination |45| `chatgpt_stats` | Usage overview: total conversations, messages, monthly activity |4647---4849## Privacy5051Everything runs locally on your machine. Your conversations are never uploaded anywhere.5253- No API keys required54- No external network calls55- Open source — read every line of code5657---5859## How it works6061Your ChatGPT export is parsed and indexed in memory using TF-IDF when Claude Desktop starts. When you ask Claude to search your history, it calls the local MCP server which responds instantly from the in-memory index.6263---6465## Requirements6667- macOS68- Python 3.10+69- [Claude Desktop](https://claude.ai/download)7071---7273## Manual setup (advanced)7475If you prefer to configure manually, add this to `~/Library/Application Support/Claude/claude_desktop_config.json`:7677```json78{79 "mcpServers": {80 "ChatGPT history": {81 "command": "uvx",82 "args": [83 "--from", "git+https://github.com/Lioneltristan/chatgpfree",84 "chatgpt-history-mcp",85 "--export-path", "/path/to/conversations.json"86 ]87 }88 }89}90```9192---9394## Troubleshooting9596**No conversations showing up**97Make sure your export file path is correct. The installer copies it to `~/Library/Application Support/Claude/chatgpt-history/conversations.json`.9899**Claude Desktop not picking up the server**100Restart Claude Desktop after running the installer. Check that the config file is valid JSON.101102---103104## Roadmap105106- [ ] Publish to PyPI for `uvx chatgpt-history-mcp` (no `--from` needed)107- [ ] Semantic search with local embeddings108- [ ] Support for other AI chat exports (Gemini, Copilot)109110---111112MIT — [lionelmorlot.com/chatgpfree](https://lionelmorlot.com/chatgpfree)113
Full transparency — inspect the skill content before installing.