alphavantage
The Alpha Vantage MCP server is a tool for providing stock market data via the Alpha Vantage API. Users can easily utilize it by obtaining an API key and setting it in their environment variables. It can run in two modes: the standard stdio server mode and a streamable HTTP server mode that offers real-time updates, allowing for flexible usage.
GitHub Stars
69
User Rating
Not Rated
Favorites
0
Views
29
Forks
21
Issues
1
Python 3.6以上Alphavantage APIキーInstallation
Installation
Prerequisites
Installation Steps
1. Clone Repository
bash
git clone https://github.com/calvernaz/alphavantage.git
cd alphavantage
2. Set Environment Variables
Add the API key to your environment variables:bash
export ALPHAVANTAGE_API_KEY="YOUR_API_KEY_HERE"
3. Start the Server
bash
alphavantage
Troubleshooting
Common Issues
Issue: Server won't start Solution: Check if the API key is set correctly. Issue: Unable to fetch data Solution: Verify the validity of the API key and check API limits.Configuration
Configuration
Claude Desktop Setup
Editclaude_desktop_config.json to add the MCP server:
json
{
"mcpServers": {
"alphavantage": {
"command": "uv",
"args": [
"--directory",
"/alphavantage",
"run",
"alphavantage"
],
"env": {
"ALPHAVANTAGE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Advanced Configuration
Security Settings
Performance Tuning
json
{
"mcpServers": {
"alphavantage": {
"command": "uv",
"args": [
"--directory",
"/alphavantage",
"run",
"alphavantage",
"--server",
"http",
"--port",
"8080"
],
"env": {
"ALPHAVANTAGE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Examples
Examples
Using with Claude Desktop
Available tools from this MCP server:
- tool1: Description of tool1
- tool2: Description of tool2
Programmatic Usage
python
import requests
def call_mcp_tool(tool_name, params):
response = requests.post(
'http://localhost:8080/mcp/call',
json={
'tool': tool_name,
'parameters': params
}
)
return response.json()
Usage example
result = call_mcp_tool('analyze', {
'input': 'sample data',
'options': {'format': 'json'}
})
Use Cases
Additional Resources
32
Followers
35
Repositories
17
Gists
0
Total Contributions
🤩 Easy-to-use global IM bot platform designed for the LLM era / 简单易用的大模型即时通信机器人开发平台 ⚡️ Bots for QQ / QQ频道 / Discord / WeChat(微信)/ Telegram / 飞书 / 钉钉 / Slack 🧩 Integrated with ChatGPT(GPT)、DeepSeek、Dify、n8n、Claude、Google Gemini、xAI、PPIO、Ollama、阿里云百炼、SiliconFlow、Qwen、Moonshot(Kimi K2)、SillyTraven、MCP、WeClone etc. LLM & Agent & RAG