Community-built read-only Nockchain access: balances, payment verification, blocks, node health.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A typed TypeScript client and an MCP server for reading Nockchain from an agent.
This is a community project. It is not affiliated with, endorsed by, or operated by Nockchain, Nock Community Co, Zorp, or National Compute.
The MCP server runs straight from npm:
Node 20 or newer.
Issue one address per invoice, then ask whether it has been paid:
Seven tools, all read-only:
| tool | what it answers |
|---|---|
nock_tip | current height, with a freshness reading per endpoint |
nock_balance | what an address can spend right now |
nock_verify_payment | has this address been paid, with confirmations |
nock_block | block contents by height or block ID |
nock_transaction | transaction contents, or why the node could not decode them |
nock_metrics | cache and refresh state of the selected endpoint, and its peer table |
nock_endpoints | the full endpoint health table |
Two things about reading Nockchain today cost more time than they should.
Balances come back as zero. The public WalletGetBalance call accepts an address selector, and for notes in the current v1 format that selector returns nothing at all. The balance lives under the note first-name, which you reach by hashing the pay-to-pubkey-hash behind the address. Two derivations matter, because coinbase notes lock differently from ordinary ones, and the real balance is the union of both. getBalance does that work and returns the figure the address can actually spend.
Public nodes go stale quietly. Three endpoints, measured within the same minute on 2026-08-25:
| endpoint | height | age of its chain state |
|---|---|---|
api.nockscan.net:443 | 133598 | 157 s |
23.252.122.18:5556 | 133598 | 214 s |
rpc.nockbox.org:443 | 133226 | 50625 s, close to 14 hours |
A response carries no sign of which of these answered it. The client probes every endpoint in its pool and declines to read from one that fails the freshness threshold, raising a typed error that names the ages it measured. client.health() returns the whole table.
Read-only. No signing library for Nockchain exists, so sending NOCK needs the official nockchain-wallet CLI. The SDK will submit a transaction the CLI has already produced. It will not build or sign one.
A balance is the live unspent-note set. It answers what an address can spend at the current tip. A spent note leaves the set, so the total is no record of what an address has received over its lifetime. Nothing the wallet sends carries a memo or a tag on the wire either, which is why payment correlation works by issuing one address per invoice.
Upstream GetTransactionDetails fails on transactions produced after the Logos upgrade. The node answers with a decoder error instead of the transaction. getTransactionDetails catches that case and returns { ok: false, reason: "upstream_decoder_bug", txId, fallback }, where fallback carries the inclusion facts that GetTransactionBlock and GetBlockDetails could still establish, such as the block height and its timestamp.
The public API is alpha and unauthenticated. There is no key to obtain and no rate limit to plan against. Endpoints move and lag without notice.
| package | contents |
|---|---|
nockchain-agent-sdk | the client and the note first-name derivation it depends on |
nockchain-mcp | the stdio MCP server built on it |
The examples import the workspace build, so build it once first.
Both read the public network.
Tests run offline against fixtures, including the golden vectors generated from the upstream Rust crates. Nothing in the test suite opens a socket.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/nockchain-mcp)<a href="https://allmcps.com/mcp/nockchain-mcp"><img src="https://allmcps.com/api/badge/nockchain-mcp?style=directory" alt="Nockchain MCP on AllMCPs" /></a>