mcp-server-coingecko: A CoinGecko MCP server
LocalAbout mcp-server-coingecko: A CoinGecko MCP server
mcp-server-coingecko is an MCP server for querying cryptocurrency data through the CoinGecko API. It provides current and historical prices, coin details, trending coins, and the current time.
Key features
- 01Get current coin prices
- 02Query historical prices
- 03Retrieve coin details
- 04List trending coins
- 05Get the current time
Use cases
- 01Check a cryptocurrency's current price
- 02Review historical price data
- 03Look up coin details and market trends
MCP support
Exposes tools to MCP clients for retrieving time and cryptocurrency data through the CoinGecko API.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-server-coingecko: A CoinGecko MCP server
概述
一个用于加密货币数据查询的 Model Context Protocol 服务器。该服务器提供了通过大语言模型与 CoinGecko API 交互的工具,可以查询加密货币的价格、历史数据和市场信息。
工具函数
-
get_current_time- 获取当前时间
- 返回: 当前时间的字符串格式 (YYYY-MM-DD HH:MM:SS)
-
get_coin_price- 获取加密货币当前价格
- 输入:
coin_id(string): 币种ID (如 'bitcoin', 'ethereum')vs_currency(string, 可选): 目标货币单位 (默认: 'usd')
- 返回: 当前价格数据
-
get_coin_history- 获取加密货币历史价格数据
- 输入:
coin_id(string): 币种IDdays(string): 时间范围 (1/7/14/30/90/180/365/max)vs_currency(string, 可选): 目标货币单位 (默认: 'usd')
- 返回: 历史价格数据
-
get_coin_info- 获取加密货币详细信息
- 输入:
coin_id(string): 币种ID
- 返回: 币种详细信息
-
get_trending_coins- 获取24小时内热门币种
- 返回: 热门币种列表
运行步骤
直接运行:
uv run mcp-coingecko-server
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.