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 分

    请在仓库或注册中心条目中声明许可证。