chart_data
Pack: stocktwits · 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/chart_data for the schema, then POST the same URL with its arguments for the data.
“Chart data for [ticker]” / “sparkline data for [stock]” / “price history for [ticker] this week” — OHLCV price bars for a ticker from the StockTwits chart feed: 5-minute bars for one trading day (1D), ~30-minute bars for a week (1W), daily bars for 1M/3M/6M/YTD, weekly for 1Y, monthly for 5Y/ALL. Returns open, high, low, close and volume per bar. Crypto uses the StockTwits suffix (BTC.X). Use for thumbnail charts and quick recent-price context beside StockTwits sentiment; prefer dedicated finance packs (yahoo-finance, alphavantage) for serious price analysis.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Ticker without the $ (AAPL, TSLA; BTC.X for Bitcoin). |
period | string | no | Chart window (default 1D). Case-insensitive. |
Example call
Arguments
{
"symbol": "AAPL"
}
curl
curl -X POST https://gateway.pipeworx.io/stocktwits/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"chart_data","arguments":{"symbol":"AAPL"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('chart_data', {
"symbol": "AAPL"
});
More examples
{
"symbol": "TSLA",
"period": "1W"
}
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 stocktwits pack
{
"mcpServers": {
"stocktwits": {
"url": "https://gateway.pipeworx.io/stocktwits/mcp"
}
}
}
See Getting Started for client-specific install steps.