[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [mempool.space Bitcoin mempool backlog](https://spiral.ai/integrations/claude-code/mempool-space-bitcoin-mempool-backlog)

# How to Use mempool.space Bitcoin mempool backlog in Claude Code

Returns pending transaction counts, total virtual size, total fees, and a fee-rate histogram. Use it to measure congestion and see how the queued transaction volume is distributed across fee rates.

|  |  |
| --- | --- |
| Model | mempool.space Bitcoin mempool backlog |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with mempool.space Bitcoin mempool backlog in Claude Code

- Use mempool.space Bitcoin mempool backlog 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 mempool backlog and tell me what changed since last week.
- Check mempool.space Bitcoin mempool backlog and summarize what you find in three bullet points.
- Pull the newest data from mempool.space Bitcoin mempool backlog and give me the result as a table.
- Check mempool.space Bitcoin mempool backlog every morning and tell me only when something changed.

## How to set up mempool.space Bitcoin mempool backlog in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run mempool.space Bitcoin mempool backlog**: One request; the result comes back by polling or a webhook.

```bash
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/mempool",
    "input": {}
  }'
```

Then paste one of the prompts above: Claude Code finds mempool.space Bitcoin mempool backlog on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## mempool.space Bitcoin mempool backlog tools and prices

- [mempool.space · Mempool](https://spiral.ai/tools/alexandria/mempool-space/crypto/mempool) (Alexandria): $0.00873 per call.

## What can you do with mempool.space Bitcoin mempool backlog in Claude Code?

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.

### Prepare an organization wallet consolidation review

Inventory unspent outputs, inspect their funding transactions, and compare the inventory with address totals and history. Add current fee recommendations and backlog conditions to help an authorized operator choose when to review consolidation.

### 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.

### Build a merchant Bitcoin operations screen

Show receipt history, address totals, remaining outputs, and the status of selected payment outputs. Place recent blocks, current fee recommendations, and backlog measurements beside those payment records.

### Build an organization output inventory

Join address totals and history with unspent outputs and funding transaction details. Check output spending links and add current fee and congestion data for a review of the organization's remaining coins.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## mempool.space Bitcoin mempool backlog in other agents

- [Amp](https://spiral.ai/integrations/amp/mempool-space-bitcoin-mempool-backlog)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/mempool-space-bitcoin-mempool-backlog)
- [Claude](https://spiral.ai/integrations/claude-desktop/mempool-space-bitcoin-mempool-backlog)
- [Cline](https://spiral.ai/integrations/cline/mempool-space-bitcoin-mempool-backlog)
- [Codex](https://spiral.ai/integrations/codex/mempool-space-bitcoin-mempool-backlog)
- [Cursor](https://spiral.ai/integrations/cursor/mempool-space-bitcoin-mempool-backlog)
- [Devin](https://spiral.ai/integrations/devin/mempool-space-bitcoin-mempool-backlog)
- [dots](https://spiral.ai/integrations/dots/mempool-space-bitcoin-mempool-backlog)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/mempool-space-bitcoin-mempool-backlog)
- [Gemini](https://spiral.ai/integrations/gemini/mempool-space-bitcoin-mempool-backlog)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/mempool-space-bitcoin-mempool-backlog)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/mempool-space-bitcoin-mempool-backlog)
- [goose](https://spiral.ai/integrations/goose/mempool-space-bitcoin-mempool-backlog)
- [Grok](https://spiral.ai/integrations/grok/mempool-space-bitcoin-mempool-backlog)
- [Grok Build](https://spiral.ai/integrations/grok-build/mempool-space-bitcoin-mempool-backlog)
- [Hermes](https://spiral.ai/integrations/hermes/mempool-space-bitcoin-mempool-backlog)
- [Instinct](https://spiral.ai/integrations/instinct/mempool-space-bitcoin-mempool-backlog)
- [Manus](https://spiral.ai/integrations/manus/mempool-space-bitcoin-mempool-backlog)
- [Muse](https://spiral.ai/integrations/muse/mempool-space-bitcoin-mempool-backlog)
- [Muse Code](https://spiral.ai/integrations/muse-code/mempool-space-bitcoin-mempool-backlog)
- [n8n](https://spiral.ai/integrations/n8n/mempool-space-bitcoin-mempool-backlog)
- [Notion](https://spiral.ai/integrations/notion/mempool-space-bitcoin-mempool-backlog)
- [OpenClaw](https://spiral.ai/integrations/openclaw/mempool-space-bitcoin-mempool-backlog)
- [opencode](https://spiral.ai/integrations/opencode/mempool-space-bitcoin-mempool-backlog)
- [Perplexity](https://spiral.ai/integrations/perplexity/mempool-space-bitcoin-mempool-backlog)
- [Raycast](https://spiral.ai/integrations/raycast/mempool-space-bitcoin-mempool-backlog)
- [VS Code](https://spiral.ai/integrations/vscode/mempool-space-bitcoin-mempool-backlog)
- [Windsurf](https://spiral.ai/integrations/windsurf/mempool-space-bitcoin-mempool-backlog)
- [Zapier](https://spiral.ai/integrations/zapier/mempool-space-bitcoin-mempool-backlog)

## More Claude Code guides

- [mempool.space Bitcoin fee estimates](https://spiral.ai/integrations/claude-code/mempool-space-bitcoin-fee-estimates)
- [mempool.space Bitcoin transaction details](https://spiral.ai/integrations/claude-code/mempool-space-bitcoin-transaction-details)
- [mempool.space Bitcoin block details](https://spiral.ai/integrations/claude-code/mempool-space-bitcoin-block-details)
- [mempool.space Block transactions](https://spiral.ai/integrations/claude-code/mempool-space-block-transactions)
- [mempool.space Bitcoin address summary](https://spiral.ai/integrations/claude-code/mempool-space-bitcoin-address-summary)
- [mempool.space Recent Bitcoin blocks](https://spiral.ai/integrations/claude-code/mempool-space-recent-bitcoin-blocks)

## Questions about mempool.space Bitcoin mempool backlog in Claude Code

**Can Claude Code use mempool.space Bitcoin mempool backlog?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run mempool.space Bitcoin mempool backlog like any built-in tool.

**How much does mempool.space Bitcoin mempool backlog cost in Claude Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an Alexandria account to use mempool.space Bitcoin mempool backlog in Claude Code?**

No. Spiral runs mempool.space Bitcoin mempool backlog 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 mempool backlog in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while mempool.space Bitcoin mempool backlog runs?**

mempool.space Bitcoin mempool backlog runs in the background. Claude Code 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.

