🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@insightsentry/mcp

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@insightsentry/mcp

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

latest
Source
npmnpm
Version
1.4.35
Version published
Weekly downloads
259
197.7%
Maintainers
1
Weekly downloads
 
Created
Source

@insightsentry/mcp

MCP server and CLI for the InsightSentry financial data API.

Install

npm install -g @insightsentry/mcp

Commands:

CommandPurpose
insightCLI for terminal use and scripts
insight-mcpMCP server for AI clients
mcpAlias for insight-mcp

Authentication

Set an API key for the current shell:

export INSIGHTSENTRY_API_KEY="your-api-key"

Or save one locally for the CLI:

insight login --key "your-api-key"
insight whoami
insight logout

whoami parses the configured JWT locally and prints email, falling back to uuid.

MCP Setup

Use npx in your MCP config:

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

The MCP server also falls back to the key saved by insight login when INSIGHTSENTRY_API_KEY is not set. Set INSIGHTSENTRY_CONFIG_DIR to force the CLI and MCP server to read the same saved-login directory when they run with different home directories.

CLI Usage

insight --help
insight <tool> --help
insight <tool> [--param value]

Examples:

insight whoami
insight search_symbols --query "tesla"
insight get_quotes --codes "NASDAQ:AAPL,NASDAQ:MSFT"
insight get_symbol_series --symbol "NASDAQ:AAPL" --bar_type day --dp 30
insight screen_stocks --fields "close,volume,market_cap" --exchanges "NYSE,NASDAQ" --sortBy market_cap --sortOrder desc
insight download_history --symbol "NASDAQ:AAPL" --bar_type day --from 2024-01-01 --to 2024-06-30 --output_dir ./history

Symbol codes must use EXCHANGE:SYMBOL format. Use search_symbols before calling symbol tools.

All API tools support:

--filter '<jsonata-expression>'
--store json --output_file ./response.json
--store json --output_dir ./responses

get_symbol_series also supports CSV storage:

insight get_symbol_series --symbol "NASDAQ:AAPL" --bar_type day --store csv --output_file ./aapl.csv

Tools

Auth and files:

ToolPurpose
whoamiPrint the configured user's email/uuid from the API key JWT
download_historyDownload date ranges to JSON/CSV files
get_symbol_historySame as download_history; downloads history to files
render_chartRender Chart.js configs as PNG images

Market data:

ToolPurpose
search_symbolsFind valid EXCHANGE:SYMBOL codes
get_quotesLatest quotes
get_symbol_seriesRecent OHLCV series
get_symbol_infoSymbol metadata
get_symbol_sessionTrading hours and session details
get_symbol_contractsFutures contract list

Fundamentals, options, screeners, calendars, documents:

ToolPurpose
get_symbol_fundamentalsCompany fundamentals
get_fundamentals_seriesHistorical fundamental indicators
get_fundamentals_metaAvailable fundamental/technical IDs
get_options_contractsOption contract metadata and codes
get_options_quotesOption quote rows with bid/ask and Greeks
screen_stocks, screen_etfs, screen_bonds, screen_cryptoScreen assets
get_stock_screener_params, get_etf_screener_params, get_bond_screener_params, get_crypto_screener_paramsScreener fields
get_dividends, get_earnings, get_ipos, get_eventsCurrent and historical monthly calendars
get_newsfeedFinancial news
get_newsfeed_sourcesAvailable news source names
get_documents, get_documentFilings and transcripts

Keywords

mcp

FAQs

Package last updated on 03 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts