KosmoKrator

finance

CoinGecko MCP, CLI, and Lua Integration for AI Agents

CoinGecko integration docs for AI agents: MCP gateway setup, CoinGecko CLI commands, Lua API reference, credentials, and function schemas.

8 functions 8 read 0 write API key auth

CoinGecko for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
coingecko
route_slug
coingecko
package
coingecko
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

CoinGecko MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for CoinGecko.

CoinGecko CLI Matrix

Use these pages for direct CoinGecko CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
coingecko.coingecko_global Read read 0 Get overall crypto market statistics — total market cap, BTC dominance, active cryptocurrencies, trading volume, and more.
coingecko.coingecko_history Read read 3 Get historical price, volume, and market cap chart data for a cryptocurrency over a time period. Returns timestamped data points with summary statistics.
coingecko.coingecko_info Read read 1 Get a full coin profile — description, categories, links (website, whitepaper, social), and current market data snapshot. Use `coingecko_search_coins` first to find the coin ID.
coingecko.coingecko_markets Read read 6 Get top cryptocurrencies ranked by market cap with full market data (price, volume, ATH, supply, price changes). Supports filtering by category or specific coin IDs.
coingecko.coingecko_ohlc Read read 3 Get OHLC (Open/High/Low/Close) candlestick data for a cryptocurrency for technical analysis.
coingecko.coingecko_price Read read 2 Get current price for one or more cryptocurrencies (by CoinGecko ID). Includes 24h change, volume, and market cap. Use `coingecko_search_coins` first to find coin IDs.
coingecko.coingecko_search_coins Read read 1 Find cryptocurrencies by name or ticker symbol (e.g. "bitcoin", "ETH", "solana"). Returns matching coin IDs which are needed for other CoinGecko tools.
coingecko.coingecko_trending Read read 0 Get the top trending cryptocurrencies in the last 24 hours based on search activity on CoinGecko.