Gives MCP clients real-time and historical stock market data from Alpha Vantage, including intraday and daily series with custom intervals.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add stock-analysis --env ALPHA_VANTAGE_API_KEY='<ALPHA_VANTAGE_API_KEY>' -- node /absolute/path/to/dist/index.js~/.codex/config.toml
[mcp_servers.stock-analysis]
command = "node"
args = ["/absolute/path/to/dist/index.js"]
env = { ALPHA_VANTAGE_API_KEY = "<ALPHA_VANTAGE_API_KEY>" }
# codex mcp add stock-analysis --env ALPHA_VANTAGE_API_KEY='<ALPHA_VANTAGE_API_KEY>' -- node /absolute/path/to/dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"stock-analysis": {
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"stock-analysis": {
"type": "stdio",
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"stock-analysis": {
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"stock-analysis": {
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"stock-analysis": {
"command": "node",
"args": [
"/absolute/path/to/dist/index.js"
],
"env": {
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>"
}
}
}
}Environment variables
ALPHA_VANTAGE_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.