地址在: https://github.com/Anthonyeef/cursor-usage
也是学习的 ccusage ,看了一下好像没有人做 cursor 用量的类似的工具,就自己做了一个
快速尝试:
npx cursor-usage@latest daily
需要是 mac 用户,需要是 cursor 用户。原理是 call 了 cursor 自己 usage 页面在用的接口
也提供了 json 输出的 flag ,方便有需要用这个库做二次开发的人