Claude Skill

gadicc/yahoo-finance2

yahoo-finance2 is an unofficial Yahoo Finance API offering CLI, MCP server, and Claude Skill for stock quotes, historical data, and market info. Ideal for developers and AI agents.

Overview

Stars745
Forks102
LanguageHTML
Last pushed2026-06-12
Last synced2026-06-17
View on GitHub

Repository

Ownergadicc
Repositoryyahoo-finance2
Full namegadicc/yahoo-finance2
Repo ID332,135,599

Install this Skill

$ npx yahoo-finance2 --help

Registry

Typemcp_server
Quality score80/100
Verificationreadme_parsed
Last verified2026-06-06
Platforms
ClaudeMCPCodexCursor
Capabilities
browsercode-reviewpdfmemorysearchterminalworkflowagent-skillfinancemcp-server
Detected files
README.mddocstests
Install methods
  • $ npx yahoo-finance2 --help
  • $ npx yahoo-finance2 search AMZN
  • $ npx yahoo-finance2 quoteSummary GOOGL
  • $ npx yahoo-finance2 quoteSummary NVDA '{"modules":["assetProfile", "secFilings"]}'
  • $ npm install -g yahoo-finance2

Summary

yahoo-finance2 is an unofficial, community-driven API for Yahoo Finance that provides a CLI, MCP server, and Claude Skill (Agent Skill) for accessing financial data. It enables developers and AI agents to query stock quotes, historical data, and market information programmatically.

Chinese description

Yahoo Finance 的非官方 API,支持命令行界面(CLI)、MCP 和 Agent Skill(Claude Skill)

Key features

  • Unofficial Yahoo Finance API with CLI support
  • MCP server integration for AI agents
  • Claude Skill (Agent Skill) for natural language queries
  • Access to stock quotes, historical data, and market info
  • Lightweight and easy-to-use JavaScript/TypeScript library

Use cases

  • Building financial dashboards and stock trackers
  • Automating market data retrieval via CLI scripts
  • Integrating real-time finance data into AI agents
  • Performing historical analysis for trading strategies
  • Enabling natural language queries for financial insights

README excerpt

# yahoo-finance2 Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill. Copyright (c) 2021 by Gadi Cohen and Pilwon Huh. [MIT licensed](./LICENSE). [![npm](https://img.shields.io/npm/v/yahoo-finance2)](https://www.npmjs.com/package/yahoo-finance2) [![CI](https://github.com/gadicc/yahoo-finance2/actions/workflows/release.yaml/badge.svg)](https://github.com/gadicc/yahoo-finance2/actions/workflows/release.yaml) [![coverage](https://img.shields.io/codecov/c/github/gadicc/yahoo-finance2)](https://codecov.io/gh/gadicc/yahoo-finance2) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) You are reading the latest **Development docs**. For the **v2 docs**, click [here](https://github.com/gadicc/yahoo-finance2/tree/2.x). The dev docs are in the process of being updated for the upcoming **v3** - for more info see [UPGRADING](./docs/UPGRADING.md). [Live Demo on CodeSandbox](https://codesandbox.io/p/devbox/gxvftx) (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](./docs/UPGRADING.md#dev) for the git commands to update your local installation. ## Supported runtimes: - **Bun**: v1+. - **Cloudflare**: Modern releases (we support but don't test for this, please report issues). - **Deno**: v2+. - **Node**: [Current and Active LTS](https://endoflife.date/nodejs)

Topics

Explore more

Data from GitHub. Synced on 2026-06-17