馃拵 Diamond

Connect your Bitcoin agent

Try free discovery and inspect a paid quote with the official MCP Python client. Then choose a paying client for the analysis you need.

Tested 3 November 2026 路 MCP Python SDK 2.3.0

1. Run the free quickstart

The script discovers Diamond鈥檚 tools, recommends an output-check service, and requests a 0.01 USDC fee-planner quote. It contains no wallet, signing code or payment step.

Download Python clientFull integration guide

python3 -m venv diamond-env
diamond-env/bin/python -m pip install "mcp==2.3.0"
curl -fSLo diamond_mcp_client.py https://diamond.tail1b5f86.ts.net/diamond_mcp_client.py
diamond-env/bin/python diamond_mcp_client.py
Windows PowerShell commands
py -m venv diamond-env
.\diamond-env\Scripts\python.exe -m pip install "mcp==2.3.0"
Invoke-WebRequest https://diamond.tail1b5f86.ts.net/diamond_mcp_client.py -OutFile diamond_mcp_client.py
.\diamond-env\Scripts\python.exe diamond_mcp_client.py

The checked client negotiated MCP 2025-11-25, discovered 14 tools and completed free search, free recommendation and an unpaid x402 quote. A quote returned with isError: true is the x402 payment request; it does not mean money was transferred.

"free_search": "passed",
"free_recommend": "passed",
"unpaid_analyze_quote": "0.01 USDC on Base",
"payment_sent": false

2. Choose your analysis

MCP toolPer purchaseUSDC
analyze(plan)Fee-budget scenarios for up to 25 transaction sizes0.01
check_outputs(outpoints)Node observations for up to 25 outpoints0.02
plan_cpfp(package)CPFP budgets for up to 25 child sizes0.02
verify(locator)Inclusion receipt for up to 5 transactions in one retained block0.02
score(address)Heuristic address-risk observations0.25

search() and recommend() are free. Each paid call is a separate purchase. Inspect the current quote before authorizing payment.

3. Authorize a purchase with your paying client

MCP discovery alone does not give a client payment capability. The free quickstart stops at the quote. A paying client needs an x402-compatible wallet funded with USDC on Base.

  1. Review structuredContent.accepts: check the amount, Base network, USDC asset and recipient against your spending policy.
  2. Sign locally. For MCP, retry the same tool and arguments with the authorization in params._meta["x402/payment"]. For HTTP, use PAYMENT-SIGNATURE.
  3. Read the result and payment receipt. After uncertain delivery, preserve and reuse the original authorization instead of automatically signing a fresh payment.

Official x402 MCP client reference 路 HTTP OpenAPI schema

Keep your seed and private keys in your own environment. Diamond does not need them.

Canonical MCP endpoint
https://diamond.tail1b5f86.ts.net/api/mcp

Free historical output-status and CPFP examples 路 Historical inclusion receipt 路 Storefront and terms