@mcpflow.io/mcp-financial-analysis-mcp-server

1.0.0 • Public • Published

Financial Analysis MCP Server

此包由 MCPFlow 打包并发布到npm仓库。

一个用于金融分析的人类学模型上下文协议(MCP)服务器,集成了alphavantage.com和financialmodellingprep.com的API。

安装与使用

直接使用npx运行:

npx @mcpflow.io/mcp-financial-analysis-mcp-server

或者先安装后使用:

# 安装
npm install @mcpflow.io/mcp-financial-analysis-mcp-server

# 使用
npx @mcpflow.io/mcp-financial-analysis-mcp-server

使用方法

请参考原始仓库的使用说明。

工具函数

stock_price

Get real-time and historical stock price data from Alpha Vantage

参数:

  • symbol: Stock ticker symbol
  • dataType: Response data format
  • interval: Time interval between data points
  • outputSize: Amount of data to return (compact = last 100 points, full = all data)

company_fundamentals

Get company fundamental data from Financial Modeling Prep

参数:

  • symbol: Stock ticker symbol
  • metrics: Array of fundamental metrics to retrieve

原始信息

原始README

Financial Analysis MCP Server

An MCP server implementation for financial analysis using Alpha Vantage and Financial Modeling Prep APIs.

Features

  • Real-time and historical stock price data
  • Company fundamental data including:
    • Company overview
    • Income statements
    • Balance sheets
    • Cash flow statements
    • Financial ratios

Setup

  1. Install dependencies:
npm install
  1. Configure environment variables in .env:
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_api_key_here
FMP_API_KEY=your_fmp_api_key_here
  1. Build and run:
npm run build
npm start

Available Tools

stock_price

Get real-time and historical stock price data from Alpha Vantage

Parameters:

  • symbol (required): Stock ticker symbol
  • interval: Time interval ('1min', '5min', '15min', '30min', '60min', 'daily')
  • outputSize: Amount of data ('compact', 'full')
  • dataType: Response format ('json', 'csv')

company_fundamentals

Get company fundamental data from Financial Modeling Prep

Parameters:

  • symbol (required): Stock ticker symbol
  • metrics: Array of metrics to retrieve ('overview', 'income', 'balance', 'cash', 'ratios')

Readme

Keywords

Package Sidebar

Install

npm i @mcpflow.io/mcp-financial-analysis-mcp-server

Weekly Downloads

3

Version

1.0.0

License

MIT License

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • mcpflow.io