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.
ENDPOINT 1
https://api.block402.xyz/mcp
MCP server metadata
- Name
- block402
- Version
- 0.1.0
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_getblockcountRead getblockcount from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlybitcoin_getbestblockhashRead getbestblockhash from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlybitcoin_getblockhashRead getblockhash from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlybitcoin_getblockheaderRead getblockheader from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlybitcoin_getblockRead getblock from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlybitcoin_getrawtransactionRead getrawtransaction from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlybitcoin_gettxoutRead gettxout from Bitcoin (bip122:000000000019d6689c085ae165831e93).
Inferred read-onlyethereum_eth_maxPriorityFeePerGasRead eth_maxPriorityFeePerGas from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getBlockTransactionCountByNumberRead eth_getBlockTransactionCountByNumber from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getUncleCountByBlockNumberRead eth_getUncleCountByBlockNumber from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getTransactionByBlockNumberAndIndexRead eth_getTransactionByBlockNumberAndIndex from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getUncleByBlockNumberAndIndexRead eth_getUncleByBlockNumberAndIndex from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getRawTransactionByBlockNumberAndIndexRead eth_getRawTransactionByBlockNumberAndIndex from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getBlockTransactionCountByHashRead eth_getBlockTransactionCountByHash from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getUncleCountByBlockHashRead eth_getUncleCountByBlockHash from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getTransactionByBlockHashAndIndexRead eth_getTransactionByBlockHashAndIndex from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getUncleByBlockHashAndIndexRead eth_getUncleByBlockHashAndIndex from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getRawTransactionByBlockHashAndIndexRead eth_getRawTransactionByBlockHashAndIndex from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getTransactionCountRead eth_getTransactionCount from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getTransactionByHashRead eth_getTransactionByHash from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getTransactionReceiptRead eth_getTransactionReceipt from Ethereum (eip155:1).
Inferred read-onlyethereum_eth_getRawTransactionByHashRead eth_getRawTransactionByHash from Ethereum (eip155:1).
Inferred read-onlyCONNECT 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.
block402.xyz is assessed as Neutral: No suspicious signals found, but no strong positive signal either
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.