How to Use mempool.space Bitcoin block details in Gemini CLI
Returns details for one Bitcoin block, including its height, timestamp, transaction count, size, and weight. Use it to inspect a specific block's metadata before loading its transactions.
Prompts to try with mempool.space Bitcoin block details in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use mempool.space Bitcoin block details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from mempool.space Bitcoin block details and tell me what changed since last week.
Check mempool.space Bitcoin block details and summarize what you find in three bullet points.
Pull the newest data from mempool.space Bitcoin block details and give me the result as a table.
Check mempool.space Bitcoin block details every morning and tell me only when something changed.
How to set up mempool.space Bitcoin block details in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run mempool.space Bitcoin block details
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "mempool-space/crypto/get_block", "input": { "hash": "<hash>" } }'
Then paste one of the prompts above: Gemini CLI finds mempool.space Bitcoin block details on Spiral, shows the price and runs it.
mempool.space Bitcoin block details providers and prices
Spiral runs mempool.space Bitcoin block details through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Height | 0 to 10000000 | Block height (0 = genesis). Send |
Every API field of mempool.space · Get block is on its tool page: open its card above.
What can you do with mempool.space Bitcoin block details in Gemini CLI?
Build a Bitcoin payment review screen with address activity, transaction structure, and block evidence from mempool.space. Coding agents can turn those responses into project views for remaining outputs, fee recommendations, and congestion.
Reconcile public donation receipts
Compare a nonprofit's address totals with its transaction history, inventory remaining outputs, and check spending links. Inspect the containing blocks and their transaction lists when a receipt needs an inclusion check.
Explain a merchant payment's status
Inspect a payment's inputs, outputs, and confirmation status alongside the receiving address's history and totals. Check its containing block and contents after confirmation, or compare current fee guidance and backlog while it remains pending.
Produce a nonprofit settlement brief
Summarize new address activity, remaining outputs, and changes in output spending status. Add recent block activity, selected block details, and current fee pressure to give the finance team a compact Bitcoin settlement report.
Compare Bitcoin block contents
Scan a stretch of block summaries, compare transaction counts and block weights, and load selected blocks' transaction pages. Inspect individual transactions to explain differences in size and fees.
Create a Bitcoin data lesson
Use a nonprofit's published donation address and historical blocks to teach address totals, transaction inputs and outputs, unspent outputs, and spending links. Contrast confirmed block contents with the current backlog and suggested fee rates.
More on mempool.space Bitcoin block details and Gemini CLI
Overview
mempool.space Bitcoin block details in other agents
Questions about mempool.space Bitcoin block details in Gemini CLI
Can Gemini CLI use mempool.space Bitcoin block details?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run mempool.space Bitcoin block details like any built-in tool.
How much does mempool.space Bitcoin block details cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use mempool.space Bitcoin block details in Gemini CLI?
No. Spiral runs mempool.space Bitcoin block details on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up mempool.space Bitcoin block details in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while mempool.space Bitcoin block details runs?
mempool.space Bitcoin block details runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does mempool.space show one universal list of pending Bitcoin transactions?
Its pending view comes from multiple Bitcoin nodes. Mempool.space uses both nodes with the default 300 MB limit and larger nodes that retain low-fee transactions during congestion.
How quickly does mempool.space update its projected blocks?
Its transaction-selection algorithm runs every two seconds. That cadence applies to projected blocks and should not be read as a refresh guarantee for every REST response.
How much address history does one upstream request include?
The documented initial address-history request includes up to 50 pending transactions and 25 confirmed transactions. Older confirmed activity is paged in batches of 25; pending-only history has no paging.
How many transactions can a block-contents request return?
The source serves up to 25 transactions per block-transactions page. A block containing more transactions requires additional pages.
What does the mempool backlog measure?
It reports pending transaction count, total virtual size, and total fees. Its histogram also divides queued virtual bytes into fee-rate bands, which helps distinguish a large low-fee backlog from competition at higher rates.
Start using mempool.space Bitcoin block details in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


