SatRank — Lightning trust + audit oracle
NPM · SATRANK-MCP · SCANNED AUG 3
Lightning trust + audit oracle. Score, pay, and audit L402 endpoints with Ed25519 receipts.
Available components
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. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (106 of 110), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (106 of 110), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 85 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability49
- AI-judged instruction clarity (fair).Partial
- Tool/resource definitions use about 1227 tokens (~76/item across 16 items; 16 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage69
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 6% of tool parameters carry a description.Partial
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · satrank-mcp
claude mcp add dev-satrank-mcp -- npx -y satrank-mcp
codex mcp add dev-satrank-mcp -- npx -y satrank-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"dev-satrank-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"satrank-mcp"
],
"enabled": true
}
}
} openclaw mcp add dev-satrank-mcp --command npx --arg -y --arg satrank-mcp
mcp_servers:
dev-satrank-mcp:
command: "npx"
args: ["-y", "satrank-mcp"] {
"mcpServers": {
"dev-satrank-mcp": {
"command": "npx",
"args": [
"-y",
"satrank-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +55
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Malware scan: unverified → pass ▲ security
- License: unverified → pass ▲ functional
- Schema quality: unverified → fair ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Stability: unverified → 0.23 ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- Licence: MIT functional
- 1 Aug 26 −28
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 31 Jul 26 −9
- Provenance: unverified → fail ▼ security
- Malware scan: pass → unverified ▼ security
- Install scripts: unverified → pass ▲ security
- License: unverified → pass ▲ functional
- Maintenance: unverified → pass ▲ functional
- Licence: MIT functional
- 27 Jul 26 42
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 106 packages
106 packages in the resolved dependency tree · 106 deprecated · 30 stale · 1 without a linked repository.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
aeps.daily_anchor ~55
Fetch the daily Merkle anchor for a UTC day. Returns operator_pubkey + root_hex + receipt_count + L1 broadcast info. Verifiers use this for receipt inclusion proofs.
| Name | Type | Req | Description |
|---|---|---|---|
| day_utc | string | yes | — |
No output schema declared.
No examples provided.
aeps.evidence_receipt ~47
Fetch the Ed25519-signed evidence receipt for a fulfilled job. Same content as fulfill_evidence, addressable by job_id.
| Name | Type | Req | Description |
|---|---|---|---|
| job_id | string | yes | — |
No output schema declared.
No examples provided.
aeps.get_dispute ~49
Read the current state of an AEPS dispute. Returns dispute_id + type + multiplier + oracle_pubkeys + oracle_threshold + state + attestations.
| Name | Type | Req | Description |
|---|---|---|---|
| dispute_id | string | yes | — |
No output schema declared.
No examples provided.
aeps.get_multihop ~40
Read multi-hop HTLC chain state. Returns chain_id + agent_pubkey + per-leg state.
| Name | Type | Req | Description |
|---|---|---|---|
| chain_id | string | yes | — |
No output schema declared.
No examples provided.
aeps.get_observations ~59
Return all observed daily anchors for a (operator, day) bucket, grouped by root_hex. distinct_roots > 1 = equivocation.
| Name | Type | Req | Description |
|---|---|---|---|
| day_utc | string | yes | — |
| operator_pubkey | string | yes | — |
No output schema declared.
No examples provided.
aeps.inclusion_proof ~88
Build the RFC 6962 audit path for a single evidence receipt against the day-Merkle root. Returns root_hex + audit_path[] + leaf_index + tree_size. Verifiers feed these to the AEPS Merkle verifier (TS or Rust impl) plus the L1 anchor txid to confirm the receipt is committed on-chain.
| Name | Type | Req | Description |
|---|---|---|---|
| receipt_id | integer | yes | — |
No output schema declared.
No examples provided.
aeps.list_forks ~42
List detected fork events (operator equivocations). Optional operator_pubkey filter.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | — | — |
| operator_pubkey | string | — | — |
No output schema declared.
No examples provided.
aeps.recent_anchors ~37
List the most recent N daily Merkle anchors. Default 30, max 366.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | — | — |
No output schema declared.
No examples provided.
fulfill ~191
Pay an L402 endpoint via SatRank fulfill proxy with hold-invoice + auto-issued evidence receipt. Agent supplies intent + max_sats budget + max_latency_ms SLA ; SatRank picks best candidate, settles the L402 payment, returns body + body_sha256 + preimage + operator_pubkey + premium_sats + job_id. Refund on candidate failure. Use this when you want SatRank to write the post-pay evidence trail (Ed25519-signed). NIP-98 auth required ; agent must have a token_balance via /api/deposit OR a bond. The MCP server forwards Authorization headers from the agent runtime.
| Name | Type | Req | Description |
|---|---|---|---|
| intent | object | yes | — |
| max_latency_ms | integer | yes | — |
| max_sats | integer | yes | — |
| mode | string | — | — |
| recall_body | string | — | — |
| recall_headers | object | — | — |
| refund_bolt11 | string | — | — |
No output schema declared.
No examples provided.
fulfill_evidence ~63
Fetch the public Ed25519-signed evidence receipt for a fulfill_jobs row by job_id. Returns canonical_json + signature + body_sha256 + operator_pubkey + ts_started + ts_finished + sats_paid. No auth required.
| Name | Type | Req | Description |
|---|---|---|---|
| job_id | string | yes | — |
No output schema declared.
No examples provided.
get_endpoint_score ~90
Read the public scoring snapshot for a specific L402 endpoint URL. Returns Bayesian p_success + ci95, 5-stage breakdown (challenge / invoice / payment / delivery / quality), median_latency_ms, last_probe_age_sec, freshness_status, source attribution. Use BEFORE calling fulfill on a specific URL to verify trust independently of the ranking.
| Name | Type | Req | Description |
|---|---|---|---|
| url_hash | string | yes | sha256 of the endpoint URL |
No output schema declared.
No examples provided.
intent ~167
Resolve an intent (category + keywords + budget + latency ceiling) into a ranked list of L402 endpoint candidates from the SatRank catalogue. Returns Bayesian p_success + ci95 + 5-stage breakdown per candidate. Use this BEFORE paying any L402 endpoint to pick the most trusted candidate that fits your budget + SLA. Free to call ; pass `fresh: true` to force a sync HTTP probe (costs 2 sats via /api/intent?fresh=true).
| Name | Type | Req | Description |
|---|---|---|---|
| budget_sats | number | — | — |
| category | string | yes | Service category, e.g. "data/finance", "ai/text", "ai/classify" |
| keywords | array | — | — |
| limit | number | — | — |
| max_latency_ms | number | — | — |
| optimize | string | — | — |
No output schema declared.
No examples provided.
mini_llm_classify ~92
SatRank-operated L402 endpoint : single-best-label classification (10 sats). Powered by Claude Haiku 4.5 server-side. Use when the public AI catalogue is over-priced (>30 sats/req) for classification. The MCP server forwards Authorization headers ; agent runtime supplies the L402 macaroon after paying the 402 challenge.
| Name | Type | Req | Description |
|---|---|---|---|
| labels | array | — | — |
| text | string | yes | — |
No output schema declared.
No examples provided.
mini_llm_summarize ~68
SatRank-operated L402 endpoint : plain-prose summarization (10 sats). Powered by Claude Haiku 4.5 server-side. Use when the public AI catalogue prices summarization above your budget.
| Name | Type | Req | Description |
|---|---|---|---|
| max_words | integer | — | — |
| text | string | yes | — |
No output schema declared.
No examples provided.
mini_llm_translate ~49
SatRank-operated L402 endpoint : translation (10 sats). POST text + target language code, get back translated text only.
| Name | Type | Req | Description |
|---|---|---|---|
| target | string | yes | — |
| text | string | yes | — |
No output schema declared.
No examples provided.
verify_assertion ~90
Verify offline a SatRank-compatible Nostr trust assertion (kind 30782) or oracle calibration (kind 30783). Validates Schnorr signature + structure + valid_until tag. No network call. Use to compose oracle output across agents without re-querying SatRank.
| Name | Type | Req | Description |
|---|---|---|---|
| event | object | yes | — |
| expected_oracle_pubkey | string | — | — |
| now_sec | number | — | — |
No output schema declared.
No examples provided.