MACH Base

io.github.TheAliphant由 GitHub 帳號 TheAliphant 發布v1.0.3更新於 Oct 25, 2026

Investigate Base transactions, check wallet funds and contracts. Read-only MCP. USDC via x402.

已驗證Streamable HTTP可網頁執行金融安全與監控

概覽

AI 產生的概覽

一個唯讀的 Base 鏈查詢 MCP 伺服器:可查區塊、Gas 價格、錢包與代幣餘額、合約、交易和日誌,按次以 USDC 付費。

可以做什麼
為目標挑選最窄的付費能力,回傳價格與下一步請求,不含即時鏈上資料且無副作用(mach_choose)。查看鏈進度與 Gas 價格,依區塊編號或標籤檢查區塊。讀取錢包資訊:原生 ETH 餘額、ERC-20 餘額、合併的錢包快照以及目前 nonce。檢查合約:已部署程式碼與位元組碼大小、代幣中繼資料與介面特徵、總供應量以及 ERC-20 授權額度。依雜湊查詢交易、收據與確認數,以及用於付款逾時或失敗排查的交易脈絡。在限定區塊範圍內尋找合約事件與近期 ERC-20 轉帳,並以提供的 calldata 執行唯讀 eth_call。
適用情境
當助理需要在操作前後核對 Base 鏈狀態時使用:確認交易是否已上鏈、排查付款逾時、檢查錢包是否有足夠 ETH 支付 Gas 或足夠 USDC,或在互動前辨識合約。適合唯讀調查,而非簽署或送出交易。
執行需求
遠端 streamable HTTP 端點 api.mach.gallery;未宣告本機執行環境、帳號或 API 金鑰。每次資料呼叫透過 x402 以 USDC 付費,用戶端需具備結算按次付款的能力。需要能連線至該端點的網路。
安裝前請注意
每個資料工具按次收取 USDC(多為 0.005 美元,交易與交易脈絡為 0.008 美元),反覆輪詢會持續花錢;mach_choose 免費。伺服器為唯讀,不簽署、不授予授權、不持有資金。結果不是安全稽核,鏈上成功也不證明特定付款或服務已交付。合約供應量資料並非經獨立稽核的流通量。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "mach-base": {
      "type": "http",
      "url": "https://api.mach.gallery/mcp"
    }
  }
}

工具

18

mach_choose

Choose a MACH Base capability

Free decision layer: map an agent goal to the narrowest paid MACH Base capability, exact price, expected result fields and exact next request. Returns no live chain data and has no side effects.

輸入參數goal必填

base_block_number

Get Base block number

Check Base chain progress: return the latest mainnet block number for freshness checks and polling. This is not transaction confirmation. Costs $0.005 USDC via x402.

無需輸入參數。

base_gas_price

Get Base gas price

Check the current Base gas price in wei before estimating transaction fees. The quote alone is not the total transaction cost. Costs $0.005 USDC via x402.

無需輸入參數。

base_wallet_balance

Check Base ETH balance

Check whether a Base wallet has native ETH available for gas: return its balance in wei. Read-only; no wallet access or signing. Costs $0.005 USDC via x402.

輸入參數address必填

base_erc20_balance

Check Base token balance

Check a wallet’s USDC or ERC-20 balance on Base: return raw token units for a specified token contract and wallet address. Costs $0.005 USDC via x402.

輸入參數token必填address必填

base_nonce

Get Base wallet nonce

Prepare a Base transaction: get a wallet’s current nonce without signing or broadcasting a transaction. Costs $0.005 USDC via x402.

輸入參數address必填

base_contract_code

Check Base contract

Tell a Base contract address from an externally owned account: return whether code is deployed and its bytecode size. Not a security audit. Costs $0.005 USDC via x402.

輸入參數address必填

base_allowance

Check Base token allowance

Check a Base token approval before an agent acts: return the ERC-20 allowance for one token, owner and spender. Does not grant approval. Costs $0.005 USDC via x402.

輸入參數owner必填token必填spender必填

base_receipt

Check Base transaction receipt

Check whether a Base transaction was mined and succeeded: return receipt status and confirmations. This does not prove the correct payee, token amount or service delivery. Costs $0.005 USDC via x402.

輸入參數tx_hash必填

base_logs

Query Base event logs

Find Base smart-contract events in a bounded block range: return onchain logs filtered by contract address and optional topics. Costs $0.005 USDC via x402.

輸入參數topicsaddress必填to_blockfrom_block

base_eth_call

Read Base contract state

Read Base contract state without broadcasting a transaction: run eth_call with supplied calldata and return the raw response. Costs $0.005 USDC via x402.

輸入參數to必填data必填block

base_transaction

Get Base transaction

Inspect a Base transaction by hash: retrieve sender, recipient, value, calldata and transaction fields. Use Transaction Context for receipt and confirmation status. Costs $0.008 USDC via x402.

輸入參數tx_hash必填

base_block

Get Base block

Inspect a Base block by number or tag: retrieve its header and transaction hashes to investigate chain activity. Costs $0.005 USDC via x402.

輸入參數block

base_transaction_context

Inspect Base transaction context

Investigate a Base payment timeout or failed transaction with transaction, receipt, gas and fee context. Onchain success is not proof that a specific USDC obligation or service delivery was met. Costs $0.008 USDC via x402.

輸入參數tx_hash必填

base_wallet_snapshot

Get Base wallet snapshot

Check a Base wallet’s funding context in one read: return native ETH and balances for up to ten specified ERC-20 contracts. No signing or custody. Costs $0.005 USDC via x402.

輸入參數tokensaddress必填

base_total_supply

Get Base token supply

Check a Base ERC-20 or ERC-721 contract’s reported total supply. Contract data is not independently audited circulation. Costs $0.005 USDC via x402.

輸入參數token必填

base_contract_info

Inspect Base contract

Identify a Base contract before interacting: inspect bytecode size, available token metadata and common interface signals. Not a security audit. Costs $0.005 USDC via x402.

輸入參數address必填

base_erc20_transfers

Find Base token transfers

Find recent ERC-20 Transfer events on Base, optionally filtered by sender or recipient wallet. Results cover only the queried block window. Costs $0.005 USDC via x402.

輸入參數token必填to_blockfrom_blockto_addressfrom_address

版本歷史

4
  1. v1.0.3最新Oct 13, 2026
  2. v1.0.2Sep 23, 2026
  3. v1.0.1Sep 22, 2026
  4. v1.0.0Sep 22, 2026

評分

已滿足適用檢查項的 83%

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

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

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。