MCP.so
登录
A

Alpha Vantage MCP Server

@septemhill

基本信息

分类

其他

传输方式

stdio

作者

septemhill

提交者

Septem

关于 Alpha Vantage MCP Server

暂无概览

Alpha Vantage MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "alpha_vantage": {
      "command": "npx",
      "args": [
        "-y",
        "alpha_vantage_finance"
      ],
      "env": {
        "ALPHAVANTAGE_API_KEY": "YOUR_ALPHA_VANTAGE_API_KEY"
      },
      "disabled": false,
      "autoApprove": [
        "get_ticker_ohlcv"
      ]
    }
  }
}

Alpha Vantage MCP Server 工具

5

Get specific ticker OHLCV data (Open, High, Low, Close, Volume)

Get dividend data for a specific ticker

Get the holdings data for a specific ETF

Get the exchange rate between two currencies (fiat or crypto)

Get options data for a specific ticker

概览

What is Alpha_vantage?

Alpha_vantage is an MCP (Model Context Protocol) server that provides access to financial data from Alpha Vantage. It offers tools to retrieve OHLCV (Open, High, Low, Close, Volume) data, dividend data, and ETF holdings for any ticker. This server is intended for users who need to query financial market data through an MCP-compatible client.

How to use Alpha_vantage?

The server requires an Alpha Vantage API key set in the environment variable ALPHAVANTAGE_API_KEY. To configure it, add a new entry to your MCP settings with the command npx -y alpha_vantage_finance and the API key in the environment. Once running, you can call any of its three tools: get_ticker_ohlcv, get_ticker_dividend, or get_etf_holdings.

Key features of Alpha_vantage

  • Retrieve OHLCV data for a specific ticker and date.
  • Fetch dividend data for any ticker.
  • Obtain ETF holdings data.
  • Simple JSON input for all tools.
  • Configured via environment variable for the API key.

Use cases of Alpha_vantage

  • Get the closing price of a stock on a specific date.
  • Retrieve dividend history for equities.
  • Analyze the composition of an ETF by its holdings.
  • Integrate financial data into an AI assistant workflow.

常见问题

1

What do I need to use Alpha_vantage?

You need an Alpha Vantage API key set as the environment variable `ALPHAVANTAGE_API_KEY`. The server is run via `npx -y alpha_vantage_finance`.

2

What tools does Alpha_vantage provide?

Three tools: `get_ticker_ohlcv` (OHLCV data by date), `get_ticker_dividend` (dividend data), and `get_etf_holdings` (ETF composition). Each expects a ticker string.

3

How do I configure the server in my MCP settings?

Add a JSON block with the command `npx -y alpha_vantage_finance` and set the `ALPHAVANTAGE_API_KEY` in the environment section.

4

Does Alpha_vantage require an API key?

Yes, the environment variable `ALPHAVANTAGE_API_KEY` must be set to a valid Alpha Vantage API key for the tools to work.

评论

其他 分类下的更多 MCP 服务器