MCP.so
登录
A

Alphavantage Stock MCP Server

@xweety

基本信息

分类

金融与商务

传输方式

stdio

作者

xweety

提交者

xweety

关于 Alphavantage Stock MCP Server

A TypeScript/Node.js implementation of the Model Context Protocol (MCP) server for accessing historical stock market data through the Alpha Vantage API. This server enables LLMs and agentic workflows to seamlessly interact with financial data.

Alphavantage Stock MCP Server 配置

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

{
  "mcpServers": {
    "alphavantage-stock-data": {
      "command": "npx",
      "args": [
        "alphavantage-stock-mcp"
      ],
      "env": {
        "ALPHAVANTAGE_API_KEY": "YOUR-ALPHA-VANTAGE-API-KEY"
      }
    }
  }
}

Alphavantage Stock MCP Server 工具

1

Fetch stock data with specified symbol and interval (daily, weekly, monthly). Only return latest 100 data points

概览

What is Alphavantage Stock Mcp?

A TypeScript/Node.js implementation of the Model Context Protocol (MCP) server for accessing historical stock market data through the Alpha Vantage API. It enables LLMs and agentic workflows to seamlessly interact with financial data.

How to use Alphavantage Stock Mcp?

Configure the MCP client with a JSON entry using command npx alphavantage-stock-mcp and set the ALPHAVANTAGE_API_KEY environment variable. Then invoke the available tools (e.g., get-stock-data, get-daily-stock-data, get-stock-alerts) with parameters like symbol and interval.

Key features of Alphavantage Stock Mcp

  • Provides daily stock data with configurable output sizes
  • Offers intraday stock data with multiple time intervals
  • Generates price movement alerts based on percentage thresholds
  • Full TypeScript support with type definitions
  • Compatible with MCP-enabled applications (Claude Desktop, VS Code, etc.)

Use cases of Alphavantage Stock Mcp

  • Retrieve daily closing prices for a stock over the last 20 years
  • Monitor intraday price movements at 5-minute intervals
  • Set up automatic alerts when a stock moves beyond a certain threshold
  • Integrate real-time financial data into LLM-based analysis tools

常见问题

1

What API key is required?

An Alpha Vantage API key is required; a free tier is available by signing up at [Alpha Vantage](https://www.alphavantage.co/support/#api-key).

2

What intraday intervals are supported?

Supported intervals: 1min, 5min, 15min, 30min, and 60min (default is 5min).

3

What output sizes are available for stock data?

Two output sizes: "compact" returns the latest 100 data points, and "full" returns up to 20 years of data.

4

How do I configure the server for my MCP client?

Add a JSON configuration with `command: "npx"`, `args: ["alphavantage-stock-mcp"]`, and an `env` object setting `ALPHAVANTAGE_API_KEY` to your key.

5

What transport does this server use?

The README does not specify a transport; it uses the standard MCP protocol via a command-line invocation (stdio-based by convention).

评论

金融与商务 分类下的更多 MCP 服务器