Crypto

live Crypto

Cryptocurrency prices and market data from CoinGecko, plus currency conversion

3 tools
0ms auth
free tier 50 calls/day

Tools

get_crypto_price required: coin_id

Get the current price, market cap, and 24h change for a cryptocurrency. Use CoinGecko IDs (e.g., "bitcoin", "ethereum", "solana").

Parameters
Name Type Description
coin_id req string CoinGecko coin ID (e.g., bitcoin, ethereum, solana)
Try it
get_crypto_market

Get top cryptocurrencies by market cap with prices and 24h changes

Parameters
Name Type Description
vs_currency opt string Quote currency (default: usd)
limit opt number Number of coins (1-100, default 10)
Try it
get_exchange_rate required: from, to

Get the exchange rate between two fiat currencies

Parameters
Name Type Description
from req string Source currency code (e.g., USD, EUR, GBP)
to req string Target currency code (e.g., EUR, JPY, GBP)
amount opt number Amount to convert (default: 1)
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/crypto/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/crypto/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_crypto_price","arguments":{"coin_id": "example"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_crypto_price", {"coin_id":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("cryptocurrency prices and market data from coingecko, plus currency conversion");