exchange_rate

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

Twelve Data live forex exchange rate for a currency pair symbol (e.g. ‘EUR/USD’). Optional dp (decimal places) and timezone. Returns rate, timestamp, and pair identifiers.

Parameters

NameTypeRequiredDescription
formatstringnoResponse format: “JSON” (default) or “CSV”.
dpnumbernoDecimal places for the rate (0–11).

Example call

Arguments

{
  "symbol": "EUR/USD"
}

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":"exchange_rate","arguments":{"symbol":"EUR/USD"}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "symbol": "GBP/USD",
  "dp": 4
}

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