# io.github.andreisirbu91-lab/mcpspend (npm · @mcpspend/mcp-server)

Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections.

- Trust score: 69/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@mcpspend/mcp-server`: 69/100 (this document), [markdown](https://verifymcp.io/servers/andreisirbu91-lab-mcpspend/mcpspend-mcp-server.md), [page](https://verifymcp.io/servers/andreisirbu91-lab-mcpspend/mcpspend-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `@mcpspend/mcp-server`
- Version: `0.2.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 69 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 431 tokens (~71/item across 6 items; 6 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add andreisirbu91-lab-mcpspend -- npx -y @mcpspend/mcp-server
```

### Codex

```bash
codex mcp add andreisirbu91-lab-mcpspend -- npx -y @mcpspend/mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "andreisirbu91-lab-mcpspend": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@mcpspend/mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add andreisirbu91-lab-mcpspend --command npx --arg -y --arg @mcpspend/mcp-server
```

### Hermes

```yaml
mcp_servers:
  andreisirbu91-lab-mcpspend:
    command: "npx"
    args: ["-y", "@mcpspend/mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "andreisirbu91-lab-mcpspend": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpspend/mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 69, +28)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] Stability: unverified → 0.27
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional] Licence: MIT

### 2026-08-02 (score 41, +20)

- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass

### 2026-08-01 (score 21, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (6)

### `get_today_cost` (~33 tokens)

Get total tool-call cost and call count for the current day (UTC). Returns a human-readable summary plus structured data.

### `get_usage_this_month` (~52 tokens)

Returns calls used this month, plan limit, percentage used, and a projection for the rest of the month based on the current daily average. Use this to spot when an org is about to hit the cap.

### `list_top_tools` (~81 tokens)

Top tools by total cost over the past N days. Optionally limit how many entries to return. Useful for finding "what is the most expensive thing my agents do".

Input parameters:

- `days` (integer): Days back to consider (1-365). Default 7.
- `limit` (integer): Max entries to return (1-50). Default 10.

### `list_recent_sessions` (~54 tokens)

Recent agent sessions (each MCP-client process start = one session) with model, total cost, tool call count, and duration.

Input parameters:

- `limit` (integer): Max sessions to return (1-100). Default 20.

### `get_session_details` (~53 tokens)

Drill into a single session by ID: returns the session summary plus every tool call (up to 500) with timing, cost, and success.

Input parameters:

- `session_id` (string, required): Session ID from list_recent_sessions.

### `estimate_cost` (~158 tokens)

Estimate the USD cost of an MCP tool call BEFORE invoking it. Returns expected cost based on the historical average for this (server, tool, model) combo in this org over the last 30 days. Use this to make spend-aware decisions — e.g. confirm with the user before calling tools that would cost more than $0.10. Returns 0 + isUnknown=true when no history exists yet.

Input parameters:

- `model` (string): Optional model identifier for cost lookup. Falls back to the historical median for this tool when omitted.
- `serverName` (string, required): MCP server name, e.g. "playwright" or "github".
- `toolName` (string, required): Tool name within that server, e.g. "browser_navigate".

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/andreisirbu91-lab-mcpspend/mcpspend-mcp-server#diagnostics

## Score history

- 2026-08-03: 69
- 2026-08-02: 41
- 2026-08-01: 21
- 2026-07-31: 28
- 2026-07-29: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@mcpspend/mcp-server
- Socket report: https://socket.dev/npm/package/@mcpspend/mcp-server
- Repository: https://github.com/andreisirbu91-lab/MCPSpend
- Changelog RSS feed: https://verifymcp.io/servers/andreisirbu91-lab-mcpspend/mcpspend-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/andreisirbu91-lab-mcpspend/mcpspend-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/andreisirbu91-lab-mcpspend/mcpspend-mcp-server
