← Registry

API Tools

block402.xyz

An MCP server that exposes Bitcoin JSON-RPC methods for reading blockchain block data such as block count, best block hash, block hashes, headers, and full blocks.

x402 supported1 endpoint44 known tools

ENDPOINT 1

https://api.block402.xyz/mcp

No auth detected

MCP server metadata

Name
block402
Version
0.1.0
Capabilities
tools.listChangedresources.listChanged
Server instructions

Blockchain intelligence for AI agents. Read-only blockchain data, paid per request with x402. Currently advertised chains: Bitcoin, Ethereum. Payments use test USDC on eip155:84532. Preserve a private idempotencyKey per logical call before payment. An x402-aware client must approve and sign payments. Never authorize another payment after an ambiguous result. Read https://api.block402.xyz/docs/api.md before paying.

Known tools 44

bitcoin_getblockcount

Read getblockcount from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
bitcoin_getbestblockhash

Read getbestblockhash from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
bitcoin_getblockhash

Read getblockhash from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
bitcoin_getblockheader

Read getblockheader from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
bitcoin_getblock

Read getblock from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
bitcoin_getrawtransaction

Read getrawtransaction from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
bitcoin_gettxout

Read gettxout from Bitcoin (bip122:000000000019d6689c085ae165831e93).

Inferred read-only
ethereum_eth_chainId

Read eth_chainId from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_blockNumber

Read eth_blockNumber from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_syncing

Read eth_syncing from Ethereum (eip155:1).

Inferred read-only
ethereum_net_version

Read net_version from Ethereum (eip155:1).

Inferred read-only
ethereum_net_listening

Read net_listening from Ethereum (eip155:1).

Inferred read-only
ethereum_net_peerCount

Read net_peerCount from Ethereum (eip155:1).

Inferred read-only
ethereum_web3_clientVersion

Read web3_clientVersion from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_gasPrice

Read eth_gasPrice from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_maxPriorityFeePerGas

Read eth_maxPriorityFeePerGas from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_blobBaseFee

Read eth_blobBaseFee from Ethereum (eip155:1).

Inferred read-only
ethereum_web3_sha3

Read web3_sha3 from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getBlockTransactionCountByNumber

Read eth_getBlockTransactionCountByNumber from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getUncleCountByBlockNumber

Read eth_getUncleCountByBlockNumber from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getBlockByNumber

Read eth_getBlockByNumber from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getTransactionByBlockNumberAndIndex

Read eth_getTransactionByBlockNumberAndIndex from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getUncleByBlockNumberAndIndex

Read eth_getUncleByBlockNumberAndIndex from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getRawTransactionByBlockNumberAndIndex

Read eth_getRawTransactionByBlockNumberAndIndex from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getBlockTransactionCountByHash

Read eth_getBlockTransactionCountByHash from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getUncleCountByBlockHash

Read eth_getUncleCountByBlockHash from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getBlockByHash

Read eth_getBlockByHash from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getTransactionByBlockHashAndIndex

Read eth_getTransactionByBlockHashAndIndex from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getUncleByBlockHashAndIndex

Read eth_getUncleByBlockHashAndIndex from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getRawTransactionByBlockHashAndIndex

Read eth_getRawTransactionByBlockHashAndIndex from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getBalance

Read eth_getBalance from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getTransactionCount

Read eth_getTransactionCount from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getCode

Read eth_getCode from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getStorageAt

Read eth_getStorageAt from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getTransactionByHash

Read eth_getTransactionByHash from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getTransactionReceipt

Read eth_getTransactionReceipt from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getRawTransactionByHash

Read eth_getRawTransactionByHash from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_feeHistory

Read eth_feeHistory from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_call

Read eth_call from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_estimateGas

Read eth_estimateGas from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_createAccessList

Read eth_createAccessList from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getProof

Read eth_getProof from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getLogs

Read eth_getLogs from Ethereum (eip155:1).

Inferred read-only
ethereum_eth_getBlockReceipts

Read eth_getBlockReceipts from Ethereum (eip155:1).

Inferred read-only

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.block402]
url = "https://api.block402.xyz/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "block402": {
      "type": "http",
      "url": "https://api.block402.xyz/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: block402
Remote MCP URL: https://api.block402.xyz/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "block402": {
      "url": "https://api.block402.xyz/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "block402": {
      "type": "http",
      "url": "https://api.block402.xyz/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "block402",
  "transport": "streamable-http",
  "url": "https://api.block402.xyz/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

TRUST AND VERIFICATION EVIDENCE

Trust Data Available

BuiltWith Trust API v2 evidence for block402.xyz was fetched 2026-10-06T12:23:36.327Z.

Trust status Neutral

block402.xyz is assessed as Neutral: No suspicious signals found, but no strong positive signal either

Indexed

Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.