loading…
Search for a command to run...
loading…
Provides AI assistants with comprehensive access to real-time and historical financial market data including stocks, options, crypto, and forex through the Insi
Provides AI assistants with comprehensive access to real-time and historical financial market data including stocks, options, crypto, and forex through the InsightSentry API. Supports 28+ specialized tools for market analysis, screening, and news retrieval, functioning as both an MCP server and standalone CLI.
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.
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"
No global install needed — use npx in your MCP config.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"insightsentry": {
"command": "npx",
"args": ["-y", "@insightsentry/mcp"],
"env": {
"INSIGHTSENTRY_API_KEY": "your-api-key"
}
}
}
}
Add to .mcp.json in your project root:
{
"mcpServers": {
"insightsentry": {
"command": "npx",
"args": ["-y", "@insightsentry/mcp"],
"env": {
"INSIGHTSENTRY_API_KEY": "your-api-key"
}
}
}
}
Any MCP client that supports stdio transport can use the server:
insight-mcp
insight --help # List all tools
insight <tool> --help # Tool-specific parameters
insight <tool> [--param value] # Call a tool
# 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.
| 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 |
| Tool | Description |
|---|---|
search_symbols |
Search for symbols across all asset classes |
| 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 |
| Tool | Description |
|---|---|
list_options |
List available option contracts |
get_options_expiration |
Option chain by expiration date |
get_options_strike |
Option chain by strike price |
| 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 |
| Tool | Description |
|---|---|
get_dividends |
Dividend calendar |
get_earnings |
Earnings calendar |
get_ipos |
IPO calendar |
get_events |
Economic events calendar |
| Tool | Description |
|---|---|
get_newsfeed |
Financial news with keyword filtering |
get_documents |
List SEC filings and transcripts |
get_document |
Get specific document content |
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 |
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)
npx tsx --test test/cli.test.ts # CLI unit tests
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"insightsentry-mcp": {
"command": "npx",
"args": []
}
}
}