# Alpha Vantage (MCP Server)

> Real-time and historical stock, forex, crypto and economic data

- Type: MCP server
- Publisher: Alpha Vantage (official)
- Categories: Finance, Data & Analytics
- Website: https://github.com/alphavantage/alpha_vantage_mcp
- Docs: https://mcp.alphavantage.co/
- Source: https://github.com/alphavantage/alpha_vantage_mcp
- Transport: streamable-http
- Server URL: https://mcp.alphavantage.co/mcp
- Launch command: uvx marketdata-mcp-server YOUR_API_KEY
- Sign-in: api-key
- GitHub stars: 216
- Listed: 2025-07-28

## About

Alpha Vantage's official MCP server exposes its financial data APIs, including stock time series, technical indicators, fundamentals, news sentiment, commodities, forex, crypto and economic indicators. It is available as a hosted remote server or run locally with uvx and an API key.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.alphavantage.co/mcp as the MCP server URL. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add alpha-vantage --url https://mcp.alphavantage.co/mcp --bearer-token-env-var ALPHA_VANTAGE_API_KEY
   ```

   config.toml:

   ```toml
   [mcp_servers.alpha-vantage]
   url = "https://mcp.alphavantage.co/mcp"
   bearer_token_env_var = "ALPHA_VANTAGE_API_KEY"
   ```

   Responses API:

   ```python
   import os
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "alpha_vantage",
           "server_url": "https://mcp.alphavantage.co/mcp",
           "authorization": os.environ["ALPHA_VANTAGE_API_KEY"],
           "require_approval": "never",
       }],
       input="Get the daily price history for AAPL over the last month",
   )
   print(response.output_text)
   ```

## Example prompts

- "Get the daily price history for AAPL over the last month"
- "Calculate the 14-day RSI for NVDA"
- "Show Microsoft's latest quarterly income statement"
- "What is the current USD to EUR exchange rate?"

## Also available as

- app: [Alpha Vantage](https://chatgptplugins.directory/apps/alpha-vantage.md)

## Related

- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent
- [Graphiti MCP](https://chatgptplugins.directory/mcp/graphiti.md): Temporal knowledge graph memory for agents, by Zep
- [MCP Toolbox for Databases](https://chatgptplugins.directory/mcp/mcp-toolbox-databases.md): Google's open-source MCP server for 20+ databases
- [PostHog](https://chatgptplugins.directory/mcp/posthog.md): Query product analytics, feature flags, experiments and errors in PostHog
- [Apify](https://chatgptplugins.directory/mcp/apify.md): Run thousands of Apify Actors for scraping and automation from your agent

---
Source: https://chatgptplugins.directory/mcp/alpha-vantage · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
