# io.github.rog0x/cache (npm · @rog0x/mcp-cache-tools)

Cache headers, CDN, LRU simulation for AI agents

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

## Components

- npm · `@rog0x/mcp-cache-tools`: 66/100 (this document), [markdown](https://verifymcp.io/servers/rog0x-cache/rog0x-mcp-cache-tools.md), [page](https://verifymcp.io/servers/rog0x-cache/rog0x-mcp-cache-tools)

## Channel facts

- Registry: `npm`
- Package: `@rog0x/mcp-cache-tools`
- Version: `1.0.2`
- 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 133 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 66/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 751 tokens (~150/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 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 rog0x-cache -- npx -y @rog0x/mcp-cache-tools
```

### Codex

```bash
codex mcp add rog0x-cache -- npx -y @rog0x/mcp-cache-tools
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "rog0x-cache": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@rog0x/mcp-cache-tools"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add rog0x-cache --command npx --arg -y --arg @rog0x/mcp-cache-tools
```

### Hermes

```yaml
mcp_servers:
  rog0x-cache:
    command: "npx"
    args: ["-y", "@rog0x/mcp-cache-tools"]
```

### Other

```json
{
  "mcpServers": {
    "rog0x-cache": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-cache-tools"
      ]
    }
  }
}
```

## 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 66, +31)

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

### 2026-08-02 (score 35, +30)

- [security improvement] Malware scan: unverified → pass
- [functional improvement] Tool coverage: unverified → 100

### 2026-08-01 (score 5, −22)

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

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

- [security regression] Malware scan: pass → unverified

### 2026-07-29 (score 45, +20)

- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 25, −20)

- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: unverified

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

First indexed and scored.

## MCP tools (5)

### `analyze_cache_headers` (~199 tokens)

Analyze HTTP cache headers (Cache-Control, ETag, Last-Modified, Expires, Vary). Grades the caching strategy and provides actionable improvement suggestions.

Input parameters:

- `cacheControl` (string): Cache-Control header value, e.g. 'public, max-age=3600, stale-while-revalidate=60'
- `context` (string): Type of resource for context-aware suggestions
- `etag` (string): ETag header value, e.g. '"abc123"' or 'W/"weak-tag"'
- `expires` (string): Expires header value, e.g. 'Thu, 01 Dec 2025 16:00:00 GMT'
- `lastModified` (string): Last-Modified header value, e.g. 'Wed, 21 Oct 2024 07:28:00 GMT'
- `vary` (string): Vary header value, e.g. 'Accept-Encoding, Accept-Language'

### `generate_cache_key` (~258 tokens)

Generate deterministic cache keys from various inputs: URL + params, request body hash, or composite keys. Supports TTL, versioning, namespacing, and outputs ready-to-use Redis/Memcached commands.

Input parameters:

- `algorithm` (string): Hash algorithm
- `body` (string): Request body for 'body' mode
- `contentType` (string): Content-Type for 'body' mode
- `excludeParams` (array): Exclude these query params (url mode)
- `includeParams` (array): Only include these query params (url mode)
- `method` (string): HTTP method for 'url' mode
- `mode` (string, required): Key generation mode: 'url' for URL-based, 'body' for request body hash, 'composite' for multi-part
- `namespace` (string): Key namespace/prefix
- `parts` (array): Array of key components for 'composite' mode
- `ttl` (number): Time-to-live in seconds
- `url` (string): URL for 'url' mode, e.g. 'https://api.example.com/users?page=2&sort=name'
- `version` (string): Version tag for cache busting, e.g. '2.1'

### `simulate_cache` (~118 tokens)

Simulate cache behavior for a sequence of requests. Calculates hit rate, miss rate, and eviction count for LRU, LFU, FIFO, and TTL eviction strategies. Compare strategies side-by-side.

Input parameters:

- `capacity` (number, required): Maximum number of entries the cache can hold
- `requests` (array, required): Sequence of cache requests in order
- `showTimeline` (boolean): Include step-by-step timeline in output
- `strategies` (array): Which eviction strategies to simulate
- `ttl` (number): Default TTL in seconds (for TTL strategy)

### `check_cdn_headers` (~96 tokens)

Analyze CDN response headers to detect which CDN is serving a resource (Cloudflare, Fastly, Akamai, CloudFront, Vercel, etc.), cache status (HIT/MISS), edge server, and POP location.

Input parameters:

- `headers` (object, required): HTTP response headers as key-value pairs. Include all headers for best detection accuracy.
- `url` (string): The URL that was requested (for context in the report)

### `analyze_browser_cache` (~80 tokens)

Analyze what resources a page would cache in the browser. Determines which resources are cacheable, for how long, cache type (strong/heuristic/conditional), and estimates bandwidth savings on repeat visits.

Input parameters:

- `connectionSpeed` (string): Assumed connection speed for time savings estimate
- `resources` (array, required): Array of page resources with their response headers

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/rog0x-cache/rog0x-mcp-cache-tools#diagnostics

## Score history

- 2026-08-03: 66
- 2026-08-02: 35
- 2026-08-01: 5
- 2026-07-31: 27
- 2026-07-29: 45
- 2026-07-28: 25
- 2026-07-27: 45

## Links

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