Pyfile LLM & Data API

io.github.pyfile-toolkit由 GitHub 帳號 pyfile-toolkit 發布v1.0.0更新於 Oct 25, 2026

Pay-per-call LLM chat plus data tools: DNS, crypto, Base gas, Wikipedia. x402 USDC or Lightning.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取安全與監控AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供按次付費的 LLM 對話,以及 DNS、加密貨幣價格、Base gas、維基百科、制裁名單與 FDA 記錄等資料查詢。

可以做什麼
向 LLM 提問並取得文字補全,還可產生結合即時市場事實與 LLM 撰寫的綜合分析簡報(需 Bearer 金鑰)。查詢網路與市場資料:DNS 記錄、目前加密貨幣價格、Base L2 gas 價格與維基百科摘要。擷取公開網頁並回傳去除導覽與廣告後的主要內容 Markdown,供 RAG 與代理流程使用。篩選交易對手:OFAC SDN 制裁名單搜尋、FDA 藥品不良事件、回收與藥品標籤,以及整合 OFAC、GLEIF LEI 與 SEC EDGAR 的 KYB 盡職調查(需 Bearer 金鑰)。一次呼叫完成網域或公司資訊充實,彙整 DNS、憑證透明度、LEI、制裁與網頁快照並提供風險摘要(需 Bearer 金鑰)。
適用情境
當你想透過單一遠端端點同時取得快速 LLM 補全與輕量公開資料查詢(例如 DNS、加密貨幣價格、制裁篩選或 FDA 記錄),而不想自行架設後端時適用。綜合簡報、KYB 與資訊充實工具適合盡職調查與分析類工作流程。
執行需求
遠端 streamable HTTP 端點,無需本機安裝。brief、kyb_screening 與 enrich 工具需要 Bearer 金鑰。README 說明透過 Lightning(L402)按次付費,每次請求會回傳發票;登錄描述提到 x402 USDC 或 Lightning 付款。需要網路存取。
安裝前請注意
請求按次計費,使用會產生費用;README 列出每次請求的 sats 價格。部分工具需要提供 Bearer 金鑰。查詢內容與擷取的網頁內容會傳送到第三方伺服器,LLM 回答經由外部模型後端代理。篩選與資訊充實結果僅供參考,不應作為法遵決定依據。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.pyfile-toolkit%2Fpyfile-llm/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "pyfile-llm-data-api": {
      "type": "http",
      "url": "https://pyfile-agent.taile3ff35.ts.net:8443/mcp"
    }
  }
}

README

l402-llm-mcp

Pay-per-query LLM access over Lightning (L402), exposed as an MCP server.

Website: pyfile-toolkit.github.io — overview, pricing and discovery across x402, Lightning (L402) and Nano.

What it is

A single Node.js server that serves two things:

  • MCP endpoint POST /mcp (streamable HTTP, tool: chat)
  • OpenAI-compatible POST /v1/chat/completions

Payment is enforced by the L402 protocol: every request returns a Lightning invoice (10 sats short, 50 sats long). Models are proxied to a free LLM backend (gemini-3.6-flash, gpt-oss-120b).

Endpoints

PathMethodPriceDescription
/mcpPOST10 satsMCP streamable-HTTP, tool chat
/v1/chat/completionsPOST10-50 satsOpenAI-compatible chat
/v1/modelsGETfreemodel list
/.well-known/l402.jsonGETfreeL402 manifest

Run

bash
export LNBOT_API_KEY=... WALLET_ID=...node server.js

Discovery

Listed in the 402 Index and 402.pub (Nostr kind 31402).

來源:README.md,提交 c07233c

工具

13

chat

Ask an LLM a question. Returns a text completion.

輸入參數modelprompt必填

dns_lookup

Resolve a DNS record (A, AAAA, MX, TXT, NS).

輸入參數name必填type

crypto_price

Current USD prices for one or more coins (CoinGecko ids, comma-separated).

輸入參數ids

base_gas

Current Base L2 gas price in wei and gwei.

無需輸入參數。

wikipedia_summary

Short summary of a Wikipedia article by title.

輸入參數title必填

brief

Composite analyst brief: gathers live market facts (crypto prices, DeFi yields, Base block height) and returns an LLM-written brief with headline, key points, and a take. Requires a Bearer key.

輸入參數focustopic

web_read

Fetch any public web page and return its main readable content as clean Markdown (nav/ads stripped) for RAG and agent pipelines.

輸入參數url必填max_chars

fda_lookup

US FDA open data: drug adverse events, drug/food/device recalls, drug labels.

輸入參數qkindlimit

kyb_screening

Composite counterparty due-diligence: OFAC SDN sanctions screening + GLEIF LEI + SEC EDGAR in one call. Requires a Bearer key.

輸入參數name必填

enrich

One-call domain/company enrichment: DNS A records + certificate transparency names + GLEIF LEI + OFAC SDN + web snapshot, with an aggregate risk_summary. Requires a Bearer key.

輸入參數namedomain

fair_draw

Provably-fair random integer from a committed seed (commit-reveal). Use for verifiable winner selection, raffles and allocations. Reveal the seed afterwards so anyone can reproduce the result.

輸入參數maxminnonceroundclient_seed

fair_pick

Provably-fair selection of one winner from a list of candidates. For bounties with a single prize.

輸入參數nonceroundcandidates必填client_seed

版本歷史

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

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

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