CoinGecko Price Server
БесплатноНе проверенProvides cryptocurrency pricing information using the CoinGecko API, enabling users to fetch current prices of any cryptocurrency in their chosen currency.
Описание
Provides cryptocurrency pricing information using the CoinGecko API, enabling users to fetch current prices of any cryptocurrency in their chosen currency.
README
A simple Model Context Protocol (MCP) server that provides cryptocurrency pricing information using the CoinGecko API.
Features
- get_crypto_price: A tool to fetch the current price of a cryptocurrency in a specific currency.
- Inputs:
crypto_id: The CoinGecko ID of the cryptocurrency (e.g., 'bitcoin', 'ethereum').currency: The target currency for the price (e.g., 'usd', 'brl').
- Inputs:
Prerequisites
- Node.js (v18 or higher recommended)
- npm
Installation
Clone or navigate to the project repository.
Install dependencies:
npm install
Building the Project
Compile the TypeScript code to JavaScript:
npm run build
The compiled output will be in the dist directory.
Usage
Testing Locally with MCP Inspector (The npx Way)
You can test the server interactively using the MCP Inspector. This allows you to inspect tools and resources and make tool calls directly.
Build the project first:
npm run buildRun the inspector using
npx, pointing it to your built server script:npx @modelcontextprotocol/inspector node dist/index.jsNote: On Windows, use a full path or ensuring valid path syntax if you encounter issues.
Open the URL provided in the terminal (usually
http://localhost:5173) to interact with your server.
Running Directly
You can run the server directly (it communicates via Stdio), but it is designed to be used by an MCP client (like Claude Desktop or the Inspector).
npm start
Developing
To run the server in development mode (using tsx):
npm run dev
Setup with Claude Desktop
To use this server with Claude Desktop apps:
Locate your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
Add the server configuration:
{ "mcpServers": { "coingecko_price": { "command": "node", "args": ["/absolute/path/to/mcp_coingecko_price_ts/dist/index.js"] } } }Remember to run
npm run buildafter making changes to the source code.You can run this mcp with stdio transport using npx command
{ "mcpServers": { "coingecko_price": { "command": "npx", "args": ["-y", "mcp_coingecko_price_ts"] } } }
Установить CoinGecko Price Server в Claude Desktop, Claude Code, Cursor
unyly install coingecko-price-mcp-serverСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add coingecko-price-mcp-server -- npx -y mcp_coingecko_price_tsFAQ
CoinGecko Price Server MCP бесплатный?
Да, CoinGecko Price Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для CoinGecko Price Server?
Нет, CoinGecko Price Server работает без API-ключей и переменных окружения.
CoinGecko Price Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить CoinGecko Price Server в Claude Desktop, Claude Code или Cursor?
Открой CoinGecko Price Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare CoinGecko Price Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
