@modelstat/mcp 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
# @modelstat/mcp
|
|
2
2
|
|
|
3
|
-
Ask any MCP-compatible AI tool — Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed — about your token spend directly in the chat.
|
|
3
|
+
Ask any MCP-compatible AI tool — Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed — about your token spend directly in the chat. The same numbers you see on the [modelstat dashboard](https://modelstat.ai/dashboard), answered inline:
|
|
4
4
|
|
|
5
5
|
- "How much did I spend on Cursor this week?"
|
|
6
6
|
- "Total $ I spent debugging the chainvisor project."
|
|
7
7
|
- "Show me recent sessions over $5."
|
|
8
8
|
- "What's this session costing so far?"
|
|
9
9
|
|
|
10
|
+
<!-- dashboard screenshot: drop assets/activities-screenshot.png here when available -->
|
|
11
|
+
|
|
12
|
+
**Where the data comes from** — the MCP queries the right-hand box; the rest runs on your machine:
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
your AI coding tools on YOUR machine modelstat cloud
|
|
16
|
+
┌──────────────────────────┐ ┌─────────────────────────┐ ┌──────────────────────┐
|
|
17
|
+
│ Claude Code · Codex │ │ modelstat daemon │ │ analytics dashboard │
|
|
18
|
+
│ Cursor · Cline · Aider │ session │ • parse + price turns │ redacted │ spend & ROI grouped │
|
|
19
|
+
│ Windsurf · Zed · Copilot │ ───────▶ │ • redact (PII / keys) │ ───────▶ │ by activity · repo · │
|
|
20
|
+
│ Claude Desktop · … │ logs │ • summarize (local LLM) │ HTTPS │ model · person — │
|
|
21
|
+
│ (logs already on disk) │ │ → tokens + abstract │ │ the charts above │
|
|
22
|
+
└──────────────────────────┘ └─────────────────────────┘ └──────────────────────┘
|
|
23
|
+
|
|
24
|
+
↑ raw prompts, code & secrets never leave your machine ↑
|
|
25
|
+
```
|
|
26
|
+
|
|
10
27
|
**No daemon required.** If the [modelstat daemon](https://modelstat.ai/install) is installed, the MCP reuses its device token automatically (fast path). If not, the first tool call opens a browser tab to connect this MCP to your account (one-time), then remembers it in `~/.modelstat/mcp-auth.json`.
|
|
11
28
|
|
|
12
29
|
## Install
|