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

@insightsentry/mcp

v1.4.1

Published

MCP server for InsightSentry financial data API - provides AI-accessible tools for market data, screening, options, and comprehensive API documentation resources

Readme

@insightsentry/mcp

MCP server and CLI for the InsightSentry financial data API.

Gives AI assistants direct access to real-time and historical market data for equities, futures, options, crypto, forex, and more — plus comprehensive documentation resources for building applications with the InsightSentry API and WebSocket feeds. Also usable as a standalone CLI for scripting and terminal workflows.

Install

npm install -g @insightsentry/mcp

This gives you two commands:

| Command | Purpose | |---------|---------| | insight | CLI for terminal / scripting | | insight-mcp | MCP server for AI assistants |

Get your API key from the InsightSentry Dashboard.

export INSIGHTSENTRY_API_KEY="your-api-key"

MCP Server Setup

No global install needed — use npx in your MCP config.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "insightsentry": {
      "command": "npx",
      "args": ["-y", "@insightsentry/mcp"],
      "env": {
        "INSIGHTSENTRY_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "insightsentry": {
      "command": "npx",
      "args": ["-y", "@insightsentry/mcp"],
      "env": {
        "INSIGHTSENTRY_API_KEY": "your-api-key"
      }
    }
  }
}

Other MCP Clients

Any MCP client that supports stdio transport can use the server:

insight-mcp

CLI Usage

insight --help                    # List all tools
insight <tool> --help             # Tool-specific parameters
insight <tool> [--param value]    # Call a tool

Examples

# Search for a symbol
insight search_symbols --query "tesla"

# Get real-time quotes
insight get_quotes --codes "NASDAQ:AAPL,NASDAQ:MSFT"

# Daily OHLCV with JSONata filter
insight get_symbol_series --symbol "NASDAQ:AAPL" --bar_type day --dp 30 \
  --filter "{ \"last_close\": series[-1].close, \"avg_vol\": \$average(series.volume) }"

# Screen for high-cap stocks
insight screen_stocks --fields "close,volume,market_cap" \
  --exchanges "NYSE,NASDAQ" --sortBy market_cap --sortOrder desc

# Upcoming earnings
insight get_earnings --c US

# Options chain
insight list_options --code "NASDAQ:AAPL" --type call --range 10

All tools support --filter <jsonata> to transform/reduce the JSON response before output. See JSONata docs for expression syntax.

Available Tools (28)

Market Data

| Tool | Description | |------|-------------| | get_symbol_series | Recent OHLCV data (up to 30k bars) with real-time option | | get_symbol_history | Deep historical data (20+ years) | | get_quotes | Real-time quotes for up to 10 symbols | | get_symbol_info | Symbol metadata (type, sector, market cap, etc.) | | get_symbol_session | Trading session details and hours | | get_symbol_contracts | Futures contract list with settlement dates |

Search

| Tool | Description | |------|-------------| | search_symbols | Search for symbols across all asset classes |

Fundamentals

| Tool | Description | |------|-------------| | get_symbol_fundamentals | Company fundamentals (valuation, profitability, balance sheet) | | get_fundamentals_series | Historical fundamental indicators | | get_fundamentals_meta | Available fundamental/technical indicator IDs |

Options

| Tool | Description | |------|-------------| | list_options | List available option contracts | | get_options_expiration | Option chain by expiration date | | get_options_strike | Option chain by strike price |

Screeners

| Tool | Description | |------|-------------| | screen_stocks | Filter stocks with custom criteria | | screen_etfs | Filter ETFs with custom criteria | | screen_bonds | Filter bonds with custom criteria | | screen_crypto | Filter crypto with custom criteria | | get_stock_screener_params | Available stock screener fields | | get_etf_screener_params | Available ETF screener fields | | get_bond_screener_params | Available bond screener fields | | get_crypto_screener_params | Available crypto screener fields |

Calendar

| Tool | Description | |------|-------------| | get_dividends | Dividend calendar | | get_earnings | Earnings calendar | | get_ipos | IPO calendar | | get_events | Economic events calendar |

News & Documents

| Tool | Description | |------|-------------| | get_newsfeed | Financial news with keyword filtering | | get_documents | List SEC filings and transcripts | | get_document | Get specific document content |

Documentation Resources

The MCP server also provides documentation resources that AI assistants can read to help you build applications:

| Resource | Content | |----------|---------| | insightsentry://docs/rest-api | Complete REST API reference | | insightsentry://docs/websocket | WebSocket API: connection, subscriptions, data formats, code examples | | insightsentry://docs/screener | Screener API: field discovery and filtering | | insightsentry://docs/options | Options API: chains, Greeks, option codes | | insightsentry://docs/futures-history | Futures historical data and contract month logic |

Online Documentation

  • API Docs: https://insightsentry.com/docs
  • WebSocket Live Demo: https://insightsentry.com/test/realtime
  • News Feed Demo: https://insightsentry.com/test/newsfeed
  • OpenAPI Spec: https://insightsentry.com/openapi.json

Development

npm install
npm run generate  # Generate tool definitions from OpenAPI spec
npm run build     # Generate + compile TypeScript
npm run dev       # Run MCP server with tsx (no build needed)

Testing

npx tsx --test test/cli.test.ts   # CLI unit tests

License

MIT