1. Home
  2. Threadkeep
  3. Guide
  4. How to use your ChatGPT history in Cursor

How to use your ChatGPT history in Cursor

3 min readThreadkeep

You worked something out in ChatGPT last month and now you need it in Cursor. Threadkeep keeps the chats you saved as Markdown files in a folder on your computer. Our free threadkeep-mcp program lets Cursor search that folder as an MCP server.

You need Threadkeep 2.1 or newer, in Chrome, and Node.js 20 or newer.

1. Save the chats and write the folder

  1. Install Threadkeep. Open a chat on chatgpt.com, click the Threadkeep button in the toolbar and click "I agree" the first time. Click "Save to library" on each chat you want.
  2. Open Threadkeep's settings page and click "Open your library".
  3. In the "Memory folder" section, press "Choose folder". Read the notice, press "Choose folder" in it, and pick a folder such as "Threadkeep Memory" in Documents.
  4. Press "Export memory folder".

2. Add the server to Cursor

Put this in ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project), with the full path of your memory folder:

{
  "mcpServers": {
    "threadkeep": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "threadkeep-mcp@0.1", "--dir", "/Users/you/Documents/Threadkeep Memory"]
    }
  }
}

By default Cursor asks before it runs a tool. You can switch the server on and off under Customize.

3. Ask

In Cursor's chat, ask: "Search my saved chats for the retry logic we planned." Cursor calls search_chats, then get_chat to read the chat it found. The server has three read-only tools: search_chats, get_chat and list_chats.

Limits

  • Cursor sees only the chats you saved. On Free the folder changes only when you press "Export memory folder". On Pro it also updates after every save. After a browser restart Chrome may ask again: press "Resume syncing" on the library page.
  • Search finds words, not meaning. Every word must match.
  • The server refuses to start on a folder without a Threadkeep index, so it cannot be pointed at your home folder by mistake.

Privacy

Nothing in the folder is sent to us. threadkeep-mcp only reads it and opens no network connection. An AI app you connect can send what it reads to its provider: Cursor sends tool results to the model you use there.

Threadkeep and threadkeep-mcp are made by SKILLMERC. They are not made by, endorsed by or affiliated with OpenAI or Anysphere. ChatGPT is a trademark of OpenAI. Cursor is a trademark of Anysphere, Inc.

Threadkeep

Free browser extension: saves the AI chat you have open as Markdown, text, JSON, PDF or Word, and keeps a library you can search. The chat stays in your browser.

Add to Chrome, free

On Firefox? Get it on Firefox Add-ons.


More guides

About Threadkeep · All Threadkeep guides