# io.github.zekebuilds-lab/mcp-l402-gate (npm · @powforge/mcp-l402-gate)

L402 Lightning paywall + DoI score gate for MCP tools: challenge, verify, score.

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

## Components

- npm · `@powforge/mcp-l402-gate`: 68/100 (this document), [markdown](https://verifymcp.io/servers/zekebuilds-lab-mcp-l402-gate/powforge-mcp-l402-gate.md), [page](https://verifymcp.io/servers/zekebuilds-lab-mcp-l402-gate/powforge-mcp-l402-gate)

## Channel facts

- Registry: `npm`
- Package: `@powforge/mcp-l402-gate`
- Version: `0.1.4`
- 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**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **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 83 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 341 tokens (~113/item across 3 items; 3 tools + 0 resources), lean.
  - 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**: 20/100
  - Spec-recency check failed: implements MCP spec 2024-11-05; the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add zekebuilds-lab-mcp-l402-gate -- npx -y @powforge/mcp-l402-gate
```

### Codex

```bash
codex mcp add zekebuilds-lab-mcp-l402-gate -- npx -y @powforge/mcp-l402-gate
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add zekebuilds-lab-mcp-l402-gate --command npx --arg -y --arg @powforge/mcp-l402-gate
```

### Hermes

```yaml
mcp_servers:
  zekebuilds-lab-mcp-l402-gate:
    command: "npx"
    args: ["-y", "@powforge/mcp-l402-gate"]
```

### Other

```json
{
  "mcpServers": {
    "zekebuilds-lab-mcp-l402-gate": {
      "command": "npx",
      "args": [
        "-y",
        "@powforge/mcp-l402-gate"
      ]
    }
  }
}
```

## 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 68, +1)

No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 67, +18)

- [security improvement] Malware scan: unverified → pass
- [functional improvement] Stability: unverified → 0.20

### 2026-07-31 (score 49, −13)

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

### 2026-07-30 (score 62, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 80, +33)

- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 100
- [functional] First check of Schema quality: good
- [functional] First check of Schema quality: pass

### 2026-07-26 (score 47)

First indexed and scored.

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

## MCP tools (3)

### `l402_gate_challenge` (~74 tokens)

Request a fresh PoW challenge from the PowForge L402 gate. Returns {nonce, difficulty}. Find a `solution` such that SHA-256(nonce+solution) starts with `difficulty` leading hex zeros, then call l402_gate_verify with {nonce, solution}. Free tier — no payment required.

### `l402_gate_verify` (~175 tokens)

Verify a gate access attempt. Three shapes: (a) {nonce, solution} verifies a PoW solve and returns a 5-min token; (b) {request_invoice: true} mints a fresh L402 bolt11 invoice for the Lightning-skip tier; (c) {payment_hash} polls for L402 payment and returns the token once paid. Returns {token, method, content} on success.

Input parameters:

- `nonce` (string): PoW challenge nonce from l402_gate_challenge
- `payment_hash` (string): Payment hash returned by request_invoice; poll until paid
- `request_invoice` (boolean): Set true to mint an L402 invoice instead of solving the PoW
- `solution` (string): Hex string such that SHA-256(nonce+solution) has required leading zeros

### `l402_gate_score` (~92 tokens)

Look up the Depth-of-Identity (DoI) score for a Nostr pubkey via the public PowForge oracle. Returns {composite, rank, depth, score_version}. Use the composite scalar against your own minScore policy. Pairs with l402_gate_verify for compose-able L402 + identity gating.

Input parameters:

- `pubkey` (string, required): 64-hex Nostr pubkey to score

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/zekebuilds-lab-mcp-l402-gate/powforge-mcp-l402-gate#diagnostics

## Score history

- 2026-08-03: 68
- 2026-08-02: 67
- 2026-08-01: 49
- 2026-07-31: 49
- 2026-07-30: 62
- 2026-07-28: 80
- 2026-07-27: 80
- 2026-07-26: 47

## Links

- npm package: https://www.npmjs.com/package/@powforge/mcp-l402-gate
- Socket report: https://socket.dev/npm/package/@powforge/mcp-l402-gate
- Repository: https://github.com/zekebuilds-lab/mcp-l402-gate
- Website: https://powforge.dev/mcp
- Changelog RSS feed: https://verifymcp.io/servers/zekebuilds-lab-mcp-l402-gate/powforge-mcp-l402-gate/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/zekebuilds-lab-mcp-l402-gate/powforge-mcp-l402-gate/changelog.json
- HTML version of this page: https://verifymcp.io/servers/zekebuilds-lab-mcp-l402-gate/powforge-mcp-l402-gate
