price
Pack: cryptocompare · Endpoint: https://gateway.pipeworx.io/cryptocompare/mcp
Current price (one coin → many fiat).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fsym | string | yes | |
tsyms | string | yes | |
e | string | no | |
extraParams | string | no | |
sign | boolean | no |
Example call
Arguments
{
"fsym": "BTC",
"tsyms": "USD,EUR"
}
curl
curl -X POST https://gateway.pipeworx.io/cryptocompare/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"price","arguments":{"fsym":"BTC","tsyms":"USD,EUR"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('price', {
"fsym": "BTC",
"tsyms": "USD,EUR"
});
More examples
{
"fsym": "ETH",
"tsyms": "USD",
"e": "Kraken"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Current price response with requested currency pairs",
"additionalProperties": {
"type": "number"
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"cryptocompare": {
"url": "https://gateway.pipeworx.io/cryptocompare/mcp"
}
}
}
See Getting Started for client-specific install steps.