Maximum Sats

io.github.joelklabo由 GitHub 账号 joelklabo 发布v1.0.0更新于 Oct 24, 2026

Bitcoin & Lightning Network AI tools with native Lightning L402 micropayments.

概览

AI 生成的概览

一个本地 MCP 服务器,为助手提供比特币与闪电网络 AI 工具以及 Nostr 信任网络评分,并按次通过闪电网络 L402 付费。

可以做什么
提供比特币与闪电网络 AI 工具,例如 ask_bitcoin(语言模型问答)和 generate_image(文生图),每次调用以聪计价并由闪电网络 L402 支付门槛保护。同时提供 Nostr 信任网络工具:信任评分、女巫攻击检测、信任路径、网络健康指标、关注列表质量、信任圈、异常检测、链接预测、跨提供方评分对比以及影响力模拟。信任网络接口有每日免费额度。
适用场景
适合助手需要比特币或闪电网络问答、生成图片,或需要 Nostr 声誉与反女巫检查的场景,例如在发放赏金前筛查账户、评估公钥之间的信任关系。它面向按次付费而非订阅式 API 使用。
运行要求
通过 npx 作为本地进程运行(需要 Node.js)。需要访问 maximumsats.com 与 wot.klabo.world 的网络连接。付费工具需要闪电网络钱包支付返回的发票,并在 Authorization 头中携带 payment hash 重试。清单未声明任何环境变量或请求头。
安装前请注意
付费工具会花费真实聪:ask_bitcoin 每次 21 聪,generate_image 每次 100 聪,通过闪电网络结算。支付使用发票与 Authorization 头中的 payment hash,应将该哈希视为凭据。提示词与公钥会发送到第三方服务(maximumsats.com、wot.klabo.world)。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Maximum Sats,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Maximum Sats MCP Server

MCP server for Bitcoin AI tools and Nostr Web of Trust scoring. Pay-per-use via Lightning L402.

Why MaximumSats?

As MCP servers proliferate, a critical question emerges: How do we secure and monetize MCP API access in a decentralized way?

MaximumSats delivers:

  • L402 Payment Endpoints — Every API call can require payment in satoshis
  • Web of Trust (WoT) Scoring — Sybil-resistant reputation for Nostr users
  • Nostr ID Utilities — Decoding/encoding npub, note, nprofile, nevent, naddr, and more

Use Cases

  • Bounty Platforms — Pay hunters per task, prevent sybil with WoT
  • AI Agent Marketplaces — Monetize MCP tools per-call
  • Data Feeds — Secure oracle data with L402
  • Reputation Systems — WoT-powered trust scoring

Install

sh
npx maximumsats-mcp

Or add to your MCP client config:

json
{  "mcpServers": {    "maximumsats": {      "command": "npx",      "args": ["maximumsats-mcp"]    }  }}

Tools

AI Tools (maximumsats.com)

ToolCostDescription
ask_bitcoin21 satsAsk about Bitcoin/Lightning (Llama 3.3 70B)
generate_image100 satsText-to-image (FLUX.1 Schnell 12B)

Web of Trust (wot.klabo.world) — 50 free/day

ToolDescription
wot_scorePageRank trust score (0-100) with rank and percentile
wot_sybil_check5-signal Sybil detection (genuine/suspicious/likely_sybil)
wot_trust_pathHop-by-hop trust path between two pubkeys
wot_network_healthNetwork metrics: 51K+ nodes, Gini coefficient, density
wot_follow_qualityFollow list quality analysis with suggestions
wot_trust_circleMutual follows with trust strength and cohesion
wot_anomaliesGhost followers, asymmetric patterns, cluster detection
wot_predict_linkLink prediction (5 topology signals)
wot_compare_providersCross-provider NIP-85 trust score consensus
wot_influenceSimulate follow/unfollow ripple effects

Security & Governance Features

MaximumSats is purpose-built for the Secure & Govern MCP track:

1. Paid API Access Control — One Payment, One Retry

Every endpoint can be gated behind payment. The L402 flow is simple:

bash
# Request returns HTTP 402 with Lightning invoicecurl -X POST https://maximumsats.com/api/dvm \  -H "Content-Type: application/json" \  -d '{"prompt":"hello"}'# Returns: {"error":"Payment required","payment_request":"lnbc21...","payment_hash":"abc123","amount_sats":21}
# Pay the invoice in your Lightning wallet, then retry with payment_hash in Authorization header:curl -X POST https://maximumsats.com/api/dvm \  -H "Content-Type: application/json" \  -H "Authorization: abc123" \  -d '{"prompt":"hello"}'# Returns: {"status":"success","data":{...}}

2. Sybil Resistance with WoT

The WoT endpoint scores Nostr pubkeys based on their network position — valuable for:

  • Bounty platforms preventing fake accounts
  • Voting systems needing sybil resistance
  • Reputation engines
bash
curl https://maximumsats.com/api/wot/npub1...# Returns: {"score": 45, "rank": 1234, "percentile": 95.5}

3. No Middleman — Direct Lightning

  • Instant settlement on Lightning Network
  • No subscriptions, pay per request
  • Pseudonymous, no KYC required

Technical Implementation

MaximumSats uses the L402 protocol (Lightning HTTP 402):

javascript
// Challenge response includes invoice{ status: 402, error: "Payment required", invoice: "lnbc...", amount_sats: 21 }
// After payment, include payment_hash in retry{ status: 402, error: "Payment required", payment_hash: "abc123..." }
// Successful response after payment verification{ status: 200, data: { ... } }

All payment flows through Lightning Network — no blockchain bloat.

APIs

Quick Examples

Get Started: One Payment, One Retry L402 Flow

The MaximumSats API uses L402 — here's exactly how to pay and get results:

bash
# Step 1: Request (returns 402 with Lightning invoice)curl -X POST "https://maximumsats.com/api/bolt11-decode" \  -H "Content-Type: application/json" \  -d '{"invoice":"lnbc1..."}'
# Response: {"error":"Payment required","payment_request":"lnbc...","payment_hash":"abc123...","amount_sats":21}
# Step 2: Pay the invoice in your Lightning wallet, then retry with payment_hash:curl -X POST "https://maximumsats.com/api/bolt11-decode" \  -H "Content-Type: application/json" \  -H "Authorization: abc123..." \  -d '{"invoice":"lnbc1..."}'
# Response: {"status":"success","data":{...}}

Check a user's reputation before paying a bounty

bash
curl -s "https://wot.klabo.world/score/npub1..." | jq '.score'# Returns: {"score": 42, "rank": 1234, "percentile": 95.5}

Decode a Lightning invoice before payment

bash
curl -X POST "https://maximumsats.com/api/bolt11-decode" \  -H "Content-Type: application/json" \  -d '{"invoice":"lnbc..."}'# Returns: amount, description_hash, expiry, payee pubkey

Verify a Nostr identity (NIP-05)

bash
curl -X POST "https://maximumsats.com/api/nip05-verify" \  -H "Content-Type: application/json" \  -d '{"identifier":"[email protected]"}'# Returns: pubkey, valid boolean, relay hints

License

MIT

来源:README.md,提交 b974195

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分