eodhd_eod_prices
Pack: eodhd · Endpoint: https://gateway.pipeworx.io/eodhd/mcp
Get historical daily prices for
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Ticker with exchange suffix, e.g. “AAPL.US” |
from | string | no | Start date in YYYY-MM-DD format (optional) |
to | string | no | End date in YYYY-MM-DD format (optional) |
period | string | no | Sampling period: “d” daily (default), “w” weekly, “m” monthly |
_apiKey | string | yes | EODHD api_token (get one free at eodhd.com; free tier 20 calls/day) |
Example call
Arguments
{
"symbol": "AAPL.US",
"_apiKey": "your-eodhd-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/eodhd/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"eodhd_eod_prices","arguments":{"symbol":"AAPL.US","_apiKey":"your-eodhd-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('eodhd_eod_prices', {
"symbol": "AAPL.US",
"_apiKey": "your-eodhd-api-key"
});
More examples
{
"symbol": "TSLA.US",
"from": "2024-01-01",
"to": "2024-06-30",
"period": "d",
"_apiKey": "your-eodhd-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"eodhd": {
"url": "https://gateway.pipeworx.io/eodhd/mcp"
}
}
}
See Getting Started for client-specific install steps.