Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_SERVER_NAME | No | Server identification name for telemetry | alphavantage |
| MCP_METRICS_PORT | No | Metrics server port for Prometheus endpoint | 9464 |
| MCP_SERVER_VERSION | No | Server version for telemetry | 1.0.0 |
| OAUTH_JWT_ALGORITHM | No | JWT algorithm for token validation | RS256 |
| ALPHAVANTAGE_API_KEY | Yes | Your Alpha Vantage API key (required). Sign up for a free API key at https://www.alphavantage.co/support/#api-key | |
| OAUTH_JWT_PUBLIC_KEY | No | JWT public key for token validation (required for JWT validation method) | |
| MCP_TELEMETRY_ENABLED | No | Enable telemetry (Prometheus metrics) | true |
| OAUTH_REQUIRED_SCOPES | No | Required OAuth scopes (space-separated) | |
| OAUTH_RESOURCE_SERVER_URI | No | OAuth 2.1 resource server URI (required when using --oauth flag) | |
| OAUTH_INTROSPECTION_ENDPOINT | No | Token introspection endpoint URL (required for introspection validation method) | |
| OAUTH_INTROSPECTION_CLIENT_ID | No | Client ID for token introspection (required for introspection validation method) | |
| OAUTH_SESSION_BINDING_ENABLED | No | Enable session binding for additional security | true |
| OAUTH_TOKEN_VALIDATION_METHOD | No | Token validation method: 'jwt' or 'introspection' | jwt |
| OAUTH_AUTHORIZATION_SERVER_URL | No | OAuth 2.1 authorization server URL (required when using --oauth flag) | |
| OAUTH_INTROSPECTION_CLIENT_SECRET | No | Client secret for token introspection (required for introspection validation method) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| stock_quote | Fetch the latest price and volume information for a ticker of your choice |
| time_series_intraday | Fetch current and 20+ years of historical intraday OHLCV time series of the equity specified |
| time_series_daily | Fetch a time series daily |
| time_series_daily_adjusted | Fetch a time series daily adjusted |
| time_series_weekly | Fetch a time series weekly |
| time_series_weekly_adjusted | Fetch a time series weekly adjusted |
| time_series_monthly | Fetch a time series monthly |
| time_series_monthly_adjusted | Fetch a time series monthly adjusted |
| realtime_bulk_quotes | Fetch real time bulk quotes |
| symbol_search | Search endpoint |
| market_status | Fetch market status |
| realtime_options | Fetch realtime options |
| historical_options | Fetch the full historical options chain for a specific symbol on a specific date, covering 15+ years of history |
| news_sentiment | Fetch news sentiment |
| top_gainers_losers | Fetch top gainers and losers |
| insider_transactions | Fetch insider transactions |
| analytics_fixed_window | Fetch analytics fixed window |
| analytics_sliding_window | Fetch analytics sliding window |
| company_overview | Fetch the company information, financial ratios, and other key metrics for the equity specified |
| etf_profile | Fetch ETF profile |
| company_dividends | Fetch company dividends |
| company_dividends | Fetch company splits |
| income_statement | Fetch company income statement |
| balance_sheet | Fetch company balance sheet |
| cash_flow | Fetch company cash flow |
| listing_status | Fetch listing status |
| company_earnings | This API returns the annual and quarterly earnings (EPS) for the company of interest. |
| earnings_calendar | Fetch company earnings calendar |
| earnings_call_transcript | Fetch earnings call transcript |
| ipo_calendar | Fetch IPO calendar |
| exchange_rate | Fetch exchange rate |
| fx_intraday | Fetch FX intraday |
| fx_daily | Fetch FX daily |
| fx_weekly | Fetch FX weekly |
| fx_monthly | Fetch FX monthly |
| crypto_intraday | Fetch intraday time series (timestamp, open, high, low, close, volume) of the cryptocurrency specified |
| digital_currency_daily | Fetch digital currency daily |
| digital_currency_weekly | Fetch digital currency weekly |
| digital_currency_monthly | Fetch digital currency monthly |
| wti_crude_oil | Fetch WTI crude oil |
| brent_crude_oil | Fetch Brent crude oil |
| natural_gas | Fetch natural gas |
| copper | Fetch copper |
| aluminum | Fetch aluminum |
| wheat | Fetch wheat |
| corn | Fetch corn |
| cotton | Fetch cotton |
| sugar | Fetch sugar |
| coffee | Fetch coffee |
| all_commodities | Fetch all commodities |
| real_gdp | Fetch real GDP |
| real_gdp_per_capita | Fetch real GDP per capita |
| treasury_yield | Fetch treasury yield |
| federal_funds_rate | Fetch federal funds rate |
| cpi | Fetch consumer price index |
| inflation | Fetch inflation |
| retail_sales | Fetch retail sales |
| durables | Fetch durables |
| unemployment | Fetch unemployment |
| nonfarm_payroll | Fetch nonfarm payroll |
| sma | Fetch the simple moving average (SMA) values |
| ema | Fetch the exponential moving average (EMA) values |
| wma | Fetch weighted moving average |
| dema | Fetch double exponential moving average |
| trima | Fetch triangular moving average |
| kama | Fetch Kaufman adaptive moving average |
| mama | Fetch MESA adaptive moving average |
| t3 | Fetch triple exponential moving average |
| macd | Fetch moving average convergence divergence |
| macdext | Fetch moving average convergence divergence extended |
| stoch | Fetch stochastic oscillator |
| stochf | Fetch stochastic oscillator fast |
| rsi | Fetch relative strength index |
| stochrsi | Fetch stochastic relative strength index |
| willr | Fetch Williams' percent range |
| adx | Fetch average directional movement index |
| adxr | Fetch average directional movement index rating |
| apo | Fetch absolute price oscillator |
| ppo | Fetch percentage price oscillator |
| mom | Fetch momentum |
| bop | Fetch balance of power |
| cci | Fetch commodity channel index |
| cmo | Fetch Chande momentum oscillator |
| roc | Fetch rate of change |
| rocr | Fetch rate of change ratio |
| aroon | Fetch Aroon |
| aroonosc | Fetch aroon oscillator |
| mfi | Fetch money flow index |
| trix | Fetch triple exponential average |
| ultosc | Fetch ultimate oscillator |
| dx | Fetch directional movement index |
| minus_di | Fetch minus directional indicator |
| plus_di | Fetch plus directional indicator |
| minus_dm | Fetch minus directional movement |
| plus_dm | Fetch plus directional movement |
| bbands | Fetch Bollinger bands |
| midpoint | Fetch midpoint |
| midprice | Fetch midprice |
| sar | Fetch parabolic SAR |
| trange | Fetch true range |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| stock_quote | Fetch a stock quote |
| time_series_intraday | Fetch a time series intraday |
| time_series_daily | Fetch a time series daily |
| time_series_daily_adjusted | Fetch a time series daily adjusted |
| time_series_weekly | Fetch a time series weekly |
| time_series_weekly_adjusted | Fetch a time series weekly adjusted |
| time_series_monthly | Fetch a time series monthly |
| time_series_monthly_adjusted | Fetch a time series monthly adjusted |
| realtime_bulk_quotes | Fetch real time bulk quotes |
| symbol_search | Search endpoint |
| market_status | Fetch market status |
| realtime_options | Fetch realtime options |
| historical_options | Fetch historical options |
| news_sentiment | Fetch news sentiment |
| top_gainers_losers | Fetch top gainers and losers |
| insider_transactions | Fetch insider transactions |
| analytics_fixed_window | Fetch analytics fixed window |
| analytics_sliding_window | Fetch analytics sliding window |
| company_overview | Fetch company overview |
| etf_profile | Fetch ETF profile |
| company_dividends | Fetch company dividends |
| company_dividends | Fetch company splits |
| income_statement | Fetch company income statement |
| balance_sheet | Fetch company balance sheet |
| cash_flow | Fetch company cash flow |
| company_earnings | Fetch company earnings |
| earnings_call_transcript | Fetch the earnings call transcript for a given company in a specific quarter |
| listing_status | Fetch listing status |
| earnings_calendar | Fetch company earnings calendar |
| ipo_calendar | Fetch IPO calendar |
| exchange_rate | Fetch exchange rate |
| fx_intraday | Fetch FX intraday |
| fx_daily | Fetch FX daily |
| fx_weekly | Fetch FX weekly |
| fx_monthly | Fetch FX monthly |
| crypto_intraday | Fetch crypto intraday |
| digital_currency_daily | Fetch digital currency daily |
| digital_currency_weekly | Fetch digital currency weekly |
| digital_currency_monthly | Fetch digital currency monthly |
| wti_crude_oil | Fetch WTI crude oil |
| brent_crude_oil | Fetch Brent crude oil |
| natural_gas | Fetch natural gas |
| copper | Fetch copper |
| aluminum | Fetch aluminum |
| wheat | Fetch wheat |
| corn | Fetch corn |
| cotton | Fetch cotton |
| sugar | Fetch sugar |
| coffee | Fetch coffee |
| all_commodities | Fetch all commodities |
| real_gdp | Fetch real GDP |
| real_gdp_per_capita | Fetch real GDP per capita |
| treasury_yield | Fetch treasury yield |
| federal_funds_rate | Fetch federal funds rate |
| cpi | Fetch consumer price index |
| inflation | Fetch inflation |
| retail_sales | Fetch retail sales |
| durables | Fetch durables |
| unemployment | Fetch unemployment |
| nonfarm_payroll | Fetch nonfarm payroll |
| sma | Fetch simple moving average |
| ema | Fetch exponential moving average |
| wma | Fetch weighted moving average |
| dema | Fetch double exponential moving average |
| trima | Fetch triangular moving average |
| kama | Fetch Kaufman adaptive moving average |
| mama | Fetch MESA adaptive moving average |
| vwap | Fetch volume weighted average price |
| t3 | Fetch triple exponential moving average |
| macd | Fetch moving average convergence divergence |
| macdext | Fetch moving average convergence divergence next |
| stoch | Fetch stochastic oscillator |
| stochf | Fetch stochastic oscillator fast |
| rsi | Fetch relative strength index |
| stochrsi | Fetch stochastic relative strength index |
| willr | Fetch williams percent range |
| adx | Fetch average directional movement index |
| adxr | Fetch average directional movement index rating |
| apo | Fetch absolute price oscillator |
| ppo | Fetch percentage price oscillator |
| mom | Fetch momentum |
| bop | Fetch balance of power |
| cci | Fetch commodity channel index |
| cmo | Fetch chande momentum oscillator |
| roc | Fetch rate of change |
| rocr | Fetch rate of change ratio |
| aroon | Fetch aroon |
| aroonosc | Fetch aroon oscillator |
| mfi | Fetch money flow index |
| trix | Fetch triple exponential average |
| ultosc | Fetch ultimate oscillator |
| dx | Fetch directional movement index |
| minus_di | Fetch minus directional indicator |
| plus_di | Fetch plus directional indicator |
| minus_dm | Fetch minus directional movement |
| plus_dm | Fetch plus directional movement |
| bbands | Fetch bollinger bands |
| midpoint | Fetch midpoint |
| midprice | Fetch midprice |
| sar | Fetch parabolic sar |