MCP 服务器

MACH Base

io.github.TheAliphant/mach-base
加密货币与 Web3 数据与分析 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Reads live Base blockchain data including blocks, transactions, balances, contracts, token transfers, event logs, gas prices, and receipts.

base_allowance
Check an ERC-20 token allowance on Base for an owner and spender. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['token', 'owner', 'spender'], 'properties': {'owner': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'ERC-20 token owner address on Base mainnet.'}, 'token': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'ERC-20 or token contract address on Base mainnet.'}, 'spender': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'ERC-20 spender address whose allowance is being checked.'}}, 'additionalProperties': False}
base_block
Get a Base block by number or tag with its header and transaction hashes. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'block': {'anyOf': [{'type': 'string'}, {'type': 'integer', 'minimum': 0}], 'description': 'Base block selector: block number or tag such as latest, safe, finalized, pending or earliest.'}}, 'additionalProperties': False}
base_block_number
Get the current Base mainnet block number (latest chain height) for an autonomous agent. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
base_contract_code
Check whether an address is a smart contract or EOA on Base mainnet by reading deployed bytecode. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': '20-byte 0x-prefixed EVM address on Base mainnet.'}}, 'additionalProperties': False}
base_contract_info
Inspect a Base smart contract and get token metadata, bytecode size and common interface detection in one call. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'Smart-contract address on Base mainnet.'}}, 'additionalProperties': False}
base_erc20_balance
Check a USDC or other ERC-20 token balance for a wallet on Base mainnet. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['token', 'address'], 'properties': {'token': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': '20-byte 0x-prefixed EVM address on Base mainnet.'}, 'address': {'$ref': '#/properties/token'}}, 'additionalProperties': False}
base_erc20_transfers
Find recent ERC-20 transfers on Base, optionally filtered to transfers from or to a specific wallet. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['token'], 'properties': {'token': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'ERC-20 or token contract address on Base mainnet.'}, 'to_block': {'type': 'integer', 'minimum': 0, 'description': 'Last Base block to include in the transfer query.'}, 'from_block': {'type': 'integer', 'minimum': 0, 'description': 'First Base block to include in the transfer query.'}, 'to_address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'Optional recipient wallet to filter ERC-20 transfers.'}, 'from_address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'Optional sender wallet to filter ERC-20 transfers.'}}, 'additionalProperties': False}
base_eth_call
Make a read-only smart-contract call on Base with eth_call without sending a transaction. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['to', 'data'], 'properties': {'to': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'Smart-contract address on Base mainnet.'}, 'data': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]*$', 'maxLength': 32770, 'description': '0x-prefixed ABI calldata for a read-only eth_call.'}, 'block': {'anyOf': [{'type': 'string'}, {'type': 'integer', 'minimum': 0}], 'description': 'Base block selector: block number or tag such as latest, safe, finalized, pending or earliest.'}}, 'additionalProperties': False}
base_gas_price
Get the current gas price on Base mainnet in wei for transaction fee estimation. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
base_logs
Query smart-contract event logs on Base by contract address, topics and bounded block range. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'topics': {'type': 'array', 'items': {'type': ['string', 'null']}, 'maxItems': 4, 'description': 'Up to four Ethereum log topics; null keeps a topic position as a wildcard.'}, 'address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'Smart-contract address on Base mainnet.'}, 'to_block': {'type': 'integer', 'minimum': 0, 'description': 'Last Base block to include in the log query.'}, 'from_block': {'type': 'integer', 'minimum': 0, 'description': 'First Base block to include in the log query.'}}, 'additionalProperties': False}
base_nonce
Get the current transaction nonce for a Base wallet before broadcasting a transaction. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': '20-byte 0x-prefixed EVM address on Base mainnet.'}}, 'additionalProperties': False}
base_receipt
Check whether a Base transaction succeeded, get its receipt, and count current confirmations. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['tx_hash'], 'properties': {'tx_hash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$', 'description': '32-byte 0x-prefixed Base transaction hash.'}}, 'additionalProperties': False}
base_total_supply
Get total supply for an ERC-20 token or ERC-721 NFT contract on Base. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['token'], 'properties': {'token': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'ERC-20 or token contract address on Base mainnet.'}}, 'additionalProperties': False}
base_transaction
Get a full Base transaction by hash, including sender, recipient, value, calldata and live transaction details. Costs $0.008 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['tx_hash'], 'properties': {'tx_hash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$', 'description': '32-byte 0x-prefixed Base transaction hash.'}}, 'additionalProperties': False}
base_transaction_context
Use when an agent needs one-call Base transaction context to verify a payment, debug a failed transaction, or confirm settlement. Costs $0.008 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['tx_hash'], 'properties': {'tx_hash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$', 'description': '32-byte 0x-prefixed Base transaction hash.'}}, 'additionalProperties': False}
base_wallet_balance
Check the native ETH balance of a wallet or address on Base mainnet. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': '20-byte 0x-prefixed EVM address on Base mainnet.'}}, 'additionalProperties': False}
base_wallet_snapshot
Take a Base wallet snapshot in one call: native ETH plus up to 10 supplied ERC-20 token balances. Costs $0.005 USDC via x402.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'tokens': {'type': 'array', 'items': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'ERC-20 or token contract address on Base mainnet.'}, 'maxItems': 10, 'description': 'Up to ten token contract addresses whose balances should be included.'}, 'address': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}$', 'description': 'Wallet or account address on Base mainnet.'}}, 'additionalProperties': False}
mach_choose
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.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['goal'], 'properties': {'goal': {'type': 'string', 'maxLength': 500, 'minLength': 1, 'description': 'The job or outcome the agent needs from Base mainnet.'}}, 'additionalProperties': False}
已添加
mach_choose
2026年9月27日 02:42
已更改
base_erc20_transfers
2026年9月25日 02:49
已更改
base_contract_info
2026年9月25日 02:49
已更改
base_total_supply
2026年9月25日 02:49
已更改
base_wallet_snapshot
2026年9月25日 02:49
已添加
base_transaction_context
2026年9月25日 02:49
已更改
base_block
2026年9月25日 02:49
已更改
base_transaction
2026年9月25日 02:49
已更改
base_eth_call
2026年9月25日 02:49
已更改
base_logs
2026年9月25日 02:49
已更改
base_receipt
2026年9月25日 02:49
已更改
base_allowance
2026年9月25日 02:49
已更改
base_contract_code
2026年9月25日 02:49
已更改
base_nonce
2026年9月25日 02:49
已更改
base_erc20_balance
2026年9月25日 02:49
已更改
base_wallet_balance
2026年9月25日 02:49
已更改
base_gas_price
2026年9月25日 02:49
已更改
base_block_number
2026年9月25日 02:49
已添加
base_erc20_transfers
2026年9月23日 02:40
已添加
base_contract_info
2026年9月23日 02:40
已添加
base_total_supply
2026年9月23日 02:40
已添加
base_wallet_snapshot
2026年9月23日 02:40
已添加
base_block
2026年9月23日 02:40
已添加
base_transaction
2026年9月23日 02:40
已添加
base_eth_call
2026年9月23日 02:40
已添加
base_logs
2026年9月23日 02:40
已添加
base_receipt
2026年9月23日 02:40
已添加
base_allowance
2026年9月23日 02:40
已添加
base_contract_code
2026年9月23日 02:40
已添加
base_nonce
2026年9月23日 02:40