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.

python
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.

python
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 internals
# 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.

python
response = agent.chat(
    "Check my watchlist for any state changes since yesterday."
)
json
{
  "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.

json
{
  "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.

get_summary

Full factual snapshot for a single asset — trend, momentum, fundamentals, support/resistance.

compare_assets

Side-by-side technical and fundamental comparison of two or more tickers.

list_assets

Browse all supported tickers with filtering and search.

list_sectors

List all valid sector values with asset counts for scan filtering.

get_watchlist

Live summary data for all tickers in your saved watchlist.

get_watchlist_changes

Field-level diffs for your watchlist since the last pipeline run.

add_to_watchlist

Add tickers to your persistent watchlist.

remove_from_watchlist

Remove tickers from your watchlist.

scan_oversold

Assets in confirmed oversold conditions across multiple indicators.

scan_overbought

Assets in overbought RSI conditions with severity rankings.

scan_breakouts

Momentum breakouts with volume confirmation.

scan_unusual_volume

Volume anomalies and accumulation patterns.

scan_valuation

Historically undervalued or overvalued assets based on fundamental metrics.

scan_insider_activity

Notable insider buying and selling activity.

get_account

Your plan tier, rate limits, and current API usage.

create_webhook

Register a webhook URL for watchlist change notifications.

list_webhooks

List your registered webhook URLs.

delete_webhook

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.

Start building.

Try for free. No credit card required.