# chia-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Chia-Network/chia-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 359  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/chia-mcp

## Description
MCP server exposing Chia blockchain full node RPC endpoints as tools for AI agents. Read-only full-node access via Coinset hosted nodes — not a wallet.

## Tools
Capabilities this server exposes over MCP:

- **get_blockchain_state**
- **get_network_info**
- **get_routes**
- **get_block**
- **get_block_record**
- **get_block_record_by_height**
- **get_block_records**
- **get_blocks**
- **get_block_spends**
- **get_block_spends_with_conditions**
- **get_additions_and_removals**
- **get_unfinished_block_headers**
- **get_block_count_metrics**
- **get_coin_record_by_name**
- **get_coin_records_by_names**
- **get_coin_records_by_puzzle_hash**
- **get_coin_records_by_puzzle_hashes**
- **get_coin_records_by_hint**
- **get_coin_records_by_hints**
- **get_coin_records_by_parent_ids**
- **get_puzzle_and_solution**
- **get_puzzle_and_solution_with_conditions**
- **get_memos_by_coin_name**
- **get_all_mempool_tx_ids**
- **get_all_mempool_items**
- **get_mempool_item_by_tx_id**
- **get_mempool_items_by_coin_name**
- **get_fee_estimate**
- **push_tx**
- **get_aggsig_additional_data**
- **get_network_space**
- **get_address_summary**
- **complete**
- **decode_offer**
- **offer1...**
- **trace_coin_lineage**
- **max_depth**
- **summarize_block**
- **address_encode**
- **address_decode**
- **coin_id**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "chia-mcp": {
    "command": "npx",
    "args": ["-y","chia-mcp"],
    "env": {
      "CHIA_NETWORK": "",
      "CHIA_FULL_NODE_URL": "",
      "CHIA_MCP_ENABLE_PUSH_TX": ""
    }
  }
}
```

**Requires environment variables:** `CHIA_NETWORK`, `CHIA_FULL_NODE_URL`, `CHIA_MCP_ENABLE_PUSH_TX` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What chia-mcp does

chia-mcp gives MCP-compatible clients access to Chia blockchain data and selected full-node operations. Its main use is inspection: agents can retrieve chain status, network details, blocks, block records, coin records, spends, additions and removals, mempool entries, fee estimates, and signature-verification data.

The server also provides higher-level queries for common analysis tasks. Agents can summarize an address balance, decode an offer string, follow a coin's ancestry, and produce a compact summary of a block's coin movements. Local utility tools encode and decode Chia addresses and calculate coin IDs without making an RPC request.

Transaction broadcasting is available through `push_tx`, but it is turned off unless explicitly enabled. The server is not a wallet and does not provide wallet management.

## How it works

The default connection uses Coinset-hosted Chia full nodes, with the network selected by configuration. Mainnet is the default, and `testnet11` is available for testing. Requests sent through MCP are translated into full-node RPC calls, while address conversion and coin-ID calculation run locally.

Resources expose live network information for mainnet and testnet11, along with embedded guides covering the Chia coin model, RPC usage, and common analysis recipes. Responses can contain large blockchain datasets; for example, raw additions and removals or complete mempool listings may be substantially larger than compact summary tools.

## Setup and configuration

The package can be launched through `npx` using the command `npx -y chia-mcp`. Claude Desktop, Claude Code, Cursor, and VS Code can run it as a stdio MCP server using their respective MCP configuration files.

Set `CHIA_NETWORK=testnet11` to use the test network. `CHIA_FULL_NODE_URL` can replace the automatically selected endpoint with Coinset or another full-node RPC URL. Local Chia nodes require mutual TLS client certificates; because chia-mcp does not handle those certificates directly, a reverse proxy that terminates mTLS is needed when connecting through that arrangement.

Set `CHIA_MCP_ENABLE_PUSH_TX` to `1` or `true` before starting the server to expose `push_tx`. Leaving it unset keeps transaction submission disabled.

## Tools and capabilities

- Inspect synchronization, peak height, difficulty, estimated network space, mempool size, and network address prefixes.
- Retrieve full blocks, lighter block records, block ranges, unfinished headers, spends, parsed CLVM conditions, and block count metrics.
- Look up coins by ID, puzzle hash, hint, parent coin, or batches of those identifiers.
- Examine spent-coin puzzles and solutions, associated conditions, and coin memos.
- List mempool transaction IDs and items, inspect transactions by ID or referenced coin, and request fee estimates.
- Submit signed spend bundles when push support is enabled and retrieve AGG_SIG additional data.
- Check complete address balances, decode offers, trace coin lineage, and summarize block activity.
- Encode or decode bech32m addresses and calculate coin IDs locally.

## Limitations and notes

The default access is read-only, with `push_tx` intentionally opt-in. Coinset nodes may not expose every RPC route; `get_routes` is available only when the connected node supports it. Some individual query responses are capped or can be large, so the address-summary tool is preferable for complete balance calculations and block-summary output is preferable to retrieving very large raw movement data.

_Full upstream README: https://allmcps.com/mcp/chia-mcp/readme_

