# io.github.Spacetime-Technology/chia-explorer (npm · chia-explorer)

MCP server for the Chia blockchain. Read-only Q&A via the public coinset.org API.

- Trust score: 76/100 (medium)
- Change this week: +31
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `chia-explorer`: 76/100 (this document), [markdown](https://verifymcp.io/servers/spacetime-technology-chia-explorer/chia-explorer.md), [page](https://verifymcp.io/servers/spacetime-technology-chia-explorer/chia-explorer)

## Channel facts

- Registry: `npm`
- Package: `chia-explorer`
- Version: `0.3.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 88/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (108 of 112), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (108 of 112), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 71/100
  - Repository check failed: the declared repository URL returned HTTP 404.
  - Cryptographically verified build provenance (signed, bound to Spacetime-Technology/chia-explorer).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 73 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 86/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 3695 tokens (~119/item across 31 items; 31 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 95/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 85% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add spacetime-technology-chia-explorer -- npx -y chia-explorer
```

### Codex

```bash
codex mcp add spacetime-technology-chia-explorer -- npx -y chia-explorer
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "spacetime-technology-chia-explorer": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "chia-explorer"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add spacetime-technology-chia-explorer --command npx --arg -y --arg chia-explorer
```

### Hermes

```yaml
mcp_servers:
  spacetime-technology-chia-explorer:
    command: "npx"
    args: ["-y", "chia-explorer"]
```

### Other

```json
{
  "mcpServers": {
    "spacetime-technology-chia-explorer": {
      "command": "npx",
      "args": [
        "-y",
        "chia-explorer"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 76, +76)

- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Provenance: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] The attested source repository moved: Spacetime-Technology/chia-explorer
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100
- [functional] Licence: MIT

### 2026-08-01 (score 0, −27)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 27, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-29 (score 45, +27)

- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100

### 2026-07-28 (score 18, −27)

- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Schema quality: 100 → unverified

### 2026-07-27 (score 45)

First indexed and scored.

## MCP tools (31)

### `get_blockchain_state` (~70 tokens)

Get the current Chia blockchain state: peak height, netspace (raw + formatted EiB/PiB), difficulty, mempool stats and sync status. Defaults to mainnet.

Input parameters:

- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `get_netspace` (~62 tokens)

Get the current Chia netspace (estimated total network space). Returns raw bytes and formatted values in EiB, PiB, and TiB.

Input parameters:

- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `get_peak_height` (~44 tokens)

Get the current peak block height of the Chia blockchain.

Input parameters:

- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `get_block_by_height` (~64 tokens)

Get the block record (including header hash, timestamp and previous hash) for a block at the given height.

Input parameters:

- `height` (integer, required): Block height
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `get_block_by_hash` (~61 tokens)

Get the block record for a given header hash (32-byte hex, optional 0x prefix).

Input parameters:

- `header_hash` (string, required)
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `count_block_transactions` (~85 tokens)

Count the 'transactions' in a Chia block. Returns coin_spends_count (the canonical analogue), plus additions_count and removals_count. Pass either height OR header_hash.

Input parameters:

- `header_hash` (string)
- `height` (integer): Block height
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `get_block_additions_and_removals` (~108 tokens)

List every coin created (additions) and destroyed (removals) in a single block. Pass either height OR header_hash. Use this when a singleton control coin and funds coin spend together — direct parent-id lookup misses the funds child but this tool surfaces it.

Input parameters:

- `header_hash` (string)
- `height` (integer): Block height
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `get_balance` (~137 tokens)

Get the XCH balance of an address or puzzle hash. Sums all unspent coins (paginated). Accepts xch/txch addresses (network auto-detected from prefix) or a 32-byte hex puzzle hash (network defaults to mainnet, override with `network`).

Input parameters:

- `address_or_puzzle_hash` (string, required): An xch/txch bech32m address OR a 32-byte hex puzzle hash (optional 0x prefix)
- `network` (string): Chia network: 'mainnet' or 'testnet11'. Optional — auto-detected from address prefix when an address is supplied.

### `get_coin_records_by_puzzle_hash` (~139 tokens)

Return raw coin records for an address or puzzle hash. Optionally include spent coins or restrict to a height window.

Input parameters:

- `address_or_puzzle_hash` (string, required): An xch/txch bech32m address OR a 32-byte hex puzzle hash (optional 0x prefix)
- `end_height` (integer)
- `include_spent_coins` (boolean): Include spent coins (default false)
- `network` (string): Chia network: 'mainnet' or 'testnet11'. Optional — auto-detected from address prefix when an address is supplied.
- `start_height` (integer)

### `get_coin_records_by_parent_ids` (~125 tokens)

Return raw coin records for the given parent coin names. Use this to find the children produced by spending a coin. include_spent_coins defaults to true.

Input parameters:

- `end_height` (integer)
- `include_spent_coins` (boolean): Include spent children (default true)
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'
- `parent_ids` (array, required): 32-byte coin names (parent ids), 0x-prefixed or bare hex
- `start_height` (integer)

### `get_coin_by_name` (~66 tokens)

Look up a coin record by its coin name (the 32-byte sha256 of parent_coin_info || puzzle_hash || amount).

Input parameters:

- `name` (string, required)
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `calculate_coin_name` (~86 tokens)

Compute the coin name (sha256 of parent_coin_info || puzzle_hash || amount). Local computation only — no RPC.

Input parameters:

- `amount` (required): Coin amount in mojos. Strings are accepted for values that exceed JS number precision.
- `parent_coin_info` (string, required): 32-byte parent coin id (hex)
- `puzzle_hash` (string, required): 32-byte puzzle hash (hex)

### `get_puzzle_and_solution` (~145 tokens)

Fetch the CLVM puzzle reveal and solution for a coin at its spent block height. Reveals what a spend actually did — required for decoding singleton state transitions. Now also returns a `classification` of the puzzle (xch / cat / nft / did / unknown, plus asset_id / launcher_id) and the `parsed_conditions` emitted by running the puzzle with its solution.

Input parameters:

- `coin_id` (string, required): 32-byte coin name
- `height` (integer, required): The spent_block_index of the coin (the block where the coin was spent)
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `address_to_puzzle_hash` (~53 tokens)

Decode an xch1/txch1 bech32m address to its 32-byte puzzle hash. Also reports the detected network. Local computation only — no RPC.

Input parameters:

- `address` (string, required)

### `puzzle_hash_to_address` (~88 tokens)

Encode a 32-byte puzzle hash to a bech32m xch/txch address. Use `network` to select mainnet (xch) or testnet11 (txch). Local computation only — no RPC.

Input parameters:

- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'
- `puzzle_hash` (string, required)

### `get_xch_price` (~123 tokens)

Current XCH spot price via CoinGecko. Accepts any currency CoinGecko supports (e.g. 'usd', 'eur', 'gbp', 'jpy', 'btc', 'eth'); defaults to ['usd']. Free-tier API is rate-limited; results are cached for 60 seconds.

Input parameters:

- `currencies` (array): Fiat or crypto currency codes accepted by CoinGecko (e.g. 'usd', 'eur', 'gbp', 'jpy', 'btc', 'eth'). Case-insensitive. Defaults to ['usd'].

### `convert_xch_to_fiat` (~177 tokens)

Convert a mojo amount to its current fiat (or other CoinGecko-supported currency) value. 1 XCH = 1,000,000,000,000 mojo — convert XCH to mojo before calling. Prices come from CoinGecko (cached 60s). Returned values use JS floating-point; precise to far more decimals than any realistic balance.

Input parameters:

- `currencies` (array): Fiat or crypto currency codes accepted by CoinGecko (e.g. 'usd', 'eur', 'gbp', 'jpy', 'btc', 'eth'). Case-insensitive. Defaults to ['usd'].
- `mojo` (string, required): Non-negative integer mojo amount as a decimal string. 1 XCH = 1,000,000,000,000 mojo. Convert XCH amounts to mojo before passing.

### `get_prefarm_status` (~66 tokens)

Aggregate status of the Chia strategic reserve (21M XCH across four custody wallets: US/CH × cold/warm). Per-wallet balances are read live from coinset.org; the only hardcoded amount is the 21M XCH genesis total. Mainnet only.

### `get_prefarm_spends` (~126 tokens)

List outflows from the Chia strategic reserve. For each spent coin: the source wallet, the destination addresses (labelled when they map to a known partner / market maker / exchange), and amounts. Internal rotations between custody wallets are flagged and excluded from total outflow. Mainnet only.

Input parameters:

- `limit` (integer): Maximum spends to return, sorted newest first. Default 50.
- `since_height` (integer): Only include spends at or after this block height.
- `wallet_id` (string): Restrict to one wallet. Omit to query all four.

### `list_prefarm_addresses` (~64 tokens)

Return the hardcoded registry of Chia strategic-reserve custody wallets and labelled destination addresses (partners, market makers, exchanges). Identities only — balances are not returned here; call `get_prefarm_status` for live amounts. Pure local data, no network call.

### `decode_offer` (~92 tokens)

Decode a Chia 'offer1...' string locally (no external API). Returns a structured trade summary: what assets are offered, what is requested, and per-asset amounts and IDs. Classifies XCH, CATs (with asset_id), NFTs (with launcher_id), and DIDs.

Input parameters:

- `offer` (string, required): A Chia offer string starting with 'offer1'. Bech32m-encoded.

### `decode_spend_bundle` (~82 tokens)

Decode a raw hex-encoded Chia spend bundle (e.g. a mempool item, or any bundle that is not wrapped in an offer string) into the same structured trade-summary shape as decode_offer. Useful for inspecting pending mempool transactions.

Input parameters:

- `spend_bundle` (string, required): Hex-encoded spend bundle bytes (with or without 0x prefix).

### `decompile_puzzle` (~254 tokens)

Classify a Chia CLVM puzzle reveal. Returns its kind (xch, cat, nft, did, singleton, unknown), asset_id for CATs, launcher_id for NFTs/DIDs, and the inner p2 puzzle hash. Either pass `puzzle_reveal` as hex directly, OR pass `coin_id` + `height` to auto-fetch from the full node. Set `include_conditions: true` to also parse the conditions a spend emits (requires `solution` hex, or a spent coin reachable via coin_id + height).

Input parameters:

- `coin_id` (string): 32-byte coin id. Use with `height` to auto-fetch the puzzle reveal.
- `height` (integer): The spent_block_index of the coin (where it was spent).
- `include_conditions` (boolean): If true, run the puzzle with the solution and parse the emitted conditions.
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'
- `puzzle_reveal` (string): Hex-encoded puzzle reveal. Omit to auto-fetch via coin_id + height.
- `solution` (string): Hex-encoded solution. Only used when include_conditions is true.

### `get_mempool` (~146 tokens)

List transaction ids currently in the full node mempool. By default returns the first `limit` ids (default 100, max 1000) plus a `truncated` flag. Pass `include_items: true` to also return the full mempool items (warning: can be large on a busy mempool).

Input parameters:

- `include_items` (boolean): If true, also fetch full mempool items via get_all_mempool_items.
- `limit` (integer): Maximum number of tx_ids (and items) to return. 1..1000.
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'

### `is_in_mempool` (~115 tokens)

Check whether a specific transaction id (the spend bundle hash) is currently sitting in the full node mempool. Returns `in_mempool: true` with the mempool item, or `in_mempool: false` if the node has no record of it.

Input parameters:

- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'
- `tx_id` (string, required): 32-byte transaction id (spend bundle hash). Hex, optional 0x prefix.

### `estimate_fee` (~178 tokens)

Estimate the recommended mojo fee for inclusion in the next block within each target time (in seconds). Default target_times = [60, 300, 900] (1, 5, 15 minutes). Optionally bias the estimate by passing `spend_type` and `spend_count`, or supply an explicit CLVM `cost`.

Input parameters:

- `cost` (integer): Optional CLVM cost of the spend bundle you plan to send.
- `network` (string): Chia network: 'mainnet' (default) or 'testnet11'
- `spend_count` (integer): Optional hint: number of spends in the bundle.
- `spend_type` (string): Optional hint about the kind of spend (biases the estimate).
- `target_times` (array): Target inclusion times in seconds. Non-empty array, max 20 entries.

### `list_chips` (~213 tokens)

List all Chia Improvement Proposals (CHIPs) from the canonical index in the Chia-Network/chips repo README, across every status (Living, Draft, Review, Final, Stagnant, Withdrawn, Obsolete, Grandfathered, Under Consideration). Draft and Review entries point to open PRs; Final entries point to merged files on main. Status comes from the README (authoritative); category, authors, and abstract are enriched from front matter when a CHIP file is available. Use this to find the most recent CHIPs — they are typically in Draft. Optional filters: status, category.

Input parameters:

- `category` (string): Restrict to a category, e.g. 'Standards Track', 'Process', 'Informational'. Case-insensitive.
- `status` (string): Restrict to a status, e.g. 'Final', 'Review', 'Draft', 'Last Call', 'Living', 'Stagnant', 'Withdrawn', 'Obsolete'. Case-insensitive.

### `get_chip` (~109 tokens)

Get a single CHIP by number. Looks first on main (merged) and also surfaces any open PRs proposing changes to the same number. Returns parsed front matter, abstract, source URL, and (with include_body=true) the full markdown body.

Input parameters:

- `include_body` (boolean): If true, include the full markdown body of the CHIP. Defaults to false.
- `number` (required): CHIP number, e.g. 42 or "0042". Accepts the integer or a zero-padded string.

### `list_chip_drafts` (~97 tokens)

List the live state of every open pull request against Chia-Network/chips that adds or modifies a CHIP file. Use this for PR review context (author, requested reviewers, draft flag, updated_at) and the modifies_existing flag for amendments. PRs that do not touch a CHIPs/chip-*.md file are filtered out. For the canonical CHIP index across all statuses (including Draft proposals), use list_chips.

### `search_chips` (~179 tokens)

Case-insensitive keyword search across merged CHIPs and open PR drafts. Matches against title, description, abstract, authors, and CHIP number. Optional filters: status, source (merged | draft | both, default both), limit (default 20).

Input parameters:

- `limit` (integer): Maximum results. Default 20, max 100.
- `query` (string, required): Case-insensitive keyword matched against title, description, abstract, and authors.
- `source` (string): Where to search: 'merged' (CHIPs on main), 'draft' (open PRs), or 'both' (default).
- `status` (string): Restrict to a status, e.g. 'Final', 'Review', 'Draft', 'Last Call', 'Living', 'Stagnant', 'Withdrawn', 'Obsolete'. Case-insensitive.

### `list_forks` (~142 tokens)

List every Chia consensus fork (hard and soft) with current status, drawn from the canonical docs page at https://docs.chia.net/chia-blockchain/consensus/forks/ (sourced from the Chia-Network/chia-docs GitHub repo). Each entry has type ("hard" | "soft"), name, activation_block, activation_date, build, status (e.g. Activated, Planned), and a purpose_url linking to the relevant CHIP, post-mortem, or blog post when available. Includes the source's last_updated date so callers can judge freshness. No arguments, no network selector (consensus forks are protocol-level).

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/spacetime-technology-chia-explorer/chia-explorer#diagnostics

## Score history

- 2026-08-03: 76
- 2026-08-02: 76
- 2026-08-01: 0
- 2026-07-31: 27
- 2026-07-29: 45
- 2026-07-28: 18
- 2026-07-27: 45

## Links

- npm package: https://www.npmjs.com/package/chia-explorer
- Socket report: https://socket.dev/npm/package/chia-explorer
- Changelog RSS feed: https://verifymcp.io/servers/spacetime-technology-chia-explorer/chia-explorer/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/spacetime-technology-chia-explorer/chia-explorer/changelog.json
- HTML version of this page: https://verifymcp.io/servers/spacetime-technology-chia-explorer/chia-explorer
