Financial context for
LlamaIndex agents.
TickerAPI provides pre-computed market data as MCP tools that LlamaIndex agents can call directly. Categorical responses designed for how language models reason about financial data.
Four lines to market data.
Use llama-index-tools-mcp to connect TickerAPI's remote MCP server. Every tool is available to your agent immediately.
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec mcp_client = BasicMCPClient("https://mcp.tickerapi.ai/", headers={ "Authorization": "Bearer tapi_your_api_key" }) mcp_tools = McpToolSpec(client=mcp_client) tools = mcp_tools.to_tool_list()
Pass tools to any LlamaIndex agent. Each tool maps to a TickerAPI endpoint with typed parameters.
Multi-step analysis.
Your agent can chain tools — scan for oversold stocks, get a full summary, then compare against peers. Each call returns categorical data the model understands without extra prompting.
from llama_index.core.agent import FunctionCallingAgent from llama_index.llms.anthropic import Anthropic agent = FunctionCallingAgent.from_tools( tools, llm=Anthropic(model="claude-sonnet-4-20250514"), verbose=True ) response = agent.chat( "Find oversold tech stocks, then give me a detailed summary of the top pick and compare it against its main competitor." )
# Agent calls: scan_oversold(sector="Technology") # → Returns list of oversold tech tickers # Agent calls: get_summary("NVDA") # → Full categorical breakdown: trend, momentum, fundamentals # Agent calls: compare_assets(tickers=["NVDA", "AMD"]) # → Side-by-side comparison across all dimensions
Track state changes effortlessly.
Most market data APIs return point-in-time snapshots. TickerAPI tracks state transitions — your agent sees what changed, not just what is.
response = agent.chat(
"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 factual snapshot for a single asset — trend, momentum, fundamentals, support/resistance.
Side-by-side technical and fundamental comparison of two or more tickers.
Browse all supported tickers with filtering and search.
List all valid sector values with asset counts for scan filtering.
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.
Assets in confirmed oversold conditions across multiple indicators.
Assets in overbought RSI conditions with severity rankings.
Momentum breakouts with volume confirmation.
Volume anomalies and accumulation patterns.
Historically undervalued or overvalued assets based on fundamental metrics.
Notable insider buying and selling activity.
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.
Data shaped for agent reasoning.
Categorical by default
Values like "trend": "strong_uptrend" are already in a format the model reasons about naturally. No interpretation layer needed.
Token-efficient responses
Compact tool responses that fit comfortably in context windows. A fraction of the tokens raw OHLCV data would require.
Zero infrastructure
Data is pre-computed and synced daily. No databases, no cron jobs, no indicator libraries. Connect and build.