What is cursor-usage?
cursor-usage is a MCP server by ofershap that aI coding usage analytics: track spend, model usage and costs across Cursor and Claude Code sessions. It is listed under Developer tools and has 8 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | ofershap |
| Repository | ofershap/cursor-usage |
| Popularity | 8 GitHub stars |
| Category | Developer tools |
| Security | Low risk (96/100) |
| Rank | #1,865 of 4,418 MCP servers; #420 in Developer tools |
| License | MIT |
| Last commit | 2026-02-19 |
| Runs | Locally |
| Language | TypeScript |
Is cursor-usage safe to install?
cursor-usage scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Read-only by description | Pass |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install cursor-usage?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/ofershap/cursor-usage
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add cursor-usage -- <command from README> claude mcp add --transport http cursor-usage <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs cursor-usage for you:
Add the "cursor-usage" MCP server from https://github.com/ofershap/cursor-usage to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.