Market data tools for any MCP client.

TickerDB exposes pre-computed financial data as MCP tools. Connect to Claude Desktop, Cursor, or any MCP-compatible client — your AI assistant pulls EOD market context directly from the chat.

Connect in two minutes.

Three ways to connect. Pick whichever fits your setup.

Option 1 — Claude.ai (OAuth)

Connect directly from Claude.ai once your access is enabled. No API key management — OAuth handles the rest via OAuth 2.1.

config
// Add as a Connector in Claude.ai
MCP server URL: https://mcp.tickerdb.com

// Authentication is handled automatically via OAuth
// No API key needed — connect when access opens

Uses OAuth 2.1 with PKCE. Your TickerDB session handles auth automatically.

Option 2 — Remote server (Bearer token)

Point any MCP client at the remote endpoint. No install needed. Pass your API key as a Bearer token in the authorization header.

config
// MCP server URL
https://mcp.tickerdb.com/mcp

// Authorization header
Authorization: Bearer tdb_your_api_key

Works with any client that supports remote MCP servers over HTTP.

Option 3 — npm package (stdio)

Run the MCP server locally via npx. Add this to your Claude Desktop config (or equivalent for your client):

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

Runs locally over stdio. No network dependency beyond the TickerDB HTTP calls.

Chain tools in one conversation.

Your MCP client can chain multiple tool calls in a single conversation. Pull a summary, check historical transitions, then check your tickers for state changes — each call returns market-state data the model understands without extra prompting.

1
get_summary(ticker="AAPL")
Full categorical breakdown: trend, momentum, fundamentals
2
get_summary(ticker="AAPL", field="momentum_rsi_zone", band="deep_oversold")
Ticker event history for that band
3
call_tool(name="get_diff", params={"tickers": ["AAPL", "MSFT"]})
Day-over-day state changes for those tickers

The MCP client discovers the tools at connection time and picks the right one for each step. Routes without their own tool, like changes, run through call_tool.

Big histories stay out of the context.

Pass store_as and fetch_all and the rows go into a SQLite table; the tool returns a short summary. Your assistant then answers with SQL in query_data instead of reading hundreds of thousands of rows.

1
query(fields=["fundamentals_pe_ratio"], member_of="sp500", start="2019-01-01", end="2026-10-30", fetch_all=true, store_as="pe")
Every page into table pe; returns the row count, columns and five sample rows
2
query_data(sql="SELECT date, AVG(fundamentals_pe_ratio) FROM pe GROUP BY date")
Read-only SQL over the stored rows, at most 200 rows back (format=csv for CSV)

Track state changes effortlessly.

Most market data APIs return point-in-time snapshots. TickerDB tracks state transitions — your AI assistant 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 assistant sees.

Every tool returns categorical facts — not raw OHLCV data. Your assistant can branch on "oversold" without needing to interpret a raw RSI reading.

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 assistant can call.

Ten tools, about 16K characters of tool text (down from about 43K), so your assistant's context goes to the data. Every tool returns categorical, pre-computed data it 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 assistants consume data.

Works with any MCP client

Claude Desktop, Cursor, VS Code, custom agents — any client that speaks MCP gets the full tool set automatically.

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