Tradier MCP Server for LlamaIndexGive LlamaIndex instant access to 13 tools to Cancel Order, Create Streaming Session, Get Account Balances, and more
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add Tradier as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.
Ask AI about this MCP Server for LlamaIndex
The Tradier MCP Server for LlamaIndex is a standout in the Data Analytics category — giving your AI agent 13 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
mcp_tool_spec = McpToolSpec(client=mcp_client)
tools = await mcp_tool_spec.to_tool_list_async()
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt=(
"You are an assistant with access to Tradier. "
"You have 13 tools available."
),
)
response = await agent.run(
"What tools are available in Tradier?"
)
print(response)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Tradier MCP Server
Connect your Tradier brokerage account to any AI agent to streamline your trading workflow and market analysis through natural conversation.
LlamaIndex agents combine Tradier tool responses with indexed documents for comprehensive, grounded answers. Connect 13 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
What you can do
- Market Data — Get real-time quotes via
get_quotes, detailed option chains withget_option_chains, and historical price bars usingget_historical_data. - Account Management — Check balances with
get_account_balances, view current holdings viaget_account_positions, and review transaction history withget_account_history. - Order Execution — Place, monitor, and cancel equity or option orders using
place_order,get_order_status, andcancel_orderdirectly through natural language. - Market Insights — Search for symbols using
search_symbolsand check the market calendar for trading hours and holidays withget_market_calendar.
The Tradier MCP Server exposes 13 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 13 Tradier tools available for LlamaIndex
When LlamaIndex connects to Tradier through Vinkius, your AI agent gets direct access to every tool listed below — spanning trading-api, market-data, equities, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Cancel order on Tradier
Cancel a pending order
Create streaming session on Tradier
Create a session to receive a streaming session ID
Get account balances on Tradier
Get balances and buying power for a specific account
Get account history on Tradier
Review trading history and account activity
Get account positions on Tradier
View current holdings in an account
Get historical data on Tradier
Get historical price bars (daily, weekly, monthly)
Get market calendar on Tradier
Get market hours and holidays
Get option chains on Tradier
Retrieve option chains for a specific underlying symbol
Get order status on Tradier
Check the status of a specific order
Get quotes on Tradier
Fetch real-time or delayed quotes for one or more symbols
Get user profile on Tradier
Retrieve the user profile and linked accounts
Place order on Tradier
Execute equity or option trades
Search symbols on Tradier
Search for symbols by keyword or description
Connect Tradier to LlamaIndex via MCP
Follow these steps to wire Tradier into LlamaIndex. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install llama-index-tools-mcp llama-index-llms-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use LlamaIndex with the Tradier MCP Server
LlamaIndex provides unique advantages when paired with Tradier through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine Tradier tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain Tradier tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query Tradier, a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what Tradier tools were called, what data was returned, and how it influenced the final answer
Tradier + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the Tradier MCP Server delivers measurable value.
Hybrid search: combine Tradier real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query Tradier to augment indexed data with live information before generating user-facing responses
Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying Tradier for fresh data
Analytical workflows: chain Tradier queries with LlamaIndex's data connectors to build multi-source analytical reports
Example Prompts for Tradier in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with Tradier immediately.
"What is the current price and daily change for TSLA and MSFT?"
"Show me all open positions in my account 12345678."
"Get the option chain for NVDA expiring on 2025-01-17."
Troubleshooting Tradier MCP Server with LlamaIndex
Common issues when connecting Tradier to LlamaIndex through Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpTradier + LlamaIndex FAQ
Common questions about integrating Tradier MCP Server with LlamaIndex.
How does LlamaIndex connect to MCP servers?
Can I combine MCP tools with vector stores?
Does LlamaIndex support async MCP calls?
Explore More MCP Servers
View all →
ClickFunnels
8 toolsManage sales funnels and contacts via ClickFunnels 2.0 — track performance, monitor leads, and manage orders directly from any AI agent.

OneSignal
10 toolsAutomate push notifications via OneSignal — send messages, manage segments, and track delivery stats directly from any AI agent.

Odoo eCommerce
6 toolsList shop products, manage eCommerce orders, browse categories and customers — Odoo Website & eCommerce through natural conversation.

Insomnia (Collaborative API Design)
10 toolsManage API designs and collections via Insomnia — list organizations, projects, and files, and audit API specs.
