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

aigroup-finnhub-mcp

v1.2.1

Published

Node.js MCP server for Finnhub financial data API

Readme

aigroup-finnhub-mcp

Node.js implementation of the MCP (Model Context Protocol) server for Finnhub financial data API.

Quick Start with npx

npx aigroup-finnhub-mcp

Or with environment variables:

FINNHUB_API_KEY=your_api_key npx aigroup-finnhub-mcp

Features

  • 15 MCP Tools: Complete set of financial data tools
  • TypeScript: Full type safety with Zod validation
  • Rate Limiting: Built-in token bucket rate limiter
  • Retry Logic: Exponential backoff with jitter
  • Error Handling: Comprehensive error types and handling

Available Tools

| Tool | Operations | Description | |------|-----------|-------------| | finnhub_stock_market_data | 7 | Quotes, candles, profiles, financials | | finnhub_technical_analysis | 4 | 50+ indicators, patterns, signals | | finnhub_news_sentiment | 4 | News, sentiment analysis | | finnhub_stock_fundamentals | 5 | Financial metrics, dividends, splits | | finnhub_crypto_data | 4 | Crypto exchanges, symbols, prices |

Installation

npm install

Configuration

  1. Copy .env.example to .env:
cp .env.example .env
  1. Edit .env and add your Finnhub API key:
FINNHUB_API_KEY=your_api_key_here

Get your API key at Finnhub Dashboard.

Usage

Development

npm run dev

Build

npm run build

Start

npm start

MCP Configuration (npx)

Add to your Claude Desktop config (%APPDATA%\\Claude\\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "aigroup-finnhub": {
      "command": "npx",
      "args": ["-y", "aigroup-finnhub-mcp"],
      "env": {
        "FINNHUB_API_KEY": "d6j77dpr01ql467igom0d6j77dpr01ql467igomg"
      }
    }
  }
}

Or using local path:

{
  "mcpServers": {
    "aigroup-finnhub": {
      "command": "node",
      "args": ["D:/mcp-finnhub-main/mcp-finnhub-node/dist/index.js"],
      "env": {
        "FINNHUB_API_KEY": "d6j77dpr01ql467igom0d6j77dpr01ql467igomg"
      }
    }
  }
}

API Reference

finnhub_stock_market_data

Operations:

  • get_quote - Real-time stock quote
  • get_candles - Historical OHLCV data
  • get_company_profile - Company information
  • symbol_lookup - Search symbols
  • get_basic_financials - Financial metrics
  • get_financials_as_reported - SEC financial statements
  • get_earnings_surprises - Earnings surprises

finnhub_technical_analysis

Operations:

  • get_indicator - Technical indicators (RSI, MACD, etc.)
  • get_aggregate_signals - Buy/sell/neutral signals
  • get_pattern_recognition - Chart patterns
  • get_support_resistance - S/R levels

finnhub_news_sentiment

Operations:

  • get_company_news - Company news articles
  • get_market_news - General market news
  • get_news_sentiment - News sentiment scores
  • get_insider_sentiment - Insider trading sentiment

Development

# Type check
npm run typecheck

# Lint
npm run lint

# Test
npm run test

License

MIT