Toolfi

io.github.Tsubaki414由 GitHub 帳號 Tsubaki414 發布v1.2.0更新於 Oct 28, 2026

Open API Marketplace for AI Agents. Crypto data tools with USDC payments on Base.

已驗證Streamable HTTP可網頁執行金融商業與電商AI 與機器學習

概覽

AI 產生的概覽

ToolFi 是為 AI 代理打造的按次付費加密資料 API 市場,提供行情、安全、DeFi 與新聞工具,以 Base 上的 USDC 付款。

可以做什麼
  • 取得即時代幣價格與熱門幣種
  • 掃描代幣的跑路風險並分析錢包地址風險
  • 查詢跨鏈橋路由與聚合 DEX 兌換路由
  • 查詢 DeFi 收益率與協議 TVL 數據
  • 查詢 EVM 鏈的 Gas 價格並取得加密新聞摘要
  • 每次呼叫皆按次計費:伺服器回傳付款要求,代理在鏈上以 USDC 付款後帶付款交易標頭重試
適用情境
當助理需要即時加密市場、DeFi 或代幣安全資料,且你願意讓它以 Base 上的 USDC 按次支付小額費用,而不想為每個資料來源各自管理 API 金鑰時適用。
執行需求
遠端端點;未宣告帳號或 API 金鑰。呼叫需在 Base(README 中為 Base Sepolia)以 USDC 鏈上付款,並需要能授權與發送付款的錢包,重試時須附上付款交易標頭。README 另提供本機 Python MCP 伺服器安裝方式。
安裝前請注意
每次工具呼叫都會花費 USDC,助理可能自主動用真實資金,應設定支出上限。需要可簽署鏈上付款的錢包,README 的發布者流程還使用私鑰。資料來自第三方供應商(DexScreener、GoPlus、Li.Fi、DefiLlama、CoinGecko),且 README 中的合約位址指向測試網。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "toolfi": {
      "type": "http",
      "url": "https://web-ten-alpha-81.vercel.app/api/mcp"
    }
  }
}

README

ToolFi — API Marketplace for AI Agents

"The next unicorn is an API marketplace for agents... where the right API should be selected by Claude and connected automatically" — @auralix4

API marketplaces exist, but they're built for human developers. ToolFi is built for AI workflows — agents discover, select, and pay for APIs automatically, without human intervention.

🌐 Website · 📡 API · 📜 Contract · 🗺️ Roadmap

The Problem

AI agents need external data (prices, security checks, routes). Current solutions:

  • RapidAPI, etc. — Built for humans. Agents can't browse and click "Subscribe"
  • Hardcoded keys — Security risk, doesn't scale
  • Manual integration — Every new tool needs human setup

The Solution

ToolFi = APIs that agents can discover and use autonomously.

  1. Discovery — Agents find tools via .well-known/mcp.json, MCP registries, semantic search
  2. Selection — Rich descriptions help agents pick the right tool
  3. Payment — USDC on Base, no API keys, just pay and use
  4. Data — Structured responses optimized for LLM consumption

How It Works

Agent → GET /api/price?symbol=ETH                ↓Server → 402 Payment Required         { toolId, price, paymentInstructions }                ↓Agent → USDC.approve() → Registry.payForCall(toolId)                ↓Agent → Retry with X-Payment-Tx header                ↓Server → Verify on-chain → Return data

Available Tools

ToolPriceWhat it does
Crypto Price Oracle0.001 USDCReal-time prices via DexScreener
Rug Pull Scanner0.003 USDCToken security via GoPlus
Bridge Router0.002 USDCCross-chain routes via Li.Fi
DeFi Yield Finder0.002 USDCBest yields via DefiLlama
Swap Router0.002 USDCDEX aggregation via Li.Fi
Trending Coins0.001 USDCWhat's hot via CoinGecko
Protocol TVL0.001 USDCDeFi TVL data via DefiLlama
Gas Tracker0.0005 USDCGas prices for EVM chains
Wallet Risk Scanner0.005 USDCAddress risk analysis
News Digest0.002 USDCCrypto news summary

Integration Options

Option 1: HTTP API (Any Agent)

bash
# Pay on-chain, then call with payment proofcurl -H "X-Payment-Tx: 0x..." "https://toolfi.vercel.app/api/price?symbol=ETH"

Option 2: MCP Server (Claude Desktop)

bash
cd mcp-serveruv venv && source .venv/bin/activateuv pip install -e .

Add to Claude Desktop config:

json
{  "mcpServers": {    "toolfi": {      "command": "/path/to/.venv/bin/python",      "args": ["-m", "src.server"],      "cwd": "/path/to/mcp-server"    }  }}

Then ask Claude: "Check the security of token 0x... on Base"

For Tool Creators

Publish your API and earn USDC:

bash
cast send $REGISTRY \  "registerTool(string,string,string,uint256)" \  "My Tool" "https://api.example.com" "Description" 10000 \  --rpc-url https://sepolia.base.org --private-key $KEY

Price in 6 decimals: 10000 = $0.01/call

Withdraw earnings:

bash
cast send $REGISTRY "withdraw()" --rpc-url https://sepolia.base.org

Contract

ChainBase Sepolia (84532)
USDC0x036CbD53842c5426634e7929541eC2318f3dCF7e
Registry0x3D6C600799C67b45061eCAbfD5bBF8ef57Dded88

Project Structure

toolfi/├── api/           # Vercel serverless API├── web/           # Next.js frontend├── mcp-server/    # Python MCP server for Claude├── src/           # Solidity contracts├── skill/         # OpenClaw skill spec└── script/        # Deployment scripts

Development

bash
# Contractsforge buildforge test -v
# APIcd api && npm install && npm start
# MCP Servercd mcp-server && uv pip install -e . && python -m src.server

Roadmap

  • Core registry contract
  • Web API with 10 tools
  • MCP Server for Claude Desktop
  • Mainnet deployment
  • Creator dashboard
  • Agent SDK (Python/TypeScript)
  • Idempotency keys
  • Usage analytics

License

MIT

來源:README.md,提交 de7f7d4

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

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

評分

已滿足適用檢查項的 75%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

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

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

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