Market data tools inside Cursor.

Connect TickerDB to Cursor via MCP. Your AI coding assistant gets market summaries, state changes, and ticker event history — useful when building trading bots, analysis tools, or financial applications.

Add to Cursor in one step.

Cursor supports MCP tool servers natively. Add the TickerDB config to your Cursor MCP settings and the tools become available to the AI assistant immediately.

.cursor/mcp.json
{
  "mcpServers": {
    "tickerdb": {
      "command": "npx",
      "args": ["tickerdb-mcp"],
      "env": {
        "TICKERDB_KEY": "tdb_your_api_key"
      }
    }
  }
}

The MCP server discovers all available tools at connection time. No manual tool definitions needed.

Market context while you code.

Ask Cursor's AI about current market conditions while building financial applications. It chains tools automatically — get a summary, use summary event mode for historical context, check your tickers for state changes.

1
get_summary(ticker="INTC")
Full categorical snapshot for the ticker
2
get_summary(ticker="INTC", field="momentum_rsi_zone", band="deep_oversold")
Historical ticker events for that band
3
get_summary(ticker="AMD")
Compare by pulling a second summary

Track state changes effortlessly.

Most market data APIs return point-in-time snapshots. TickerDB tracks state transitions — your agent sees what changed, not just what is.

json
{
  "timeframe": "daily",
  "run_date": "2026-03-28",
  "changes": {
    "AAPL": [
      {
        "field": "momentum_rsi_zone",
        "from": "neutral",
        "to": "oversold"
      },
      {
        "field": "trend_direction",
        "from": "uptrend",
        "to": "downtrend"
      }
    ]
  },
  "ticker_context": {
    "AAPL": {
      "last_changed_date": "2026-03-28"
    }
  },
  "tickers_checked": 2,
  "tickers_changed": 1
}

What your agent sees.

Every tool returns categorical facts — not raw OHLCV data. Your agent can branch on "oversold" without needing to interpret a raw RSI reading. The stock fundamentals shown below are included on every plan.

json
{
  "ticker": "NVDA",
  "data_status": "eod",
  "as_of_date": "2026-04-11",
  "trend": {
    "direction": "strong_uptrend",
    "ma_alignment": "aligned_bullish"
  },
  "momentum": {
    "rsi_zone": "overbought",
    "macd_state": "expanding_positive",
    "direction": "accelerating"
  },
  "volatility": {
    "regime": "normal",
    "regime_trend": "stable"
  },
  "fundamentals": {
    "valuation_zone": "fair_value",
    "pe_vs_historical_zone": "premium",
    "free_cash_flow_zone": "moderate_surplus",
    "revenue_growth_zone": "strong"
  },
  "analyst": {
    "revenue_surprise_zone": "beat"
  }
}

What your agent can call.

Every tool returns pre-computed market-state data: categorical facts plus supporting metadata your agent can reason about immediately.

get_schema

Look up field names, units and band values: search "rsi zone", a category, or market-level fields.

query

Any cross-section or history: screen and rank one date, every asset on a date, or every row in a date range.

get_summary

One ticker: latest snapshot, a date, a series, or band events and what usually happens after.

get_market

Market (market_*) and economy (macro_*) regime rows, one per date, and regime changes.

get_ohlcv

Daily or weekly end-of-day candles for returns, charts and backtests.

add_watchlist_tickers

Track tickers on your watchlist; get_watchlist_diff says what changed since your last check.

remove_watchlist_tickers

Stop tracking tickers on your watchlist.

search_tools

Find the other endpoints and their params: changes, the watchlist, insiders, funds, indexes, models, status, account and more.

call_tool

Run an endpoint found with search_tools, by name with a params object.

query_data

Read-only SQL over results saved with store_as, so large pulls stay out of the context.

Every other API route is available through call_tool; search_tools finds them and their params.

Built for how agents consume data.

Build with real data

When you're writing a trading bot or analysis tool, Cursor's AI can pull actual market conditions to validate logic, generate test cases, or check if your strategy handles edge cases correctly.

Compact responses

Tool-call context windows are limited. TickerDB responses are a fraction of the tokens you'd need to pass raw OHLCV data.

Pre-computed data

No infrastructure to maintain. No cron jobs, no indicator math. TickerDB handles computation and syncing.

Give your agent the market.

Get API key