MetaMask MCP

get-block-number

Retrieve the most recent block number from a specified blockchain using the MetaMask MCP server, enabling secure and direct blockchain interactions without exposing private keys.

Instructions

Fetch the number of the most recent block seen.

Input Schema

NameRequiredDescriptionDefault
chainIdNoID of chain to use when fetching data.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "description": "ID of chain to use when fetching data.", "type": "number" } }, "type": "object" }
ID: cw2ldcetl4