← Package Index
mcp-alphavantage mcp
v1.0.0 · MCP Tool · finance · registry.pascalai.org
Stock market data via Alpha Vantage API (free key from alphavantage.co). Operations: quote (real-time price), daily/weekly/monthly (time series), intraday (intra-day OHLCV), forex (FX rates), crypto (crypto price), search (ticker lookup), indicator (technical indicators: SMA, EMA, RSI, MACD, BBANDS...).
alphavantage stocks forex crypto finance
Input Parameters
Parameter Type Description
operationrequired
string
Operation to perform. One of: quote, daily, weekly, monthly, intraday, forex, crypto, search, indicator.
apiKeyrequired
string
Alpha Vantage API key.
symboloptional
string
Stock ticker symbol (e.g. AAPL, MSFT). Required for most operations.
fromCuroptional
string
From currency for forex (e.g. USD).
toCuroptional
string
To currency for forex (e.g. EUR) or crypto (e.g. BTC).
intervaloptional
string
Time interval for intraday/indicator (default: daily). One of: 1min, 5min, 15min, 30min, 60min, daily, weekly, monthly. Default: daily.
outputSizeoptional
string
compact=100 data points, full=20+ years (default: compact). One of: compact, full. Default: compact.
indicatoroptional
string
Technical indicator name for indicator operation (e.g. SMA, EMA, RSI, MACD, BBANDS, STOCH).
timePeriodoptional
integer
Period for technical indicators (e.g. 14 for RSI). Default: 14. Default: 14.
seriesTypeoptional
string
Price series for indicator calculation (default: close). One of: close, open, high, low. Default: close.
keywordoptional
string
Search keyword for ticker lookup (search operation).
dataTypeoptional
string
Output format (default: json). One of: json, csv. Default: json.
Output Fields
Field Type Description
quote
object
timeSeries
object
indicator
object
matches
array[object]
error
string
Examples
Get Apple stock quote
// Input
{
"operation": "quote",
"apiKey": "your-key",
"symbol": "AAPL"
}
// Output
{
"quote": {
"symbol": "AAPL",
"price": "175.50",
"change": "+1.20"
}
}
Install & Discovery
Install
ppm install mcp-alphavantage
Get JSON Schema
GET /v1/packages/mcp-alphavantage/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=alphavantage
Discovery hint: Install with ppm install mcp-alphavantage or invoke remotely via POST /v1/invoke/mcp-alphavantage on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-alphavantage');
var R := Tool.Call(JsonObj(['operation','quote','apiKey','your-key','symbol','AAPL']));
Writeln(R.ToJSON);