Labsco
TradeInsight-Info logo

TradeInsight

from TradeInsight-Info

US stock market data server with OHLCV price history, top movers ranked by volume/moving-average/price-change, and company ticker search.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

TradeInsight MCP Server

A Model Context Protocol server that gives AI assistants real-time access to stock market data via the TradeInsight API.

Endpoint: https://api.tradeinsight.info/mcp
Protocol: Streamable HTTP (JSON-RPC 2.0)

Tools

get_price_history

Get daily OHLCV price history for a stock ticker.

ParameterTypeRequiredDescription
tickerstringyesTicker symbol, e.g. "AAPL"
start_datestringnoStart date YYYY-MM-DD (default: 1 year ago)
end_datestringnoEnd date YYYY-MM-DD (default: today)
limitintegernoMax rows 1–1000 (default 365)
adjustedbooleannoUse split/dividend-adjusted prices (default true)

get_top_movers

Get tickers ranked by volume, 20-day moving average, or price change.

ParameterTypeRequiredDescription
sort_bystringyes"volume", "moving_average", or "price_change"
limitintegernoMax results 1–50 (default 10)

search_ticker

Search for stock tickers by company name substring.

ParameterTypeRequiredDescription
querystringyesCompany name substring, e.g. "apple"
limitintegernoMax results 1–50 (default 20)

Authentication

All requests require a Bearer token in the Authorization header:

Copy & paste β€” that's it
Authorization: Bearer ti_xxxxxxxxxxxx

Requests without a valid key return JSON-RPC error -32001 (Unauthorized).

Rate limits

Rate limits are enforced per API key and tier. When exceeded the server returns JSON-RPC error -32029 with a retry_after field (seconds).

Error codes

CodeMeaning
-32700Parse error β€” malformed JSON body
-32602Invalid params β€” missing required field or bad value
-32601Method not found β€” unknown method or tool name
-32001Unauthorized β€” missing or invalid API key
-32029Rate limited β€” includes data.retry_after (seconds)
-32002No data β€” ticker not found
-32603Internal error

Python client

For programmatic access without MCP, use the tidata Python library:

Copy & paste β€” that's it
from tidata.tifinance import Ticker

t = Ticker("AAPL")
df = t.history(period="1y")
print(df.head())