金融分析MCP服务器

FinAgent 是一款免费的金融分析 MCP 服务器,为 Claude、ChatGPT、Cursor、Copilot 等兼容 MCP 的 AI 应用提供实时股票数据与市场新闻。

  • by gmoneyn
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 gmoneyn/finagent

使用说明

FinAgent

Free financial analysis MCP server for any MCP-compatible AI app (Claude, ChatGPT, Cursor, Copilot, and more).

Get live stock data and market news — all from your AI assistant.

Tools

Tool Description
financial_data Stock quotes, income statements, balance sheets, cash flow, analyst estimates, insider trades, key ratios
market_news Financial news, analyst reactions, market sentiment

Quick Start

Install

pip install finagent-mcp

Add to your MCP config

{
  "mcpServers": {
    "finagent": {
      "command": "finagent"
    }
  }
}

Run as HTTP server

finagent --http --port 8080

This listens on 127.0.0.1 only. To accept connections from other machines, pass --host and set MCP_ALLOWED_HOSTS to the Host values clients will use. Without MCP_ALLOWED_HOSTS a non-loopback --host refuses to start:

MCP_ALLOWED_HOSTS=my-server.example.com finagent --http --host 0.0.0.0 --port 8080

A value must match the Host header exactly, port included (192.168.1.20:8080); 192.168.1.20:* allows any port.

Examples

Ask your AI assistant:

  • "What's NVIDIA's current stock price and P/E ratio?"
  • "Show me Apple's last 4 quarters of revenue"
  • "Who's been buying or selling TSLA stock lately?"
  • "What are analysts saying about AMZN?"

Want More?

FinAgent Pro adds SEC filing analysis and stock screening. Get it at mcp-marketplace.io/server/finagent-pro.

Data Sources

  • Market data: Yahoo Finance (free, real-time)
  • News: Yahoo Finance news feed (free)