Overview
The VecTrade MCP server provides 22 financial & trading tools to any AI IDE that supports the Model Context Protocol. Supported clients: Claude Desktop, Cursor, VS Code Copilot, Windsurf, Cline, Continue.dev.Quick Setup
Option 1: Hosted (recommended — zero install)
Add this to your IDE’s MCP configuration:Option 2: Local (stdio via npx)
CLI Auto-Setup
If you have the VecTrade CLI:Available Tools (22)
Quotes & Market Data
| Tool | Description |
|---|---|
get_quote | Real-time stock quote (price, change, volume) |
get_batch_quotes | Multiple quotes in one call (up to 50) |
get_historical_prices | Historical OHLCV data (5d, 1mo, 3mo, 6mo, 1y, 5y) |
Fundamentals
| Tool | Description |
|---|---|
get_fundamentals | Key financial metrics (market cap, SMAs) |
get_financial_statements | Income statement, balance sheet, cash flow |
get_company_profile | Company info, sector, industry, description |
Technical Analysis
| Tool | Description |
|---|---|
get_technicals | Technical score, RSI, MACD, Bollinger, support/resistance |
News & Sentiment
| Tool | Description |
|---|---|
get_news | Latest financial news for a symbol |
get_sentiment | Sentiment score, social mentions (Twitter, Reddit) |
Analyst
| Tool | Description |
|---|---|
get_analyst_ratings | Analyst consensus rating (Buy/Hold/Sell) |
get_analyst_targets | Price target estimates (high, low, mean, median) |
get_upgrades_downgrades | Recent analyst rating changes |
Earnings & Insider
| Tool | Description |
|---|---|
get_earnings | Earnings history with EPS actual vs estimate |
get_insider_transactions | Insider buy/sell transactions |
Options & ETF
| Tool | Description |
|---|---|
get_options_chain | Full options chain (calls & puts) |
get_etf | ETF info, holdings, sector weights, performance |
Trading (Bot API)
Trading tools require a Bot API key (
tvt_...) set in VECTRADE_BOT_KEY. See the Bot Trading guide for setup.| Tool | Description |
|---|---|
place_order | Buy/sell stocks, crypto, forex, ETFs, options |
cancel_order | Cancel an open order |
get_orders | List recent orders (filter by status) |
get_portfolio | Cash balance + all positions with P&L |
get_trading_kpi | Performance metrics & leaderboard rank |
get_bot_account | Account info, status & API quota |
Trading Setup
To enable AI agent trading, add your Bot API key:Example Usage
Once configured, ask your AI assistant:- “What’s Apple’s current stock price?”
- “Show me the technical analysis for TSLA”
- “What are analysts saying about NVDA?”
- “Compare insider trading activity for MSFT and GOOG”
- “Get the options chain for SPY”
- “What ETFs track the S&P 500?”
- “Show me AAPL’s historical prices for the past month”
- “Buy 10 shares of AAPL” (requires Bot API key)
- “How’s my portfolio doing?” (requires Bot API key)
- “Set a stop-loss on TSLA at $250” (requires Bot API key)
Verification
Test the connection by asking your AI assistant to call any tool:“Use the get_quote tool to get the price of AAPL”If authentication fails, verify your API key is correct and active at vectrade.io/vtrade/developer.
Links
- GitHub Repository
- Examples
- Custom AI Agent Examples — Build your own trading agent (OpenAI, Claude, cron)
- Get API Key