Data source: CoinGecko API
https://context.gnist.ai/mcp/coingecko/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (7)
search_coinsSearch for cryptocurrencies by name or ticker symbol.
Find coin IDs for use with other tools. Covers 10,000+ coins tracked by CoinGecko.
Args:
query: Coin name or ticker symbol.
Returns:
List of matching coins with ID, name, symbol, and market cap rank.
Use the ID with get_price, get_coin_detail, or get_market_chart.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Coin name or symbol (e.g. "bitcoin", "eth", "solana", "dogecoin"). |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_coins",
"arguments": {
"query": "example"
}
}
}get_priceGet current prices for one or more cryptocurrencies.
Returns real-time prices with 24h change and market cap. Supports any fiat
or crypto as the quote currency.
Args:
coin_ids: List of CoinGecko coin IDs (up to 10).
vs_currency: Quote currency (default 'usd').
Returns:
Current price, market cap, and 24h change percentage for each coin.
| Parameter | Type | Required | Description |
|---|---|---|---|
coin_ids | list[string] | required | Coin IDs (e.g. ["bitcoin", "ethereum"]). Use search_coins to find IDs. |
vs_currency | string | optional | Currency for prices: usd, eur, nok, gbp, btc, etc. (default: "usd") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_price",
"arguments": {
"coin_ids": [
"example"
]
}
}
}get_coin_detailGet comprehensive details for a cryptocurrency.
Includes description, market data (price, market cap, volume, supply), ATH/ATL,
price changes across timeframes, categories, and genesis date.
Args:
coin_id: CoinGecko coin ID.
Returns:
Full coin profile with market data, supply metrics, and price history.
| Parameter | Type | Required | Description |
|---|---|---|---|
coin_id | string | required | CoinGecko coin ID (e.g. "bitcoin", "ethereum", "solana"). Use search_coins to find it. |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_coin_detail",
"arguments": {
"coin_id": "example"
}
}
}get_market_chartGet historical price chart data for a cryptocurrency.
Returns timestamped price data points for charting or analysis. Granularity
depends on time range: hourly for short periods, daily for longer ones.
Args:
coin_id: CoinGecko coin ID.
vs_currency: Quote currency (default 'usd').
days: Number of days of history (1–365, default 30).
Returns:
Time series of prices (up to 100 sampled points), plus latest market cap and volume.
| Parameter | Type | Required | Description |
|---|---|---|---|
coin_id | string | required | CoinGecko coin ID (e.g. "bitcoin"). Use search_coins to find it. |
vs_currency | string | optional | Quote currency (default 'usd'). (default: "usd") |
days | integer | optional | Days of history (1–365, default 30). 1=hourly, 2-90=hourly, 91+=daily. (default: 30) |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_market_chart",
"arguments": {
"coin_id": "example"
}
}
}get_trendingGet trending cryptocurrencies — most searched coins in the last 24 hours.
Shows what the crypto community is paying attention to right now.
Updated frequently based on CoinGecko search volume.
Returns:
Top trending coins with name, symbol, market cap rank, and BTC price.
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_trending",
"arguments": {}
}
}get_marketsGet top cryptocurrencies ranked by market capitalization.
Returns current price, market cap, volume, 24h change, and supply data
for the largest coins. Can filter by category.
Args:
vs_currency: Quote currency (default 'usd').
limit: Number of results (1–50, default 20).
category: Filter by category (optional).
Returns:
List of top coins with price, market cap, volume, and 24h change.
| Parameter | Type | Required | Description |
|---|---|---|---|
vs_currency | string | optional | Quote currency (default 'usd'). (default: "usd") |
limit | integer | optional | Number of results (1–50, default 20). (default: 20) |
category | any | optional | Category filter: 'decentralized-finance-defi', 'stablecoins', 'meme-token', 'layer-1', 'layer-2', 'gaming', etc. |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_markets",
"arguments": {}
}
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "report_feedback",
"arguments": {
"feedback": "example"
}
}
}Quick Start
curl -X POST "https://context.gnist.ai/mcp/coingecko/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_coins", "arguments": {"query": "example"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/coingecko/",
headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_coins",
"arguments": {
"query": "example"
}
}
},
)
print(resp.json())