Project overview
yahoo-finance2 is an unofficial JavaScript API for retrieving quotes, charts, historical data, options, company summaries, screeners, and other Yahoo Finance results. Developers can call it as a library, use its command-line interface, or optionally expose the same tools through MCP and the bundled Agent Skill. It supports Node.js, Bun, Deno, and compatible Cloudflare runtimes, but it cannot run directly in a browser because of CORS and cookie constraints. Yahoo does not guarantee API availability or consistency.
Repository facts
- Primary language
- HTML
- License
- MIT
- Repository updated
- Jul 14, 2026
- Default branch
- main
Resource types
LibraryCLI appMCP server
Use cases
Finance, legal and compliance
Runtime
Command line
Protocols & integrations
Model Context Protocol
Capabilities
Tool use
Audience
Developers