defi_stablecoins

Pack: defillama · Endpoint: https://gateway.pipeworx.io/defillama/mcp

Get stablecoin market cap and distribution across blockchains. Returns supply per chain to track adoption and network preferences.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/defillama/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"defi_stablecoins","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('defi_stablecoins', {});

Response shape

Always returns: total_stablecoins, showing, stablecoins

FieldTypeDescription
total_stablecoinsintegerTotal stablecoins tracked
showingintegerNumber of stablecoins returned (max 30)
stablecoinsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total_stablecoins": {
      "type": "integer",
      "description": "Total stablecoins tracked"
    },
    "showing": {
      "type": "integer",
      "description": "Number of stablecoins returned (max 30)"
    },
    "stablecoins": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Stablecoin name"
          },
          "symbol": {
            "type": "string",
            "description": "Ticker symbol"
          },
          "peg_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Peg type (fiat, crypto, algo, etc.)"
          },
          "peg_mechanism": {
            "type": [
              "string",
              "null"
            ],
            "description": "Peg mechanism description"
          },
          "price": {
            "type": [
              "number",
              "null"
            ],
            "description": "Current price in USD"
          },
          "circulating_mcap": {
            "type": [
              "number",
              "null"
            ],
            "description": "Circulating market cap in USD"
          },
          "chains": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Blockchains where deployed"
          }
        },
        "required": [
          "name",
          "symbol",
          "chains"
        ]
      }
    }
  },
  "required": [
    "total_stablecoins",
    "showing",
    "stablecoins"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "defillama": {
      "url": "https://gateway.pipeworx.io/defillama/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026