currency_conversion

Pack: twelvedata · Endpoint: https://gateway.pipeworx.io/twelvedata/mcp

Twelve Data real-time currency conversion: pass a forex pair symbol (e.g. ‘EUR/USD’) and an amount to get the converted value at the current exchange rate.

Parameters

NameTypeRequiredDescription
amountnumberyesAmount in the base currency to convert.
formatstringnoResponse format: “JSON” (default) or “CSV”.
dpnumbernoDecimal places (0–11).

Example call

Arguments

{
  "symbol": "EUR/USD",
  "amount": 100
}

curl

curl -X POST https://gateway.pipeworx.io/twelvedata/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"currency_conversion","arguments":{"symbol":"EUR/USD","amount":100}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('currency_conversion', {
  "symbol": "EUR/USD",
  "amount": 100
});

More examples

{
  "symbol": "GBP/JPY",
  "amount": 50,
  "dp": 2
}

Response shape

FieldTypeDescription
statusstringResponse status
codenumberResponse code
messagestringResponse message
Full JSON Schema
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Response status"
    },
    "code": {
      "type": "number",
      "description": "Response code"
    },
    "message": {
      "type": "string",
      "description": "Response message"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "twelvedata": {
      "url": "https://gateway.pipeworx.io/twelvedata/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026