time_series
Pack: twelvedata · 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/time_series for the schema, then POST the same URL with its arguments for the data.
Twelve Data OHLC time series for a stock, forex, crypto, or ETF symbol. Requires symbol and interval (e.g. ‘1min’, ‘1h’, ‘1day’). Returns timestamped open/high/low/close + volume.
Example call
Arguments
{
"symbol": "AAPL",
"interval": "1h"
}
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":"time_series","arguments":{"symbol":"AAPL","interval":"1h"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('time_series', {
"symbol": "AAPL",
"interval": "1h"
});
More examples
{
"symbol": "EURUSD",
"interval": "1d"
}
{
"symbol": "SPY",
"interval": "1day",
"outputsize": 20
}
Response shape
| Field | Type | Description |
|---|---|---|
status | string | Response status |
code | number | Response code |
message | string | Response 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 — 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 twelvedata pack
{
"mcpServers": {
"twelvedata": {
"url": "https://gateway.pipeworx.io/twelvedata/mcp"
}
}
}
See Getting Started for client-specific install steps.