[Integrations](https://spiral.ai/integrations) › [Cline](https://spiral.ai/integrations/cline) › [DeFiLlama historical stablecoin supply](https://spiral.ai/integrations/cline/defillama-historical-stablecoin-supply)

# How to Use DeFiLlama historical stablecoin supply in Cline

Returns dated circulating supply totals for a stablecoin across chains or on one chain. Use it to measure supply growth or contraction over time rather than compare today's stablecoin listings.

|  |  |
| --- | --- |
| Model | DeFiLlama historical stablecoin supply |
| 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 DeFiLlama historical stablecoin supply in Cline

- Use DeFiLlama historical stablecoin supply to retrieve USDC's available Ethereum observations for the past 90 days and add a supply-change chart to my project.
- Use DeFiLlama historical stablecoin supply to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from DeFiLlama historical stablecoin supply and tell me what changed since last week.
- Check DeFiLlama historical stablecoin supply and summarize what you find in three bullet points.
- Pull the newest data from DeFiLlama historical stablecoin supply and give me the result as a table.

## How to set up DeFiLlama historical stablecoin supply in Cline

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

### Use Spiral's MCP server

1. **Add the server**: In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

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

2. **Sign in**: Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**: Spiral shows as connected on the Configure tab. In the CLI:

```bash
cline config mcp
```

### Use the Spiral skill

1. **Send Cline 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 DeFiLlama historical stablecoin supply**: 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": "defillama-com/crypto/stablecoin_history",
    "input": {
      "id": "<id>"
    }
  }'
```

Then paste one of the prompts above: Cline finds DeFiLlama historical stablecoin supply on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/cline

## DeFiLlama historical stablecoin supply tools and prices

- [DeFiLlama · Stablecoin history](https://spiral.ai/tools/alexandria/defillama-com/crypto/stablecoin_history) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to | 0 to … | — | Latest point, unix seconds. |
| from | 0 to … | — | Earliest point, unix seconds. |
| chain |  | — | Chain name as DeFiLlama writes it (e.g. `Ethereum`); omit for the all-chain total. |
| limit | 1 to 4000 | 90 | Maximum points returned, newest first (1..4000, default 90). |

## What can you do with DeFiLlama historical stablecoin supply in Cline?

Build a research view that compares stablecoin circulation with pool APY and TVL. A coding agent can add current comparisons and historical charts to your project while keeping asset supply separate from pool deposits.

### Compare a chain's stablecoin market and pool yields

Compare current stablecoin supply and pool yields on Ethereum, then examine supply and pool histories to separate a recent change from a longer trend.

### Prepare a USDC research brief

Summarize USDC's current supply, historical supply changes, and the APY and TVL of selected USDC pools. Keep asset circulation and pool deposits as separate measurements.

### Review a market event

Identify stablecoins and pools to investigate, then compare their available supply, APY, and TVL observations around a chosen event date. Describe concurrent changes without claiming one caused another.

### Investigate an unusual reading

Check whether a surprising stablecoin supply or pool yield reading also appears in historical observations. Use current listings to confirm the asset, chain, project, and pool being compared.

### Study stablecoin concentration

Compare USDT and USDC circulating supply on Ethereum and Tron, then calculate how their relative shares changed over the available historical period.

### Measure stablecoin supply contraction

Identify a stablecoin in the current listings and measure its supply change over a selected historical interval. Compare its all-chain total with the same asset on Ethereum.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Cline guides](https://spiral.ai/integrations/cline)

## DeFiLlama historical stablecoin supply in other agents

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

## More Cline guides

- [DeFiLlama historical pool yields](https://spiral.ai/integrations/cline/defillama-historical-pool-yields)
- [DeFiLlama pool yields](https://spiral.ai/integrations/cline/defillama-pool-yields)
- [DeFiLlama crypto hacks](https://spiral.ai/integrations/cline/defillama-crypto-hacks)
- [DeFiLlama protocol TVL details](https://spiral.ai/integrations/cline/defillama-protocol-tvl-details)
- [DeFiLlama chain TVL rankings](https://spiral.ai/integrations/cline/defillama-chain-tvl-rankings)
- [DeFiLlama protocol TVL rankings](https://spiral.ai/integrations/cline/defillama-protocol-tvl-rankings)

## Questions about DeFiLlama historical stablecoin supply in Cline

**Can Cline use DeFiLlama historical stablecoin supply?**

Yes. Add Spiral to Cline as an MCP server, and Cline can find and run DeFiLlama historical stablecoin supply like any built-in tool.

**How much does DeFiLlama historical stablecoin supply cost in Cline?**

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

**Do I need an Alexandria account to use DeFiLlama historical stablecoin supply in Cline?**

No. Spiral runs DeFiLlama historical stablecoin supply on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up DeFiLlama historical stablecoin supply in Cline?**

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

**Does Cline wait while DeFiLlama historical stablecoin supply runs?**

DeFiLlama historical stablecoin supply runs in the background. Cline starts the run, checks on it and gives you the json when it's ready.

**How often does DeFiLlama refresh these datasets?**

DeFiLlama documents hourly stablecoin supply updates, and its public yield pipeline schedules collection every hour. These are hourly snapshots, so repeated checks within a few minutes may return unchanged observations.

**Why can the API disagree with DeFiLlama's website?**

DeFiLlama updates the API before its website. Its FAQ says website caching can produce a delay of up to one hour.

**Does stablecoin supply measure the same thing as pool TVL?**

Stablecoin supply measures circulating tokens; DeFiLlama's stablecoin market cap multiplies that supply by price and excludes burned and non-issued tokens. Yield records describe individual pools with USD TVL and APY, so a pool's TVL is not an asset's total circulating supply.

**What period underlies fee-based APY?**

DeFiLlama instructs adapters to calculate fee-based APY over a 24-hour window. Historical pool observations let you examine how that reported annualized rate changed over time.

**Can I republish or resell DeFiLlama data?**

DeFiLlama's terms require permission to republish data in any form or resell data or access to it. Public availability does not grant unrestricted redistribution rights.

