Your books, answerable in plain language. The assistant can't spend a single Luna.
nimbooks-mcp is a small Model Context Protocol server that runs on your own machine. Point an AI assistant at it and your Nimiq books become answerable in ordinary sentences: balances, classified history, day-by-day statements priced at each day's close. It can also draft a payment request and hand you back the link, and it answers the staking questions too: the position, the pools, a yield projection, the rewards earned. Eleven tools, no account to create.
New in 1.2: draft_stake hands you a link that opens the stake panel pre-filled. It never signs.
It never signs, it holds no key material, and no server of ours is involved: it reads the public chain and your local backup file, over four public endpoints in total.
create_payment_request returns a link. Only the payer's wallet can move money, and only when its owner approves it there.nimbooks.subimpact.net. Four hosts, all public infrastructure: rpc.nimiqwatch.com for the chain, v2.nimiqwatch.com for staking rewards and the validator record that confirms who paid them (the same analytics API the app reads), validators-api-main.je-cf9.workers.dev for the validator list the NimBooks app reads (names, fees, reliability), and api.coingecko.com for daily prices. That is the whole network surface.Eleven tools, every one of them a read or a pure function:
get_summary balance and money in, out and over a windowlist_transactions classified rows, newest firstget_statement day-by-day, priced at each day's closecreate_payment_request drafts a shareable link, signs nothingdraft_stake hands you a link that opens the stake panel pre-filled, signs nothingcheck_request_paid whether a request has been paidlist_invoices the requests saved in a backup fileget_staking the staked position, the pool with its fee and net yield, the unstake clocklist_validators the pools ranked neutrally, with fees, yields and the medianproject_yield what a stake might earn, year by year, assumptions attachedget_rewards rewards over a window, per pool, with the actual yieldOne command, nothing to clone or build:
npx -y nimbooks-mcp --help
Prefer to build it yourself, or to read every line before you run it:
git clone https://github.com/subimpact/nimbooks-mcp cd nimbooks-mcp npm install npm run build
Then register it with your assistant. Claude Code:
claude mcp add nimbooks -- npx -y nimbooks-mcp \ --address "YOUR_NQ_ADDRESS"
Claude Desktop: Settings, then Developer, then Edit Config, and add the server to claude_desktop_config.json:
{
"mcpServers": {
"nimbooks": {
"command": "npx",
"args": [
"-y", "nimbooks-mcp",
"--address", "YOUR_NQ_ADDRESS"
]
}
}
}
Built from source instead? Swap npx -y nimbooks-mcp for node /absolute/path/to/nimbooks/mcp/dist/index.js in either config.
Restart the client and the eleven tools appear. --address is the account used when a question does not name one; every tool also takes an address of its own. Add --backup /path/to/nimbooks-backup.json if you want it to see the payment requests your app keeps on the device: that file holds cashlink keys, so keep it as carefully as a wallet. The server discards that part of it at the door.