Claude Code usage
CursorLens
An open-source dashboard for Cursor.sh IDE. Log AI code generations, track usage, and control AI models (including local ones). Run locally or use upcoming hosted version.
Install
git clone https://github.com/HamedMP/CursorLens.gitFrom the README
Cursor Lens ✨ Cursor Lens is an open-source tool designed to provide insights into AI-assisted coding sessions using Cursor AI. It acts as a proxy between Cursor and various AI providers, logging interactions and providing detailed analytics to help developers optimize their use of AI in their coding workflow. We are live on ProductHunt today, please upvote us if you find this useful! 🙏 Features - AI Provider Integration: Supports multiple AI providers including OpenAI, Anthropic, and more. - Request Logging: Captures and logs all requests between Cursor and AI providers. - Analytics Dashboard: Provides visual analytics on AI usage, including token consumption and request patterns. - Configurable AI Models: Allows users to set up and switch between different AI configurations. - Real-time Monitoring: Offers a live view of ongoing AI interactions. - Token Usage Tracking: Monitors and reports on token usage across different models. - Cost Estimation: Provides estimated costs based on token usage and model pricing. Technology Stack - Frontend/Backend: Next.js with React - Database: PostgreSQL with Prisma ORM - AI Library: Vercel AI SDK - Styling: Tailwind CSS with shadcn/ui components Getting Started For detailed installation instructions, please refer to our Installation Guide. Prerequisites - Node.js (v14 or later) - pnpm - PostgreSQL - ngrok Quick Installation Steps 1. Clone the repository 2. Install dependencies with pnpm install 3. Set up environment variables 4. Set up the database with pnpm prisma migrate dev 5. Build the project with pnpm build 6. Set up ngrok 7. Configure Cursor to use your ngrok URL as the API endpoint For full details on each step, please see the Installation Guide. Usage 1. Configure Cursor to use Cursor Lens as its API…
Details
- Repository
- HamedMP/CursorLens
- Website
- www.cursorlens.com
- Language
- TypeScript
- License
- AGPL-3.0
- Last updated
- 2 November 2024
- Topics
- analyticsclaudecodingcursor
FAQ
What is CursorLens?
An open-source dashboard for Cursor.sh IDE. Log AI code generations, track usage, and control AI models (including local ones). Run locally or use upcoming hosted version. It is a usage for Claude Code, from HamedMP/CursorLens on GitHub.
How do I install CursorLens?
Clone HamedMP/CursorLens from GitHub and follow the setup steps in its README.
Is CursorLens popular?
HamedMP/CursorLens has 402 GitHub stars and 45 forks. It was last updated on 2 November 2024.
More usage & cost trackers
Klaatcode
353KlaatAI/klaatcode
Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.
Myrlin Workbook
389therealarthur/myrlin-workbook
Open-source workspace manager for AI coding CLIs: Claude Code and ChatGPT Codex in one browser app. Discovers every session on disk, embedded terminals, phone-ready, cost tracking, kanban, docs. Windows, macOS, Linux.
Clauditor
430IyadhKhalfallah/clauditor
Stop Claude Code from burning through your quota in 20 minutes. Auto-rotates oversized sessions and preserves context.
Codex Island
364ericjypark/codex-island
CodexIsland - AI usage limits in your MacBook notch
Claude Lens
253foyzulkarim/claude-lens
Local dashboard visualising Claude Code sessions, token costs, cache performance and tool calls.
Splitrail
227Piebald-AI/splitrail
Fast cross-platform real-time token usage and cost tracker for Claude Code and other agent CLIs.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.