关于 Maximum Sats
Maximum Sats 是面向 Bitcoin 和 Nostr 应用的 MCP 服务,提供 AI 工具、Nostr Web of Trust 评分及身份编码工具。API 可通过 Lightning L402 按次付费。
主要功能
- 01Bitcoin 与 Lightning 问答
- 02文本生成图像
- 03Nostr Web of Trust 评分与分析
- 04Nostr 标识符编解码
- 05Lightning L402 按次付费
适用场景
- 01按任务向赏金猎人付款并降低 Sybil 风险
- 02按调用次数变现 AI Agent 工具
- 03通过 L402 保护数据源访问
- 04构建基于 Web of Trust 的声誉系统
MCP 相关
该 MCP 服务向客户端提供 Bitcoin、Lightning 和 Nostr 工具,包括 Web of Trust 分析。部分 API 调用可通过 Lightning L402 付款。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。
工具
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
Maximum Sats MCP 服务
用于比特币 AI 工具和 Nostr Web of Trust 评分的 MCP 服务。通过 Lightning L402 按次付费。
为什么选择 MaximumSats?
随着 MCP 服务不断涌现,一个关键问题随之而来:如何以去中心化的方式保护 MCP API 访问并实现变现?
MaximumSats 提供:
- L402 付费端点 — 每次 API 调用都可以要求支付聪
- Web of Trust(WoT)评分 — 为 Nostr 用户提供抗女巫攻击的声誉评分
- Nostr ID 实用工具 — 解码/编码 npub、note、nprofile、nevent、naddr 等
使用场景
- 悬赏平台 — 按任务向赏金猎人付款,并通过 WoT 防止女巫攻击
- AI Agent 市场 — 按调用次数为 MCP 工具变现
- 数据源 — 使用 L402 保护预言机数据
- 声誉系统 — 由 WoT 驱动的信任评分
安装
npx maximumsats-mcp
或添加到 MCP 客户端配置中:
{
"mcpServers": {
"maximumsats": {
"command": "npx",
"args": ["maximumsats-mcp"]
}
}
}
工具
AI 工具(maximumsats.com)
| 工具 | 费用 | 说明 |
|---|---|---|
ask_bitcoin | 21 sats | 询问有关 Bitcoin/Lightning 的问题(Llama 3.3 70B) |
generate_image | 100 sats | 文本生成图像(FLUX.1 Schnell 12B) |
Web of Trust(wot.klabo.world)— 每天免费 50 次
| 工具 | 说明 |
|---|---|
wot_score | PageRank 信任评分(0-100),包含排名和百分位 |
wot_sybil_check | 通过 5 种信号检测女巫攻击(genuine/suspicious/likely_sybil) |
wot_trust_path | 两个公钥之间逐跳显示信任路径 |
wot_network_health | 网络指标:51K+ 个节点、基尼系数、密度 |
wot_follow_quality | 关注列表质量分析及建议 |
wot_trust_circle | 相互关注关系及其信任强度和凝聚力 |
wot_anomalies | 检测幽灵关注者、不对称模式和集群 |
wot_predict_link | 链接预测(5 种拓扑信号) |
wot_compare_providers | 跨提供商的 NIP-85 信任评分共识 |
wot_influence | 模拟关注/取消关注的连锁影响 |
安全与治理功能
MaximumSats 专为 Secure & Govern MCP 赛道打造:
1. 付费 API 访问控制 — 一次付款,一次重试
每个端点都可以设置为需要付款才能访问。L402 流程很简单:
# Request returns HTTP 402 with Lightning invoice
curl -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. 通过 WoT 抵御女巫攻击
WoT 端点根据 Nostr 公钥在网络中的位置进行评分,适用于:
- 防止虚假账户的悬赏平台
- 需要抵御女巫攻击的投票系统
- 声誉引擎
curl https://maximumsats.com/api/wot/npub1...
# Returns: {"score": 45, "rank": 1234, "percentile": 95.5}
3. 无中间商 — Lightning 直付
- 通过 Lightning Network 即时结算
- 无需订阅,按请求付费
- 匿名使用,无需 KYC
技术实现
MaximumSats 使用 L402 协议(Lightning HTTP 402):
// 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: { ... } }
所有付款均通过 Lightning Network 进行,不会造成区块链膨胀。
API
- maximumsats.com/stats — AI 工具定价
- wot.klabo.world/docs — WoT API 交互式文档
- wot.klabo.world/openapi.json — OpenAPI 3.0 规范
快速示例
开始使用:一次付款,一次重试的 L402 流程
MaximumSats API 使用 L402 — 以下是付款并获取结果的具体方法:
# 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":{...}}
在支付悬赏前检查用户声誉
curl -s "https://wot.klabo.world/score/npub1..." | jq '.score'
# Returns: {"score": 42, "rank": 1234, "percentile": 95.5}
付款前解码 Lightning 发票
curl -X POST "https://maximumsats.com/api/bolt11-decode" \
-H "Content-Type: application/json" \
-d '{"invoice":"lnbc..."}'
# Returns: amount, description_hash, expiry, payee pubkey
验证 Nostr 身份(NIP-05)
curl -X POST "https://maximumsats.com/api/nip05-verify" \
-H "Content-Type: application/json" \
-d '{"identifier":"[email protected]"}'
# Returns: pubkey, valid boolean, relay hints
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。