CLI Profile
Cursor History CLI
Observed ListingS2thendvlatest
The ultimate CLI tool and library to browse, search, export, migrate, and backup your Cursor AI chat history
Install Matrix
npm
sha256: 13a2ee7b291cee58dfe8380e33ba8c5b56562518d9d938d9a2cb6db7d1d22acf
Auth Guide
API Keydefault
Token refresh: Rotate Cursor History CLI token/credential in provider settings.
Step 1
Export required environment variables: CURSOR_HISTORY_TOKEN
Command Map
Global Flags
- --help (boolean) - Display command help and usage options.
Developer Loop
Display help output
Output: Tabledeveloper-loop
Example 1
Example 2
Known errors: Invalid credentials; Migration/schema conflict; Connection refused
cursor-history version
Display tool version
Output: Tabledeveloper-loop
Example 1
Example 2
Known errors: Invalid credentials; Migration/schema conflict; Connection refused
List available resources
Output: JSONdeveloper-loop
Example 1
Example 2
Known errors: Resource not found for current context; Migration/schema conflict; Connection refused
cursor-history status
Show runtime status
Output: JSONdeveloper-loop
Example 1
Example 2
Known errors: Resource not found for current context; Migration/schema conflict; Connection refused
cursor-history config
Show current configuration
Output: Tabledeveloper-loop
Example 1
Example 2
Known errors: Invalid credentials; Migration/schema conflict; Connection refused
Workflow Recipes
No workflow chains currently reference this CLI.