mcp-server
M
mcp-server
/get_block_number

Get Block Number

Retrieves the block number and timestamp for a specific date/time or the latest block. Use when you need a block height for a specific point in time (e

liveunknown~5s typical
mcpmcp-server
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-blockscout-mcp-server /get_block_number for me.

Input

FieldTypeDescription
chain_id*stringThe ID of the blockchain
datetimestringThe date and time (ISO 8601 format, e.g. 2025-05-22T23:00:00.00Z) to find the block for. I
session_idstringOpaque session identifier.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-com-blockscout-mcp-server","endpoint":"/get_block_number","input":{"chain_id":"..."}}'
cli
npx cracked-ai run -p mcp-com-blockscout-mcp-server -e /get_block_number -i '{"chain_id":"..."}'
mcp
run_tool({ provider: "mcp-com-blockscout-mcp-server", endpoint: "/get_block_number", input: {"chain_id":"..."} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.