Alpha Vantage MCP Server
Alpha Vantage MCP 服务器 📈
模型上下文协议 (MCP) 服务器可与 Alpha Vantage 的财务数据 API 无缝集成,实现实时股票市场数据、加密货币价格、外汇汇率和技术指标。
🌟 功能
股市数据
全球市场的实时股票报价
历史价格数据(每日、每周)
全面的公司信息
支持多家交易所(纽约证券交易所、纳斯达克、孟买证券交易所)
加密货币数据
实时加密货币价格
数字货币汇率
主要加密货币市场数据
外汇交易
实时外汇汇率
货币对转换
全球外汇市场数据
技术分析
高级技术指标
移动平均线(SMA、EMA)
市场动量指标
交易信号和模式
Related MCP server: AlphaVantage-MCP
🚀 快速入门
安装
克隆存储库:
git clone [your-repo-url]
cd alpha-vantage-server安装依赖项:
npm install构建服务器:
npm run build配置
在您的 MCP 设置文件中配置服务器:
{
"mcpServers": {
"alpha-vantage": {
"command": "node",
"args": ["path/to/alpha-vantage-server/build/index.js"],
"env": {
"ALPHA_VANTAGE_API_KEY": "your-api-key-here"
},
"disabled": false,
"alwaysAllow": []
}
}
}🛠️ 可用工具
股市工具
获取股票价格
// Get real-time stock quotes
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_stock_price</tool_name>
<arguments>
{
"symbol": "AAPL"
}
</arguments>
</use_mcp_tool>获取每日时间序列
// Get daily stock price history
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_daily_time_series</tool_name>
<arguments>
{
"symbol": "MSFT",
"outputsize": "compact"
}
</arguments>
</use_mcp_tool>加密货币工具
获取加密货币价格
// Get cryptocurrency prices
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_crypto_price</tool_name>
<arguments>
{
"symbol": "BTC",
"market": "USD"
}
</arguments>
</use_mcp_tool>外汇工具
获取外汇汇率
// Get currency exchange rates
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_forex_rate</tool_name>
<arguments>
{
"from_currency": "USD",
"to_currency": "EUR"
}
</arguments>
</use_mcp_tool>📊 技术分析
获取技术指标
// Get technical indicators
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_technical_indicator</tool_name>
<arguments>
{
"symbol": "AAPL",
"indicator": "SMA",
"interval": "daily"
}
</arguments>
</use_mcp_tool>🔑 API 密钥
在Alpha Vantage注册 API 密钥。免费套餐包括:
每天 25 次 API 调用
实时和历史数据访问
全球市场覆盖
🌐 支持的市场
美国股票市场(纽约证券交易所、纳斯达克)
全球加密货币市场
外汇市场
国际股票市场
🤝 贡献
分叉存储库
创建你的功能分支
提交你的更改
推送到分支
创建新的 Pull 请求
📝 许可证
麻省理工学院
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deepsuthar496/alpha-ventage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server