Chat history folder

Hi all, where is the chat history stored?
I love Cursor but I just changed PC, while working on a same project, same folder but chat history is gone.

Thanks!

3 Likes

Hi @rudeevelops ,

Hopefully someone can give you a more satisfying/useful answer, but in previous posts on the topic of exporting chat history, I have seen this post referred to, which refers to a location where chat history is saved:

In response to that post, one user asked if there was a way to move data from one computer to another but hasn’t received a response yet:

Another user has put up a GitHub Repo that has this explanation:

Cursor’s chat history is stored in sqlite3 databases using state.vscdb files. One such file is for one workspace. All the chats for a workspace are saved here in so called tabs , one tab means a single chat.

Their post announcing the repo is here:

For reference, the Cursor team have noted the ‘export chat history’ feature request:

4 Likes

Thanks a lot!
Would be great if a centralized/synced approach based on user account is implemented so Cursor usage is not dependent on a local workstation.
Are you aware if core team are working on anything similar?

1 Like

I made a cursor chat log browser which lets you browse and download your logs.
cursor-chat-browser on github…