LLM Usage for Cursor
io.github.zhaoyue722/llm-usage-mcp
Local-first, multi-provider tool that captures LLM API spend and exposes it to coding agents via MCP
client:Cursor
transport:stdio
runtime:pypi
Install LLM Usage in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"llm-usage-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"llm-usage-mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs