Boltwork

io.github.Squidboy30由 GitHub 帳號 Squidboy30 發布v0.1.12更新於 Oct 27, 2026

AI services via Bitcoin Lightning — PDF summarisation, code review, translation and more.

概覽

AI 產生的概覽

封裝 Boltwork 按次付費 AI 服務 API,讓助理透過閃電網路以比特幣聰自動付款,完成摘要、程式碼審查、翻譯與文件擷取。

可以做什麼
  • 對文字、URL 指向的 PDF 與網頁產生摘要
  • 審查貼上的程式碼或 GitHub/GitLab 連結中的程式碼,並用淺白語言解釋程式碼
  • 從 PDF 擷取結構化資料與表格,翻譯文字或文件,比對兩份 PDF 的差異
  • 儲存、讀取與刪除持久化的代理記憶鍵
  • 在一次呼叫中串接多項服務執行工作流程
  • 兩個免費試用工具(文字摘要與程式碼審查)不需錢包即可使用,限每小時 5 次
適用情境
適合希望在助理內完成文件摘要、程式碼審查、翻譯或 PDF 擷取,又不想註冊 API 金鑰或訂閱,並願意用閃電網路錢包付費的情境。可先用免費試用工具體驗,再設定錢包。
執行需求
以本機 Python 套件執行(pip install boltwork-mcp 或 uvx boltwork-mcp),NWC 錢包方式需安裝 nwc 附加元件。付費工具需要一種閃電網路錢包後端:NWC_CONNECTION_STRING,或 LNbits 網址與 API 金鑰,或 Strike API 金鑰,或 PHOENIXD_URL 加 PHOENIXD_PASSWORD。需要能連線 Boltwork API 與錢包服務的網路。
安裝前請注意
付費工具會自動花費真實比特幣聰,且沒有確認步驟:標價從記憶讀取的 5 聰到程式碼審查的 2000 聰,run_workflow 為 1000 聰。NWC_CONNECTION_STRING、LNBITS_API_KEY、STRIKE_API_KEY、PHOENIXD_PASSWORD 等錢包憑證具有付款權限,應盡量設定預算或上限。送出的文件、程式碼與文字會傳送至第三方 Boltwork API,記憶內容也存放於該處;memory_delete 可刪除特定鍵。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Boltwork,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-name: io.github.Squidboy30/boltwork-mcp

boltwork-mcp

MCP server for Boltwork — AI services that pay for themselves via Bitcoin Lightning.

Give your AI agent PDF summarisation, code review, translation, web extraction, document comparison, and persistent memory — all paid autonomously in sats. No API keys. No subscriptions. No accounts.

[PyPI] [Python 3.11+] [License: MIT] [API]


What this is

Boltwork is a pay-per-call AI services API that uses the L402 protocol — your agent makes a request, receives a Lightning invoice, pays it automatically, and gets the result back. No human involved.

This package wraps Boltwork as an MCP server so any MCP-compatible AI (Claude, Cursor, Windsurf, etc.) can use it as a tool — with payments handled transparently in the background.


Try it immediately — no wallet required

Two tools work right now with zero setup:

json
{  "mcpServers": {    "boltwork": {      "command": "uvx",      "args": ["boltwork-mcp"],      "env": {}    }  }}

Then ask your AI:

"Use trial_review_code to review this: def add(a, b): return a + b""Use trial_summarise to summarise this: <paste any text>"

Real AI results instantly. No Lightning wallet. No setup. Rate limited to 5 calls/hour.


Install

bash
pip install boltwork-mcp
# If using NWC (Alby, Mutiny, Coinos, etc.):pip install "boltwork-mcp[nwc]"

Or use directly with uvx — no install needed:

bash
uvx boltwork-mcp

Setup — pick a wallet

Four wallet backends are supported. Pick whichever fits your setup:

Option A — NWC / Nostr Wallet Connect (easiest)

Works with Alby, Mutiny Wallet, Coinos, Primal, Cashu.me, and any NWC-compatible wallet.

  1. Get a connection string:
    • Alby — go to nwc.getalby.com, create a budget, copy the string
    • Mutiny — Settings → Connections → Add connection
    • Coinos — coinos.io → Settings → Nostr Wallet Connect
  2. Add to your MCP config:
json
{  "mcpServers": {    "boltwork": {      "command": "uvx",      "args": ["boltwork-mcp"],      "env": {        "NWC_CONNECTION_STRING": "nostr+walletconnect://your-string-here"      }    }  }}

Requires: pip install "boltwork-mcp[nwc]"


Option B — LNbits

Works with lnbits.com or any self-hosted LNbits instance. Popular with BTCPay Server users and home node operators.

  1. Create a wallet at lnbits.com or your instance
  2. Go to API info → copy your Invoice/read key
json
{  "mcpServers": {    "boltwork": {      "command": "uvx",      "args": ["boltwork-mcp"],      "env": {        "LNBITS_URL": "https://lnbits.com",        "LNBITS_API_KEY": "your-invoice-key-here"      }    }  }}

For self-hosted: set LNBITS_URL to your instance URL (e.g. https://lnbits.yourdomain.com).


Option C — Strike

Works with a Strike account. Custodial, simple API key setup. Good for US users or anyone who already uses Strike.

  1. Create an account at strike.me
  2. Go to dashboard.strike.me/developers/api-keys → create an API key
json
{  "mcpServers": {    "boltwork": {      "command": "uvx",      "args": ["boltwork-mcp"],      "env": {        "STRIKE_API_KEY": "your-api-key-here"      }    }  }}

Option D — Phoenixd

Works with Phoenixd — ACINQ's self-hosted Lightning node. Simple REST API, no channel management.

  1. Install Phoenixd: phoenix.acinq.co/server
  2. Get your HTTP password from the Phoenixd config
json
{  "mcpServers": {    "boltwork": {      "command": "uvx",      "args": ["boltwork-mcp"],      "env": {        "PHOENIXD_URL": "http://localhost:9740",        "PHOENIXD_PASSWORD": "your-password-here"      }    }  }}

MCP config locations

ClientConfig file
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
Cursor.cursor/mcp.json in your project
Windsurf~/.codeium/windsurf/mcp_config.json

Available tools

ToolWhat it doesCost
trial_summariseSummarise text — free trialFree
trial_review_codeReview code — free trialFree
summarise_pdfSummarise a PDF from URL500 sats
summarise_webpageSummarise any web page100 sats
review_codeFull code review with bugs, security, quality2000 sats
review_code_urlReview code from GitHub/GitLab URL2000 sats
extract_dataExtract structured data from PDF200 sats
translateTranslate text or document (24 languages)150 sats
extract_tablesExtract all tables from a PDF300 sats
compare_documentsDiff two PDFs500 sats
explain_codeExplain code in plain English500 sats
memory_storeStore persistent agent memory10 sats
memory_retrieveRetrieve agent memory5 sats
memory_deleteDelete a memory keyFree
run_workflowChain multiple services in one call1000 sats

Payment flow

When your agent calls a paid tool:

  1. boltwork-mcp calls the Boltwork API
  2. Receives HTTP 402 with a Lightning invoice
  3. Pays the invoice automatically using your configured wallet
  4. Retries the request with the payment proof
  5. Returns the result to your agent

Your agent never sees this — it just gets the result.


Links

來源:README.md,提交 8d802db

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.12最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。