Finance
Data source: CoinGecko
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/crypto-prices/
claude_desktop_config.json
{
"mcpServers": {
"gnist-crypto-prices": {
"url": "https://context.gnist.ai/mcp/crypto-prices/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/crypto-prices/" \
-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": "get_crypto_price", "arguments": {"coin_id": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/crypto-prices/
5 endpoints available:
GET /rest/crypto-prices/get_crypto_priceGET /rest/crypto-prices/get_top_cryptocurrenciesGET /rest/crypto-prices/get_crypto_simple_priceGET /rest/crypto-prices/search_cryptoGET /rest/crypto-prices/report_feedback
Shell
curl "https://context.gnist.ai/rest/crypto-prices/get_crypto_price?coin_id=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/crypto-prices/get_crypto_price",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"coin_id": "example"
},
)
print(resp.json())
Command Line
Command
gc crypto-prices
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (5)
get_crypto_priceGet the current price and market data for a cryptocurrency.
| Parameter | Type | Required | Description |
|---|---|---|---|
coin_id | string | required |
get_top_cryptocurrenciesGet the top cryptocurrencies ranked by market capitalization.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | optional | (default: 10) |
get_crypto_simple_priceGet prices for multiple cryptocurrencies in multiple fiat currencies.
| Parameter | Type | Required | Description |
|---|---|---|---|
coin_ids | string | required | |
vs_currencies | string | optional | (default: "usd") |
search_cryptoSearch for a cryptocurrency by name or symbol.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |