npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

yfnhanced-mcp

v1.0.1

Published

Yahoo Finance MCP Server - A Model Context Protocol server for financial data with enterprise-grade resilience, circuit breaker, rate limiting, and data quality validation

Downloads

222

Readme

Yahoo Finance MCP Server

Production-grade financial data infrastructure for AI assistants with enterprise-grade resilience, comprehensive data quality validation, and production-ready monitoring.

Installation

npm install -g yfnhanced-mcp

Quick Start

Start Server

yfnhanced-mcp

Claude Desktop Integration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "yfnhanced": {
      "command": "yfnhanced-mcp"
    }
  }
}

Other AI Tools

Cursor AI / Cline AI:

{
  "mcpServers": {
    "yfnhanced": {
      "command": "yfnhanced-mcp"
    }
  }
}

Features

  • 13+ Financial Data Tools: Stocks, crypto, forex, company intelligence, market sentiment
  • Circuit Breaker Pattern: Automatic recovery from API failures
  • Multi-Strategy Rate Limiting: Token bucket + adaptive + per-endpoint limiting
  • Data Quality Scoring: Completeness and integrity validation
  • Comprehensive Caching: Graceful fallback with high cache hit ratio (70-90%)
  • Enterprise Testing: Unit, integration, e2e, and chaos tests

Available Tools

Market Data

  • get_quote - Real-time quotes with quality reporting
  • get_historical_prices - OHLCV data with date ranges
  • get_historical_prices_multi - Batch historical data

Company Intelligence

  • get_quote_summary - Comprehensive company overview
  • get_balance_sheet - Assets, liabilities, equity
  • get_income_statement - Revenue, expenses, net income
  • get_cash_flow_statement - Operating, investing, financing cash flows
  • get_earnings - Quarterly earnings with estimates
  • get_analysis - Analyst recommendations and price targets
  • get_major_holders - Institutional and insider ownership

Market Sentiment

  • get_news - Latest articles with relevance scoring
  • get_options - Options chains with Greeks
  • get_trending_symbols - Top movers with volume metrics
  • screener - Filter stocks by 12+ criteria

Cross-Asset

  • get_crypto_quote - Cryptocurrency prices
  • get_forex_quote - Currency pair exchange rates

Documentation

For complete documentation including configuration, usage examples, architecture details, and best practices:

View Full Documentation on GitHub

Documentation includes:

Configuration

Create a config.json file:

{
  "rateLimit": {
    "requestsPerMinute": 60,
    "requestsPerHour": 1500
  },
  "cache": {
    "ttlQuotes": 60000,
    "maxCacheSize": 1000
  },
  "circuitBreaker": {
    "failureThreshold": 5,
    "monitoringWindow": 60000,
    "successThreshold": 3
  }
}

For detailed configuration options, see Configuration Guide.

Performance

| Metric | Value | |--------|-------| | Quote queries | 60 requests/minute (configurable) | | Batch operations | Up to 100 symbols per request | | Cache hit ratio | 70-90% for frequently accessed symbols | | Cold start time | <500ms | | Test coverage | 95%+ for core middleware |

License

MIT

Links