finance-mcp
finance-mcp
一个专注于市场数据的远程 Model Context Protocol (MCP) 服务器,专为 Cloudflare Workers 和诸如 ChatGPT/Codex 等 AI 客户端设计。
工具
stock_quote— 最多 10 个股票代码的最新/近实时报价元数据price_history— 包含日内和日线间隔的 OHLCV 历史数据option_chain— 期权到期日、看涨期权、看跌期权、隐含波动率、成交量和未平仓合约finance_news— 公司/股票代码新闻搜索market_snapshot— S&P 500、纳斯达克综合指数、道琼斯工业平均指数和 VIX 快照
Related MCP server: Financial Modeling Prep (FMP) MCP Server
数据来源
首个版本使用 Yahoo Finance 的公共/非官方端点。实际延迟取决于交易所和上游规则。除非您的上游权限明确保证实时数据,否则请将报价视为近实时。期权数据可能会有延迟;请根据您的经纪商/订单簿验证执行决策。
本地开发
npm install
npm run dev健康检查:
http://localhost:8787/healthMCP 端点:
http://localhost:8787/mcp部署到 Cloudflare Workers
npm install
npx wrangler login
npm run deploy部署后,Wrangler 会返回一个 Workers URL。您的远程 MCP 端点为:
https://<worker-name>.<account-subdomain>.workers.dev/mcp使用 /health 验证 Worker 是否可访问。
连接 MCP 客户端
配置以 /mcp 结尾的远程 MCP URL。本项目通过 Cloudflare 的无状态 MCP 处理器使用 Streamable HTTP。
示例提示
获取 AAPL 和 NVDA 的最新报价。显示 AAPL 5 天 5 分钟价格历史。获取最近的 AAPL 期权链,并识别成交量最高的看涨期权和看跌期权。查找最新的苹果财经新闻。给我一个美国市场快照。
路线图
接下来的模块可以添加 SEC 文件、FRED 宏观数据、机构持仓、内部交易、支持 Cboe/OPRA 的期权数据源以及经纪商级别的实时市场数据提供商。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Financial data MCP server for global quotes, news, financials, funds, bonds, IPOs and macro data.
MCP server for Financial Modeling Prep API with 250+ financial data tools
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceReal-time financial market data MCP server. Stocks, crypto, technicals, sentiment, FDA calendar. No API keys required.-
- AlicenseBqualityDmaintenanceAn MCP server that provides comprehensive access to real-time stock quotes, financial statements, analyst estimates, and technical indicators via the Financial Modeling Prep API. It enables users to conduct in-depth financial analysis and track market performance through specialized tools, resources, and prompt templates.2647 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server that provides seamless access to Yahoo Finance stock market data, enabling retrieval of real-time quotes, historical data, charts, financial summaries, and market searches.26 npmISC
- FlicenseNot gradedqualityCmaintenanceMCP server that enables searching, retrieving, and translating earnings call transcripts from MarketBeat, deployed on Cloudflare Workers.-