Market data tools for
LangChain agents.
TickerDB provides pre-computed financial context as MCP tools. LangChain's MCP adapter converts them into native LangChain tools — your agent gets market data with zero custom integration code.
Connect in one code block.
Use langchain-mcp-adapters to connect TickerDB's remote MCP server to your LangChain agent. Every TickerDB tool becomes a native LangChain tool automatically.
from langchain_mcp_adapters.client import MultiServerMCPClient from langgraph.prebuilt import create_react_agent from langchain_anthropic import ChatAnthropic model = ChatAnthropic(model="claude-sonnet-4-20250514") async with MultiServerMCPClient( { "tickerdb": { "url": "https://mcp.tickerdb.com/", "transport": "streamable_http", "headers": { "Authorization": "Bearer tapi_your_api_key" }, } } ) as client: agent = create_react_agent(model, client.get_tools()) result = await agent.ainvoke( {"messages": "Is AAPL oversold right now?"} )
The MCP adapter discovers all available tools at connection time. No manual tool definitions needed.
Multi-step analysis.
Your agent can chain tools — get a full summary, check historical band transitions, then monitor watchlist changes. Each call returns categorical data the model understands without extra prompting.
result = await agent.ainvoke({ "messages": "Get a summary of AAPL, check when it last entered deep oversold, and show any recent watchlist changes." })
# Agent calls: get_summary("AAPL") # → Full categorical breakdown: trend, momentum, fundamentals # Agent calls: get_summary("AAPL", field="rsi_zone", band="deep_oversold") # → Historical band transitions for RSI entering deep oversold # Agent calls: get_watchlist_changes() # → State changes across monitored tickers
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.
result = await agent.ainvoke({ "messages": "Check my watchlist for any state changes since yesterday." })
{ "ticker": "AAPL", "changes": [ { "field": "rsi_zone", "from": "neutral", "to": "oversold" }, { "field": "trend", "from": "uptrend", "to": "downtrend" } ] }
What your agent sees.
Every tool returns categorical facts — not raw OHLCV data. Your agent can branch on "oversold" without needing to know what RSI > 70 means.
{ "ticker": "NVDA", "trend": "strong_uptrend", "momentum": { "rsi_zone": "overbought", "macd_signal": "bullish" }, "volatility": "high", "fundamentals": { "pe_zone": "above_historical_avg", "earnings_surprise": "positive" } }
What your agent can call.
Every tool returns categorical, pre-computed data. Your agent gets facts it can reason about immediately.
Full categorical snapshot for a single asset — trend, momentum, volatility, volume, extremes, fundamentals, support/resistance.
Live summary data for all tickers in your saved watchlist.
Field-level diffs for your watchlist since the last pipeline run.
Add tickers to your persistent watchlist.
Remove tickers from your watchlist.
Multi-field filtering across all assets. Build complex queries with arbitrary filter combinations.
All queryable fields with types, values, and descriptions. Always free.
Your plan tier, rate limits, and current API usage.
Register a webhook URL for watchlist change notifications.
List your registered webhook URLs.
Remove a registered webhook.
Built for how agents consume data.
Categorical data, less prompt engineering
Responses like "rsi_zone": "oversold" are already in a format the model understands. No need to explain what RSI > 70 means.
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 daily
No infrastructure to maintain. No cron jobs, no indicator math, no data pipelines. TickerDB handles computation and syncing.