Finance
Data source: Alpha Vantage
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/alpha-vantage/
5 endpoints available:
GET /rest/alpha-vantage/get_priceGET /rest/alpha-vantage/get_historicalGET /rest/alpha-vantage/get_fx_rateGET /rest/alpha-vantage/get_crypto_priceGET /rest/alpha-vantage/report_feedback
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())
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_priceGet the latest market quote for a stock or ETF.
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker | string | required | Stock ticker symbol (e.g. "AAPL", "TSLA", "SPY"). |
get_historicalGet historical OHLCV data for a stock or ETF.
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker | string | required | Stock ticker symbol (e.g. "AAPL", "MSFT"). |
start | string | required | Start date in YYYY-MM-DD format (inclusive). |
end | string | required | End date in YYYY-MM-DD format (inclusive). |
interval | string | optional | Data interval — "daily", "weekly", or "monthly" (default: "daily"). (default: "daily") |
get_fx_rateGet the daily exchange rate between two currencies.
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | required | Base currency ISO 4217 code (e.g. "USD", "EUR", "GBP"). |
quote | string | required | Quote currency ISO 4217 code (e.g. "NOK", "JPY", "CHF"). |
get_crypto_priceGet the current price and market data for a cryptocurrency.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | required | Cryptocurrency symbol (e.g. "BTC") or CoinGecko ID (e.g. "bitcoin"). |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |