Back to Home
alphavantage icon

alpha_vantage_mcp

Verified Safe

by alphavantage

Overview

Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).

Installation

Run Command
uvx av-mcp YOUR_API_KEY

Environment Variables

  • ALPHA_VANTAGE_API_KEY
  • AWS_PROFILE
  • DOMAIN_NAME
  • CERTIFICATE_ARN
  • R2_BUCKET
  • R2_PUBLIC_DOMAIN
  • R2_ENDPOINT_URL
  • R2_ACCESS_KEY_ID
  • R2_SECRET_ACCESS_KEY
  • OPENAI_API_KEY

Security Notes

The OAuth 2.1 implementation (server/src/oauth.py) explicitly states it uses 'simple encoding' (base64) for authorization codes and passes the Alpha Vantage API key directly as the OAuth access token. This is not secure for a general-purpose OAuth provider and is noted as unsuitable for production without further security measures (e.g., JWT, encryption). The client-side 'Artifacts Editor' (web/app/artifacts/page.tsx) uses `new Function()` for executing user-provided React/HTML code, which is a feature for a code editor but poses a risk if untrusted code is executed in an un-sandboxed environment. However, this is client-side execution, not a server-side vulnerability. The server itself manages API keys passed from clients in headers/query params, which assumes secure client-side handling.

Similar Servers

Stats

Interest Score49
Security Score6
Cost ClassLow
Avg Tokens5000
Stars46
Forks13
Last Update2025-12-05

Tags

Financial DataStock MarketAPI GatewayLLM ToolAgent ProtocolCloud Deployment