getHeadLABSCO SUMMARY
Read-only on purpose, and the docs are part of the tool surface.
Transactions cannot be sent, which removes the whole category of accident that makes people nervous about giving a model chain access. The pairing of live chain calls with documentation search and the OpenRPC method list is what makes it usable to someone who does not already know Nimiq's RPC: the model can look up what a call does and then make it. The remote option routes requests through the maintainer's Worker and supports SSE only; the local one talks to RPC directly.
What it is
An MCP server for the Nimiq blockchain, available two ways: a hosted endpoint that needs no installation, or npx nimiq-mcp locally with a direct RPC connection. Sending transactions is deliberately not supported.
What you get
- Chain data: the current head block, a block by number or by hash, and the current epoch —
getHead,getBlockByNumber,getBlockByHash,getEpochNumber - Accounts and transactions: account detail and balance by address, a transaction by hash, and transaction history for an address —
getAccount,getBalance,getTransaction,getTransactionsByAddress - Validator and network state: all active validators, one validator in detail, slot assignments, and network status including peer count and consensus state —
getValidators,getValidator,getSlots,getNetworkInfo - Supply and staking maths: circulating supply, supply at a given time, a staking rewards calculation, an interactive calculator that asks for the missing inputs, and the NIM price against other currencies —
getSupply,calculateSupplyAt,calculateStakingRewards,interactiveStakingCalculator,getPrice - Documentation access: every RPC method from the latest OpenRPC document, and full-text search over the Nimiq docs —
getRpcMethods,searchDocs - Three documentation resources served as plain text for the model to read —
nimiq://docs/web-client,nimiq://docs/protocol,nimiq://docs/validators
Requirements
Nothing for the remote path: add the URL https://nimiq-mcp.je-cf9.workers.dev/sse with SSE transport. Locally, Node.js and npx nimiq-mcp; the default RPC endpoint is https://rpc.nimiqwatch.com and --rpc-url, --rpc-username and --rpc-password point it elsewhere. The same arguments work as URL parameters on the remote endpoint. The package is nimiq-mcp (0.0.10 in package.json).
Setup effort
One command — npx nimiq-mcp
USE CASES
Checking an address without a block explorer
Read the balance and account detail, then walk the transaction history for that address.
Working out what staking would return
Run the rewards calculation over an amount, a period and a network, or let the interactive calculator ask for what is missing.
Picking a validator
List the active validators, open the one you are considering, and check slot assignments and network consensus state.
Learning the chain while querying it
Search the documentation or read the protocol resource, then call the RPC method it describes against live data.
Tracking supply and price
Read circulating supply now or at a chosen time, alongside the NIM price against another currency.
19 tools
Listed in project docs. Your client may show a different list.
getBlockByNumbergetBlockByHashgetEpochNumbergetSupplycalculateSupplyAtcalculateStakingRewardsinteractiveStakingCalculatorgetPricegetAccountgetBalancegetTransactiongetTransactionsByAddressgetValidatorsgetValidatorgetSlotsgetNetworkInfogetRpcMethodssearchDocsBEFORE YOU INSTALL
What to know first
Tools you get
19 tools named in the project's documentation.
Requires
npx on PATH
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npx
npx nimiq-mcpHosted endpoint
https://nimiq-mcp.je-cf9.workers.dev/sseAdd this hosted endpoint to your MCP client.
MCP Clients
Claude Desktop — npx
{
"mcpServers": {
"nimiq": {
"command": "npx",
"args": [
"nimiq-mcp"
]
}
}
}Any MCP client — custom RPC
{
"mcpServers": {
"nimiq": {
"command": "npx",
"args": [
"nimiq-mcp",
"--rpc-url",
"<YOUR_RPC_ENDPOINT_URL>",
"--rpc-username",
"<YOUR_USERNAME>",
"--rpc-password",
"<YOUR_PASSWORD>"
]
}
}
}