Skip to main content

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

Add this to your IDE’s MCP configuration:
{
  "mcpServers": {
    "vectrade": {
      "url": "https://mcp.vectrade.io/sse",
      "headers": {
        "X-API-Key": "vq_your_key_here"
      }
    }
  }
}

Option 2: Local (stdio via npx)

{
  "mcpServers": {
    "vectrade": {
      "command": "npx",
      "args": ["-y", "@vectrade/mcp-server"],
      "env": {
        "VECTRADE_API_KEY": "vq_your_key_here"
      }
    }
  }
}

CLI Auto-Setup

If you have the VecTrade CLI:
vectrade mcp setup cursor
vectrade mcp setup claude
vectrade mcp setup vscode

Available Tools (22)

Quotes & Market Data

ToolDescription
get_quoteReal-time stock quote (price, change, volume)
get_batch_quotesMultiple quotes in one call (up to 50)
get_historical_pricesHistorical OHLCV data (5d, 1mo, 3mo, 6mo, 1y, 5y)

Fundamentals

ToolDescription
get_fundamentalsKey financial metrics (market cap, SMAs)
get_financial_statementsIncome statement, balance sheet, cash flow
get_company_profileCompany info, sector, industry, description

Technical Analysis

ToolDescription
get_technicalsTechnical score, RSI, MACD, Bollinger, support/resistance

News & Sentiment

ToolDescription
get_newsLatest financial news for a symbol
get_sentimentSentiment score, social mentions (Twitter, Reddit)

Analyst

ToolDescription
get_analyst_ratingsAnalyst consensus rating (Buy/Hold/Sell)
get_analyst_targetsPrice target estimates (high, low, mean, median)
get_upgrades_downgradesRecent analyst rating changes

Earnings & Insider

ToolDescription
get_earningsEarnings history with EPS actual vs estimate
get_insider_transactionsInsider buy/sell transactions

Options & ETF

ToolDescription
get_options_chainFull options chain (calls & puts)
get_etfETF 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.
ToolDescription
place_orderBuy/sell stocks, crypto, forex, ETFs, options
cancel_orderCancel an open order
get_ordersList recent orders (filter by status)
get_portfolioCash balance + all positions with P&L
get_trading_kpiPerformance metrics & leaderboard rank
get_bot_accountAccount info, status & API quota

Trading Setup

To enable AI agent trading, add your Bot API key:
{
  "mcpServers": {
    "vectrade": {
      "command": "npx",
      "args": ["-y", "@vectrade/mcp-server"],
      "env": {
        "VECTRADE_API_KEY": "vq_your_key_here",
        "VECTRADE_BOT_KEY": "tvt_your_bot_key"
      }
    }
  }
}
Create a Bot API key at vectrade.io/vtrade/developer → Bot API Keys section.

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.