Install
$ agentstack add mcp-alphavantage-alpha-vantage-mcp Open-source listing, not yet scanned by AgentStack. Follow the source repository for install instructions.
Security review
⚠ Flagged1 finding(s); flagged for manual review. · v0.1.0 How review works →
- • Prompt-injection patterns
- • Secret / credential exfiltration
- • Dangerous shell & filesystem operations
- • Untrusted network calls
- • Known-malicious package signatures
- high Pipes remote content directly into a shell (remote code execution).
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Alpha Vantage MCP Server
The official Alpha Vantage API MCP server enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP). Add this server to your favorite apps such as Claude, Claude Code, Cursor, VS Code, and many more to give them access to comprehensive financial data.
Quickstart
To use the server, get your free Alpha Vantage API key, copy it to your clipboard, then follow the instructions below for the agentic tool/platform of your interest.
The Alpha Vantage functions are exposed directly as MCP tools. MCP clients discover the available tools with tools/list and invoke them with tools/call.
⭐ View MCP source code on Github
👉 Any questions? Please contact support@alphavantage.co
Connection Examples
Remote Server Connection (Recommended, OAuth):
https://mcp.alphavantage.co/mcp
When you connect, a consent page opens where you enter and authorize your Alpha Vantage API key.
Remote Server Connection (Legacy, API key in URL, deprecated):
https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY
Local Server Connection:
uvx marketdata-mcp-server YOUR_API_KEY
Setup Instructions by Use Case
💬📊 Power your chatbot with financial data
Install in Claude
Requirements:
- Claude Pro account (or higher tier)
Claude Remote Server Connection
To connect Claude (Web or Desktop) to this MCP server:
📺 Watch the setup tutorial - Click the image below to watch a step-by-step video guide:
[](https://www.youtube.com/watch?v=W69x2qJcYmI)
📺 Already have your Alpha Vantage MCP server set up? Below are a few examples of Claude performing various stock analysis & charting tasks:
[](https://www.youtube.com/watch?v=tyl9E7fddvU)
OAuth Option (Recommended):
- Go to claude.ai/settings/connectors (Web) or Settings → Connectors (Desktop)
- Click "Add Custom Connector"
- Add the MCP server URL:
https://mcp.alphavantage.co/mcp - Click "Connect"
- Enter your Alpha Vantage API key
- Click "Authorize Access"
API Key in URL (Legacy, deprecated):
- Go to claude.ai/settings/connectors (Web) or Settings → Connectors (Desktop)
- Click "Add Custom Connector"
- Add the MCP server URL with your API key:
https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY(replaceYOUR_API_KEYwith your actual Alpha Vantage API key) - Click "Connect"
Claude Local Server Connection
See Claude Desktop MCP docs for more info.
Install uv (a modern Python package and project manager):
curl -LsSf https://astral.sh/uv/install.sh | sh
Open Claude Desktop developer settings and edit your claude_desktop_config.json file to add the following configuration:
{
"mcpServers": {
"alphavantage": {
"command": "uvx",
"args": ["marketdata-mcp-server", "YOUR_API_KEY"]
}
}
}
Replace YOUR_API_KEY with your actual Alpha Vantage API key.
Install in ChatGPT
Requirements:
- ChatGPT Plus account (or higher tier)
- Developer mode enabled (beta feature) - see OpenAI's Developer Mode documentation
📺 Watch the setup tutorial - Click the image below to watch a step-by-step video guide:
[](https://www.youtube.com/watch?v=pY2nr3FWXs0)
📺 Already have your Alpha Vantage MCP server set up? Below are a few examples of ChatGPT performing various stock analysis & charting tasks:
[](https://www.youtube.com/watch?v=LBuHa8Ymw-0)
Setup (Recommended, OAuth):
- Go to ChatGPT Settings → Apps
- Click on Advanced settings → enable Developer mode
- Return to the Apps submenu, then click Create app.
- MCP Server URL:
https://mcp.alphavantage.co/mcp - Authentication: OAuth. When you connect, a consent page opens where you enter and authorize your Alpha Vantage API key.
Legacy (API key in URL, deprecated):
- Go to ChatGPT Settings → Apps
- Click on Advanced settings → enable Developer mode
- Return to the Apps submenu, then click Create app.
- MCP Server URL:
https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY(replaceYOUR_API_KEYwith your actual Alpha Vantage API key). - Authentication: No authentication
> Note: When you return to your conversation, your UI will clearly indicate that you are in Developer mode. ChatGPT will retain memory of any previous remarks made within the same chat session; however, these sessions may not be persisted, meaning the conversation generated while Developer mode is active may not be saved or accessible once closed.
Troubleshooting for ChatGPT Plus Accounts
While Developer mode is available for both Plus and Pro accounts, on Plus accounts, first-time MCP tool execution may exhibit inconsistent behavior. This primarily affects large data payloads returned from the MCP server. If you notice that MCP calls abruptly terminate without returning any JSON response, try the following:
- Confirm Connection
- Confirm the connection by prompting:
`` List 3 functions available in Alpha Vantage MCP server. ``
- You should see endpoints like
TIME_SERIES_DAILYandTIME_SERIES_INTRADAY.
- Force JSON Passthrough with simple payload
- Use the following prompts in sequence to prime ChatGPT to surface the full payload:
`` Run ADD_TWO_NUMBERS from Alpha Vantage MCP Server using 3 and 6, and then show the JSON response. ``
- If successful, ChatGPT should ask you to Confirm or Deny the call. Click Confirm.
- If it doesn't, use the 🔄 "Try Again..." button and see if you get the Confirm/Deny prompt.
- If this doesn't work, ask ChatGPT the following, and if it starts
Thinkingmake it Skip, so that it doesn't try the call again and instead outputs its conversational response.
`` Why aren't you receiving a JSON response? ``
- Then, regardless of the response, prompt ChatGPT
`` Explicitly request a return value from the tool response to verify what the server outputs. ``
- Typically, this gets ChatGPT to ask you to Confirm or Deny the call. Click Confirm.
- Sometimes, ChatGPT will insist it has no active connection to Alpha Vantage MCP Server. Just tell it to "try again".
- If payloads still fail to appear, start a New Chat and try Step #2 again.
- Force JSON Passthrough with large payload
- Once step #2 has been successful, repeat step #2 with the larger call:
`` Run TIME_SERIES_DAILY using NVDA, and then show the JSON response. ``
- Use the fallback steps from Step #2 if ChatGPT does not ask you to Confirm or Deny the call.
- Once you observe ChatGPT successfully return part of the raw JSON payload from the larger call, you can typically continue on with more conversational queries.
Install in Grok
Requirements:
- SuperGrok (or higher tier)
Setup:
- Click the
+button → Connectors → Add connector → Custom - Name: Alpha Vantage MCP Server (or whatever you prefer)
- Server URL:
https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY(replaceYOUR_API_KEYwith your actual Alpha Vantage API key). - Click Add Connector
🤖📈 Create agentic workflows for quantitative investing
Install in 🦞OpenClaw🦞
Requirements:
- Mac with Apple Silicon (or dedicated Mac mini)
- LLM API Key (OpenAI used in demo)
- Messaging Platform Bot Token (Telegram used in demo)
📺 Watch the setup tutorial (click image below)
[](https://www.youtube.com/watch?v=Z6DjYKN4uos)
- View the detailed installation guide from GitHub Gist
- For additional support links, please check the video description on YouTube.
Configure in OpenAI Agent Builder
Requirements:
- OpenAI account with access to Agent Builder (e.g., billing details added, organization verified)
📺 Watch the setup tutorial. (Click image below.)
[](https://www.youtube.com/watch?v=2Rsvzjn8hwE)
OpenAI Agent Builder Connection
To connect OpenAI Agent Builder to this MCP server:
- Do not add a separate MCP Server object. Instead, click on your agent in OpenAI Agent Builder to add the MCP Server directly to the agent.
- Find the Tools section of the agent and click the + button to add a new tool
- Select MCP Server
- Click "+ Server" in the upper right of the "Add MCP server" menu
- Configure the MCP server with the following settings:
- URL:
https://mcp.alphavantage.co/mcp - Label:
Alpha Vantage MCP Server(or any name you prefer) - Description:
Financial market data and technical indicators(or any description you prefer) - Authentication: Select "Access token / API key" (should be default)
- Access Token: Enter your Alpha Vantage API key
- Click Connect
- If successful, the next prompt will display all the tools. Scroll to the bottom and click Add.
Recommended Agent Instructions:
Add the following instruction to your agent's configuration to optimize performance:
You are a helpful financial agent with access to market data through Alpha Vantage MCP Server.
The Alpha Vantage functions (TIME_SERIES_DAILY, RSI, COMPANY_OVERVIEW, etc.) are exposed
directly as MCP tools. Call them by name with their parameters, e.g.
TIME_SERIES_DAILY(symbol="AAPL", outputsize="compact").
Install in OpenAI Agents SDK
To use the Alpha Vantage MCP server with OpenAI Agents SDK, see our example agent that demonstrates:
- Interactive financial analysis agent
- Session management for conversation continuity
- Real-time tool execution with Alpha Vantage data
- Support for both HTTP and stdio MCP connections
The example includes a complete setup guide and configuration templates.
Configure in Microsoft Foundry Agent Service
Requirements:
- Azure subscription with access to Azure AI Foundry
Microsoft Foundry Agent Service Connection
To connect a Foundry agent to this MCP server:
- Open your agent (or Create Agent from Home Dashboard) in Azure AI Foundry's Agent playground or Agent designer.
- In the Tools section of the agent configuration, click Add → Browse All Tools. Select the Custom category underneath "Select a Tool" and select Model Context Protocol
- Configure the MCP server with the following settings:
- Key-based authentication (recommended):
- Server label:
alpha-vantage-mcp-server(or any name you prefer) - Server URL:
https://mcp.alphavantage.co/mcp - Authentication: Select Key-based authentication
- Credential
- Click "Add key value pair"
- Key:
apikey - Value: Enter your Alpha Vantage API key
- Unauthenticated (legacy, API key in URL, deprecated):
- Server label:
alpha-vantage-mcp-server(or any name you prefer) - Server URL:
https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY - Replace
YOUR_API_KEYwith your actual Alpha Vantage API key. - Authentication: Select Unauthenticated
- Click Connect
Recommended Agent Instructions:
Add the following instruction to your agent's system prompt to optimize performance:
You are a helpful financial agent with access to market data through Alpha Vantage MCP Server.
The Alpha Vantage functions (TIME_SERIES_DAILY, RSI, COMPANY_OVERVIEW, etc.) are exposed
directly as MCP tools. Call them by name with their parameters, e.g.
TIME_SERIES_DAILY(symbol="IBM", outputsize="compact").
Always use Alpha Vantage MCP Server for market data queries. Do not answer from prior knowledge or web search.
💻💵 Code up fintech apps
Install in OpenAI Codex
Requirements:
- ChatGPT Plus account (or higher tier)
See OpenAI Codex for more information.
📺 Watch the setup tutorial. (Click image below.) This video additionally provides guidance on handling setup errors and building complete end-to-end applications which are empowered to fetch market data to power dynamic, data-driven visualizations.
[](https://www.youtube.com/watch?v=8exfs5wpTU0)
- Download the companion .md file from Github Gist.
- For additional support links, please check the video description on YouTube.
Install uv (a modern Python package and project manager):
curl -LsSf https://astral.sh/uv/install.sh | sh
Install Codex CLI v0.34 or later to avoid compatibility issues.
# Install (if not already installed)
npm install -g @openai/codex
# Or update to the latest version
npm update -g @openai/codex
# Verify installation and version
codex --version
Add the following configuration to your Codex MCP server settings by editing ~/.codex/config.toml:
[mcp_servers.alphavantage]
command = "uvx"
args = ["marketdata-mcp-server", "YOUR_API_KEY"]
Replace YOUR_API_KEY with your actual Alpha Vantage API key.
Run codex in your terminal from your project directory. First-time users will be guided through additional prompts.
Then connect with:
/mcp
Install in Claude Code
Requirements:
- Claude Pro account (or higher tier)
See Claude Code MCP docs for more information.
Run one of the following commands, depending on whether you’re connecting remotely or running the server locally.
Claude Code Remote Server Connection
claude mcp add -t http alphavantage https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY
Replace YOUR_API_KEY with your actual Alpha Vantage API key.
Claude Code Local Server Connection
First, install uv (a modern Python package and project manager):
curl -LsSf https://astral.sh/uv/install.sh | sh
Then run:
claude mcp add alphavantage -- uvx marketdata-mcp-server YOUR_API_KEY
Replace YOUR_API_KEY with your actual Alpha Vantage API key.
Run claude in your terminal from your project directory.
Then connect with:
/mcp
Install in VS Code (Visual Studio Code)
See VS Code MCP docs for more info.
Create .vscode/mcp.json (your VS Code MCP config file) in your workspace, and paste into it one of the following configurations, depending on whether you’re connecting remotely or running the server locally.
VS Code Remote Server Connection
Paste the following into .vscode/mcp.json:
{
"servers": {
"alphavantage": {
"type": "http",
"url": "https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY"
}
}
}
Replace YOUR_API_KEY with your actual Alpha Vantage API key.
VS Code Local Server Connection
First, install uv (a modern Python package and project manager):
curl -LsSf https://astral.sh/uv/install.sh | sh
Then, paste the following into .vscode/mcp.json:
{
"servers": {
"alphavantage": {
"type": "stdio",
"command": "uvx",
"args": ["marketdata-mcp-server", "YOUR_API_KEY"]
}
}
}
Replace YOUR_API_KEY with your actual Alpha Vantage API key.
Open the Chat view and select Agent mode
Install in Continue (Extension for VS Code, JetBrains)
See Continue MCP docs for more informati
…
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: alphavantage
- Source: alphavantage/alphavantage_mcp
- License: MIT
- Homepage: https://mcp.alphavantage.co
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.