TickDB Market Data
Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"tickdb-market-data": {
"url": "https://mcp.tickdb.ai/"
}
}
}遠端端點
https://mcp.tickdb.ai/streamable-http它能做什麼
工具清單
工具(13)
🟡get_ticker(symbols, type)
Get real-time price snapshots for one or more symbols. Returns last price, 24h volume, 24h high/low, price change and percent change.
輸入結構描述
{
"type": "object",
"properties": {
"symbols": {
"title": "Symbols",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
}
},
"required": [
"symbols"
],
"title": "get_tickerArguments"
}🟢get_kline(symbol, interval, type, limit, start_time, ...)
Get historical K-line (OHLCV candlestick) data for a symbol.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"interval": {
"title": "Interval",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"start_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Start Time"
},
"end_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "End Time"
}
},
"required": [
"symbol",
"interval"
],
"title": "get_klineArguments"
}🟢get_kline_latest(symbols, interval, type)
Get the most recent (live/incomplete) K-line candle for one or more symbols.
輸入結構描述
{
"type": "object",
"properties": {
"symbols": {
"title": "Symbols",
"type": "string"
},
"interval": {
"title": "Interval",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
}
},
"required": [
"symbols",
"interval"
],
"title": "get_kline_latestArguments"
}🟢get_order_book(symbol, type, limit)
Get order book (market depth) with bid and ask price levels. Returns bids and asks as [price, quantity] arrays, best price first.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
}
},
"required": [
"symbol"
],
"title": "get_order_bookArguments"
}🟢get_recent_trades(symbol, type, limit)
Get the most recent executed trades for a symbol. Returns trade id, price, quantity, side (buy/sell), and timestamp.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
}
},
"required": [
"symbol"
],
"title": "get_recent_tradesArguments"
}🟢get_available_symbols(type, market, limit, offset)
Query all tradable symbols on TickDB (37,527+ products). Use this to discover and verify correct symbol codes before other calls.
輸入結構描述
{
"type": "object",
"properties": {
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
},
"market": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Market"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
}
},
"title": "get_available_symbolsArguments"
}🟢get_kline_intervals
List all supported K-line candlestick interval strings.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "get_kline_intervalsArguments"
}🟢get_stock_info(symbols, type)
Get fundamental stock information. Returns company name (CN/EN), exchange, currency, lot size, total/circulating shares, EPS, EPS TTM, BPS, and dividend yield. Supported: US stocks, Hong Kong stocks, A-shares.
輸入結構描述
{
"type": "object",
"properties": {
"symbols": {
"title": "Symbols",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
}
},
"required": [
"symbols"
],
"title": "get_stock_infoArguments"
}🟢get_intraday(symbols, type)
Get today's intraday minute-level price data for stocks. Returns timestamp, price, volume, turnover, and average price per minute. Supported: US stocks, Hong Kong stocks, A-shares.
輸入結構描述
{
"type": "object",
"properties": {
"symbols": {
"title": "Symbols",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
}
},
"required": [
"symbols"
],
"title": "get_intradayArguments"
}🟢get_trading_sessions(market)
Get current trading session schedule for a stock market. Returns session begin/end times and session type (pre-market, regular, after-hours, closed, etc.).
輸入結構描述
{
"type": "object",
"properties": {
"market": {
"title": "Market",
"type": "string"
}
},
"required": [
"market"
],
"title": "get_trading_sessionsArguments"
}🟢get_trade_days(market, beg_day, end_day)
Get the trading calendar (trading days and half-days) for a date range.
輸入結構描述
{
"type": "object",
"properties": {
"market": {
"title": "Market",
"type": "string"
},
"beg_day": {
"title": "Beg Day",
"type": "string"
},
"end_day": {
"title": "End Day",
"type": "string"
}
},
"required": [
"market",
"beg_day",
"end_day"
],
"title": "get_trade_daysArguments"
}🟡get_market_metrics(symbols, type)
Get comprehensive market metrics and valuation data for stocks. Returns: price, change, volume, turnover, YTD change, turnover rate, market cap, capital flow, PE (TTM), PB ratio, dividend yield, 5/10/180-day price change rates. Supported: US stocks, Hong Kong stocks, A-shares.
輸入結構描述
{
"type": "object",
"properties": {
"symbols": {
"title": "Symbols",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
}
},
"required": [
"symbols"
],
"title": "get_market_metricsArguments"
}🟢get_capital_flow(symbol, type)
Get capital flow (money flow) analysis for a stock. Returns intraday flow timeline and breakdown of capital inflows/outflows by order size: large, medium, and small. Supported: US stocks, Hong Kong stocks, A-shares.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Type"
}
},
"required": [
"symbol"
],
"title": "get_capital_flowArguments"
}社群
證據