Quick overview
This workflow exposes CoinGecko data retrieval as an MCP server in n8n, letting an MCP client call multiple CoinGecko tools to fetch coin details, prices, tickers, market charts, candlesticks, history, and events via a single webhook-based trigger.
How it works
- Receives an MCP request via the CoinGecko Tool MCP Server trigger.
- Routes the request to the appropriate CoinGecko tool based on the MCP tool call.
- Fetches coin metadata when the client requests coin details.
- Retrieves price and market data from CoinGecko, including tickers, market prices, and market charts.
- Pulls time-series data from CoinGecko, including candlesticks and historical snapshots.
- Returns the CoinGecko API response back to the MCP client.
Setup
- Configure your MCP client to connect to this workflow’s MCP trigger endpoint (copy the production webhook URL from the trigger).
- Add and select CoinGecko credentials in n8n if your CoinGecko plan requires an API key.
- Review each CoinGecko tool node’s parameters (such as coin ID, vs currency, and time range) and adjust defaults if needed for your use case.