GnistAI GnistAI
Log in

Alpha Vantage (Finance)

Stock quotes, historical OHLCV, FX rates, and crypto prices.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Finance

Data source: Alpha Vantage

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/alpha-vantage/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-alpha-vantage": {
      "url": "https://context.gnist.ai/mcp/alpha-vantage/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/alpha-vantage/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_price", "arguments": {"ticker": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/alpha-vantage/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/alpha-vantage/get_price?ticker=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/alpha-vantage/get_price",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "ticker": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc alpha-vantage

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

get_price
Get the latest market quote for a stock or ETF.
ParameterTypeRequiredDescription
tickerstringrequiredStock ticker symbol (e.g. "AAPL", "TSLA", "SPY").
get_historical
Get historical OHLCV data for a stock or ETF.
ParameterTypeRequiredDescription
tickerstringrequiredStock ticker symbol (e.g. "AAPL", "MSFT").
startstringrequiredStart date in YYYY-MM-DD format (inclusive).
endstringrequiredEnd date in YYYY-MM-DD format (inclusive).
intervalstringoptionalData interval — "daily", "weekly", or "monthly" (default: "daily"). (default: "daily")
get_fx_rate
Get the daily exchange rate between two currencies.
ParameterTypeRequiredDescription
basestringrequiredBase currency ISO 4217 code (e.g. "USD", "EUR", "GBP").
quotestringrequiredQuote currency ISO 4217 code (e.g. "NOK", "JPY", "CHF").
get_crypto_price
Get the current price and market data for a cryptocurrency.
ParameterTypeRequiredDescription
symbolstringrequiredCryptocurrency symbol (e.g. "BTC") or CoinGecko ID (e.g. "bitcoin").
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related