v1.1.0 - Critical bug fixes & working npx install
A full QA pass that fixed several bugs which broke core functionality, and made the documented npx installation actually work. Every fix was verified end to end by driving the real MCP server over stdio against live Yahoo Finance data.
Fixed
- Tool inputs failed validation. Each tool took a single Pydantic model argument, so the MCP schema nested every field under a required
paramsobject while the docs told the model to send fields directly — so calls were rejected. Tools now expose their parameters directly. get_analyst_recommendationscrashed with'RangeIndex' object has no attribute 'strftime'due to a change in theyfinancerecommendations format. It now reads the current format and also reports recent upgrades/downgrades.- Dividend yield was shown 100x too high (for example
35.00%for AAPL). Modernyfinancealready returns this value as a percentage, so it is no longer multiplied again. - Markdown tables broke when the optional
tabulatepackage was missing. It is now a declared dependency, with a graceful plain-text fallback. - Truncated JSON responses are now valid JSON instead of being cut off mid-structure.
Added
bin/cli.jsNode launcher sonpx -y yahoo-finance-mcp-serverworks. It locates Python 3.10+, creates an isolated virtual environment, installs the Python dependencies on first run, and starts the server with the protocol stream kept clean on stdout.tabulateadded to the dependencies.
Changed
package.jsonbinnow points at the Node launcher, the binary name matches the package name, and a Node engine requirement was added.- Tightened dependency floors (
yfinance>=0.2.40,mcp>=1.2.0). - Replaced the deprecated Pydantic
min_items/max_itemswithmin_length/max_length. - Rewrote the README and corrected the installation and troubleshooting docs.
Full changelog: https://github.com/danishashko/yahoo-finance-mcp/blob/main/CHANGELOG.md
npm: https://www.npmjs.com/package/yahoo-finance-mcp-server