stock_prices
Pack: tiingo · Endpoint: https://gateway.pipeworx.io/tiingo/mcp
Get EOD historical stock prices for a ticker (open, high, low, close, volume, adjClose). Without a start_date, returns just the latest trading day. Example: stock_prices({ ticker: “AAPL”, start_date: “2024-01-01”, end_date: “2024-01-31”, frequency: “daily” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ticker | string | yes | Stock ticker symbol, e.g. “AAPL”, “MSFT”, “TSLA”. Share classes accept either separator — “BRK.B” and “BRK-B” both work. |
start_date | string | no | Start date in YYYY-MM-DD format (optional). Omit to get only the latest day. |
end_date | string | no | End date in YYYY-MM-DD format (optional) |
frequency | string | no | Resample frequency (default “daily”) |
_apiKey | string | no | Optional — your own Tiingo API key for higher limits; omit to use the shared Pipeworx key. |
Example call
Arguments
{
"ticker": "AAPL"
}
curl
curl -X POST https://gateway.pipeworx.io/tiingo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stock_prices","arguments":{"ticker":"AAPL"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('stock_prices', {
"ticker": "AAPL"
});
More examples
{
"ticker": "BRK.B"
}
{
"ticker": "TSLA",
"start_date": "2024-01-01",
"end_date": "2024-12-31",
"frequency": "daily"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"tiingo": {
"url": "https://gateway.pipeworx.io/tiingo/mcp"
}
}
}
See Getting Started for client-specific install steps.