price
Pack: cryptocompare · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/price for the schema, then POST the same URL with its arguments for the data.
Current crypto spot price from CoinDesk Data (formerly CryptoCompare): one coin (fsym) quoted in many fiat or crypto symbols (tsyms), aggregated across major exchanges. Requires your own CoinDesk Data API key.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | |
fsym | string | yes | |
tsyms | string | yes | |
e | string | no | |
extraParams | string | no | |
sign | boolean | no |
Example call
Arguments
{
"_apiKey": "your-cryptocompare-api-key",
"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":{"_apiKey":"your-cryptocompare-api-key","fsym":"BTC","tsyms":"USD,EUR"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('price', {
"_apiKey": "your-cryptocompare-api-key",
"fsym": "BTC",
"tsyms": "USD,EUR"
});
More examples
{
"_apiKey": "your-cryptocompare-api-key",
"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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the cryptocompare pack
{
"mcpServers": {
"cryptocompare": {
"url": "https://gateway.pipeworx.io/cryptocompare/mcp"
}
}
}
See Getting Started for client-specific install steps.