Skip to content
Back to skills

Market Data Mcp

ASecurity

Run the crypto-market-data MCP server from a clone to fetch live prices, OHLC candles, trending coins, DeFi protocol TVL, chain TVL, yields and stablecoin supply from CoinGecko and DeFiLlama. Use when asked for current crypto market numbers.

  • 32 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
blockchainbashnodegitapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 11, 2026

npx -y skills add nirholas/crypto-market-data --skill market-data-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Market Data Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Market Data Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirholas-market-data-mcp/badge)](https://www.skillsdirectory.com/skills/nirholas-market-data-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: market-data-mcp
description: Run the crypto-market-data MCP server from a clone to fetch live prices, OHLC candles, trending coins, DeFi protocol TVL, chain TVL, yields and stablecoin supply from CoinGecko and DeFiLlama. Use when asked for current crypto market numbers.
---

# Crypto market data MCP server

The repo contains a stdio MCP server in `mcp-server/` backed by the public CoinGecko and DeFiLlama APIs. No API key is needed. It is not published under this repo's name on npm (the npm name `crypto-market-data-mcp` belongs to an unrelated publisher), so build it from the clone and never run `npx crypto-market-data-mcp`.

## Install and run

```bash
git clone https://github.com/nirholas/crypto-market-data
cd crypto-market-data/mcp-server
npm install
npm run build        # compiles src/index.ts to dist/index.js
npm start            # node dist/index.js, speaks MCP on stdio
```

Node.js 18 or newer is required for the built-in `fetch`. For development without a build, `npm run dev` runs `tsx src/index.ts`.

Register it with Claude Code from the clone:

```bash
claude mcp add crypto-market-data -- node /path/to/crypto-market-data/mcp-server/dist/index.js
```

## Tools

| Tool | Arguments | Source |
|---|---|---|
| `get_crypto_price` | `ids` (required, comma-separated CoinGecko ids such as `bitcoin,ethereum`), `currencies` (default `usd`) | CoinGecko |
| `get_top_coins` | `limit` (default 20, max 100) | CoinGecko |
| `get_coin_details` | `id` (required) | CoinGecko |
| `get_ohlcv` | `id` (required), `days` (1, 7, 14, 30, 90, 180 or 365) | CoinGecko |
| `get_trending` | none | CoinGecko |
| `search_coins` | `query` (required) | CoinGecko |
| `get_defi_protocols` | none | DeFiLlama |
| `get_protocol_tvl` | `protocol` (required, slug such as `aave`) | DeFiLlama |
| `get_chains_tvl` | none | DeFiLlama |
| `get_defi_yields` | none | DeFiLlama |
| `get_stablecoins` | none | DeFiLlama stablecoins |

## Worked example

Ask: "Is Solana's TVL growing, and what is SOL trading at?"

1. `search_coins` with `{"query": "solana"}` to confirm the CoinGecko id (`solana`).
2. `get_crypto_price` with `{"ids": "solana", "currencies": "usd"}`.
3. `get_chains_tvl` and pick out the Solana row.
4. Report the price, 24 hour change and chain TVL, and name CoinGecko and DeFiLlama as the sources.

## Notes

- CoinGecko ids are not tickers. Resolve a symbol with `search_coins` before calling the other tools.
- The public APIs are rate limited. If a call fails with a rate-limit error, wait and retry instead of calling in a loop.
- This is market data, not advice. Say when figures are a point-in-time snapshot.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.