yahoo-finance2

Из публичных источников

Неофициальный API для Yahoo Finance с CLI, MCP и Agent Skill

Машинный перевод · Показать оригинал

Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill

MCP-серверКатегория: MCP-серверы · Браузер и веб · Поиск и знанияOpen sourceданные проверены 16 окт. 2026 г.

Обзор

  • agent-skill
  • finance
  • mcp-server
  • yahoo
  • yahoo-finance

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    www.npmjs.com/package/yahoo-finance2 ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/gadicc/yahoo-finance2 ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———

Релизы

проверено 30 окт. 2026 г.
v4.0.5Последний21 окт. 2026 г.Официальный источник ↗

Файлы версии 4.0.5

К релизу не приложены файлы.

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 16 окт. 2026 г.
Оценка качества92
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 0 days ago
Документация · 1515
README 7819 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 0 days ago
Точность категории · 105
classifier confidence 0.5
Популярность · 107
803 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 107 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/gadicc/yahoo-finance2Основной★ 803 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

QuantDingerПохожий
Открытая ИИ-торговая ОС, агентная торговля и «vibe trading» с интеграцией Jev System One. Исследуйте рынки, создавайте торговые стратегии на Python, проводите бэктестинг и торгуйте на бумажном или реальном счёте на криптовалютах, акциях и форекс. Запустите собственную мультитенантную SaaS-платформу для торговли со встроенным управлением пользователями, биллингом, платежами и расчётами.Apache-2.0 · MCP-серверы
FinanceMCPПохожий
这是一个金融领域相关的mcp,本项目通过集成 Tushare API 和 Binance API 为语言模型(如Claude)提供全面的实时金融数据访问能力,支持股票、基金、债券、宏观经济指标、稳定币、虚拟货币等多维度金融数据分析。其中也包含了金融数据查询、财经新闻查询、国家统计局数据查询等MIT · MCP-серверы
maverick-mcpПохожий
MCP-сервер для фондового рынка с данными Yahoo Finance, техническим анализом, отслеживанием портфеля и бэктестингом на Python. Работает локально, основные инструменты не требуют API-ключа.MIT · MCP-серверы
worldmonitorПохожий
Панель глобальной аналитики в реальном времени. Агрегация новостей с помощью ИИ, мониторинг геополитической обстановки и отслеживание инфраструктуры в едином интерфейсе ситуационной осведомлённостиAGPL-3.0 · MCP-серверы
ScraplingПохожий
🕷️ Адаптивный фреймворк для веб-скрапинга, который справляется со всем — от одиночного запроса до масштабного краулинга! Не стесняйтесь, присоединяйтесь здесь: https://discord.gg/EMgGbDceNQ и подписывайтесь здесь, чтобы получать ежедневные советы и хитрости: https://x.com/Scrapling_devBSD-3-Clause · MCP-серверы
context7Похожий
Context7 Platform — актуальная документация для ИИ-агентовMIT · MCP-серверы

README

Из gadicc/yahoo-finance2 · лицензия MIT · загружено 30 окт. 2026 г.

yahoo-finance2

Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill.

Copyright (c) 2021 by Gadi Cohen and Pilwon Huh. MIT licensed.

[npm] [CI] [coverage] [semantic-release] [TypeScript] [MIT License]

You are reading the docs for v4, the current major version published as yahoo-finance2@latest. For the older v3 docs, click here. Upgrading? See UPGRADING.

Live Demo on CodeSandbox (Updated 2024-06-17; NextJS with both RSC and Hook-Relay examples)

NB: Recently the repo was renamed from node-yahoo-finance2 to yahoo-finance2, and the following branches were named, master to main, and devel to dev. See UPGRADING.md#dev for the git commands to update your local installation.

Supported runtimes:

  • Bun: v1+.
  • Cloudflare: Modern releases, tested in CI via Workers Vitest under nodejs_compat.
  • Deno: v2+.
  • Node: v22+; v22 until 2027-04-30, v24 until 2028-04-30. Supported releases follow the Node.js release schedule.

Unofficial API

This project is neither created nor endorsed by Yahoo Inc. Yahoo does not provide any official API to developers, nor makes any guarantees regarding service availability or API consistency. In practice however, the open source community has kept this project (and it's predecessor) working well since 2013.

Nevertheless, we make no guarantees and you use this package at your own risk. The developers (and obviously Yahoo) cannot be held responsible for any losses you may incur as a result of using this service. Use of this package is considered acknowledgement and acceptance of these terms and of its license.

Quickstart

CLI (Command line interface)

$ npx yahoo-finance2 --help
$ npx yahoo-finance2 search AMZN
$ npx yahoo-finance2 quoteSummary GOOGL
$ npx yahoo-finance2 quoteSummary NVDA '{"modules":["assetProfile", "secFilings"]}'

# or install it
$ npm install -g yahoo-finance2
$ yahoo-finance search MSFT '{ "someOption": true }'

See the CLI docs for stdout/stderr behavior and exit codes.

See the MCP docs to expose yahoo-finance2 tools to MCP clients such as Codex, Claude, Cursor, and VS Code.

Importing

// or: const YahooFinance = require("yahoo-finance2").default;
import YahooFinance from "yahoo-finance2";

const yahooFinance = new YahooFinance();

const results = await yahooFinance.search("Apple");

const quote = await yahooFinance.quote('AAPL');
const { regularMarketPrice as price, currency } = quote;

Available modules: chart, fundamentalsTimeSeries, historical, insights, options, quote, quoteSummary (submodules: assetProfile, balanceSheetHistory, balanceSheetHistoryQuarterly, calendarEvents, cashflowStatementHistory, cashflowStatementHistoryQuarterly, defaultKeyStatistics, earnings, earningsHistory, earningsTrend, financialData, fundOwnership, fundPerformance, fundProfile, incomeStatementHistory, incomeStatementHistoryQuarterly, indexTrend, industryTrend, insiderHolders, insiderTransactions, institutionOwnership, majorDirectHolders, majorHoldersBreakdown, netSharePurchaseActivity, price, quoteType, recommendationTrend, secFilings, sectorTrend, summaryDetail, summaryProfile, symbol, topHoldings, upgradeDowngradeHistory), recommendationsBySymbol, screener, search, trendingSymbols.

Extras: quoteCombine.

See the Explanatatory Documentation and Full API Documentation.

Particularly, make sure to read the notes there on ERROR HANDLING. Be aware that if a stock gets delisted, Yahoo removes all related data, including historical (and chart) data from periods before the delisting occurred (i.e. queries that worked before will start failing, and there is no way to retrieve this data again).

Agent Skill

This repo ships an Agent Skills-compatible skill at skills/yahoo-finance2. Install it for compatible agents with:

npx skills add gadicc/yahoo-finance2

The npm package also includes the skill under skills/yahoo-finance2 for tools that sync skills from installed packages.

(Optional) TypeScript Love

Working with yahoo-finance2 is a joy if you're using TypeScript (but you don't have to), with type checking and auto completion:

[Types Animation]

Try it yourself on our Live CodeSandbox.

Using in the Browser

It's not possible to run this in the browser, due to CORS and cookie issues. You should execute calls on a server or in a serverless or edge function, and pass this data to the browser as required. See the CodeSandbox above for examples. Use React Server Components, trpc, or other strategies to maintain types.

Related Projects

  • 📈 Ghostfolio - mature, open-source Wealth Management & longtime supporter.

  • 🛠️ StockQuotes.MCP - AI MCP Server to fetch real time financial data.

  • ⚡ live-quotes - Demo to showcase running yahoo-finance2 in cloudflare workers with live quotes.

  • 🦊 Foliofox - Open-source portfolio tracker with an AI financial advisor.

Want your project listed? Open a PR to add it here.

Contributing

Pull Requests welcome! Read CONTRIBUTING.md and join our list of heroes:

[contributors badge]

Credits

  • Massive thanks to @pilwon for the original node-yahoo-finance and for all our prior collaborations on this and other projects 🙏

  • Special mention goes out to pudgereyem and PythonCreator27 who made significant contributions in the very early days of this project.

Открыть репозиторий ↗