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

@aiorg/mcp-financial-sentiment

v0.1.0

Published

MCP server for financial news and sentiment analysis (Finnhub + StockGeist)

Readme

@aiorg/mcp-financial-sentiment

MCP server for financial news and sentiment analysis. Provides tools for monitoring stock sentiment from news (Finnhub) and social media (StockGeist).

Features

  • News Analysis: Fetch and analyze company news from Finnhub
  • Social Sentiment: Get sentiment from Reddit and Twitter via StockGeist
  • Narrative Detection: Search for specific themes/keywords in headlines
  • Trigger Checking: Automatically evaluate sentiment-based investment triggers
  • Caching: 15-minute cache to respect API rate limits

Installation

npx @aiorg/mcp-financial-sentiment

Or add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "financial-sentiment": {
      "command": "npx",
      "args": ["-y", "@aiorg/mcp-financial-sentiment"],
      "env": {
        "FINNHUB_API_KEY": "${FINNHUB_API_KEY}",
        "STOCKGEIST_API_KEY": "${STOCKGEIST_API_KEY}"
      }
    }
  }
}

Setup

1. Finnhub API Key (FREE)

  1. Go to finnhub.io/register
  2. Create free account
  3. Copy API key
  4. Add to .env: FINNHUB_API_KEY=your_key_here

Free tier includes:

  • 60 API calls/minute
  • 1 year of historical news
  • Real-time news updates

2. StockGeist API Key (FREE credits)

  1. Go to api.stockgeist.ai/signup
  2. Create account (10k free credits)
  3. Copy API key
  4. Add to .env: STOCKGEIST_API_KEY=your_key_here

Tools

get_news

Fetch recent news for a stock ticker.

Input: { ticker: "AMZN", days: 7 }
Output: {
  ticker: "AMZN",
  news: [
    { headline: "...", summary: "...", source: "...", datetime: "...", url: "..." }
  ],
  totalCount: 15
}

get_social_sentiment

Get social media sentiment from Reddit and Twitter.

Input: { ticker: "AMZN" }
Output: {
  ticker: "AMZN",
  sentiment: {
    score: -0.35,
    label: "bearish",
    volume: 1250,
    sources: { reddit: 800, twitter: 450 }
  }
}

check_narrative

Search for specific narratives/keywords in news headlines.

Input: {
  ticker: "AMZN",
  keywords: ["AWS lagging", "cloud share loss", "Google Cloud gains"],
  days: 7
}
Output: {
  matches: [
    { headline: "...", matchedKeywords: ["cloud share loss"], sentiment: "negative", url: "..." }
  ],
  narrativeStrength: "emerging"
}

check_triggers

Evaluate sentiment-based investment triggers.

Input: {
  ticker: "AMZN",
  triggers: [
    "Bearish social sentiment on AWS",
    "AWS lagging narrative in headlines"
  ]
}
Output: {
  ticker: "AMZN",
  triggersChecked: 2,
  triggersFired: 1,
  results: [
    { trigger: "...", type: "sentiment", status: "fired", details: "..." }
  ],
  recommendation: "1 trigger(s) fired! Review AMZN for potential action."
}

Use Cases

Contrarian Investing

Monitor when sentiment becomes overly negative for quality companies:

Use check_triggers with:
- "Bearish analyst sentiment"
- "Negative social media sentiment"
- "Share loss narrative dominates headlines"

Morning Briefing

Integrate with Investor OS /brief command to automatically check watchlist sentiment.

Earnings Watch

Before earnings, check narrative sentiment to gauge market expectations.

Caching

All API responses are cached for 15 minutes to:

  • Respect API rate limits
  • Speed up repeated queries
  • Reduce costs on paid tiers

License

MIT