Crypto Market Data

Live dashboard: https://crypto-market-data.modelcontextprotocol.name/
Live cryptocurrency and DeFi market dashboard with data from CoinGecko and DeFiLlama.
Cryptocurrency prices and market data. That's it! With a basic UI. I originally built this within Lyra Web3 Playground and I thought it might be helpful for those looking for something very simple, a good learning experience to build + deploy, or maybe you're like me and just enjoy building and sharing simple yet useful creations. Live data, hooked up to CoinGecko and Defillama.
Features
- 🪙 Cryptocurrencies - Top coins by market cap with 7-day sparklines
- 🏦 DeFi Protocols - Protocol TVL rankings from DeFiLlama
- 📈 Yields - DeFi yield farming opportunities
- ⛓️ Chains - Blockchain TVL comparison
- 🌙 Dark Mode - Toggle between light and dark themes
- 📱 Responsive - Works on desktop and mobile
Quick Start
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
Deploy
The dashboard is a static Vite build hosted on Cloudflare Pages (project crypto-market-data) at https://crypto-market-data.modelcontextprotocol.name.
.github/workflows/deploy.yml builds and deploys on every push to main. It needs the CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID repository secrets. To deploy by hand with those variables exported:
npm ci && npm run build
npx wrangler@4 pages deploy dist --project-name=crypto-market-data --branch=main
public/_headers sets the security headers and long-lived caching for /assets/*. Cloudflare Pages serves index.html for unknown paths, so client-side routes work without a 404.html. To host under a sub-path, set BASE_PATH (for example BASE_PATH=/crypto-market-data/) before building.
Verify:
curl -sI https://crypto-market-data.modelcontextprotocol.name/ | head -1 # HTTP/2 200
MCP Server
This repo also bundles a Model Context Protocol server in mcp-server/ that exposes the same CoinGecko and DeFiLlama data to AI assistants (Claude Desktop, Cursor, and other MCP clients): live prices, OHLCV candles, trending coins, coin search, DeFi protocol/chain TVL, yields, and stablecoin supplies.
See mcp-server/README.md for the full tool list, build instructions, and client configuration.
Data Sources
- CoinGecko - Cryptocurrency prices and market data
- DeFiLlama - DeFi protocol TVL and yield data
License
All rights reserved. See LICENSE.
Documentation
Live dashboard: https://crypto-market-data.modelcontextprotocol.name/
Star History

Support the project
If crypto-market-data saves you time, star it on GitHub. Stars are how other developers and AI agents find the repositories worth trusting, and they cost you one click.