Skip to main content

VecTrade MCP Integration Kit

CI License

Zero-config setup for VecTrade financial tools in AI IDEs.

27 financial tools available in Claude Desktop, Cursor, VS Code Copilot, Windsurf, Cline, and any MCP-compatible client.

Installation

pip install vectrade-mcp

Or with uvx:

uvx vectrade-mcp-setup

To use the unified CLI directly after install:

vectrade mcp setup claude-code
vectrade mcp doctor

For development:

pip install -r requirements.txt

Quick Setup (60 seconds)

Option 1: Interactive Setup

python -m vectrade_mcp.setup_wizard
# or, if installed:
vectrade-mcp-setup

Option 2: Manual Configuration

Copy the appropriate config for your IDE:

IDE Config File Status
Claude Desktop configs/claude-desktop.json
Cursor configs/cursor.json
VS Code (Copilot) configs/vscode.json
Windsurf configs/windsurf.json
Cline configs/cline.json
Continue.dev configs/continue-dev.json

Option 3: CLI Auto-Setup

vectrade mcp setup cursor
vectrade mcp setup claude-code
vectrade mcp setup vscode

Compatibility aliases also work:

vectrade mcp setup claude
vectrade setup claude-code

What You Get

Once configured, your AI assistant can:

  • "What's AAPL trading at?" → Real-time quotes
  • "Analyze NVDA before earnings" → AI-powered analysis
  • "Find undervalued large caps with dividend > 3%" → Stock screening
  • "Show me the AAPL options chain" → Options data
  • "Compare MSFT vs GOOGL fundamentals" → Side-by-side comparison
  • "Buy 10 shares of AAPL" → AI agent trading (Bot API)
  • "How's my portfolio doing?" → Portfolio & KPI tracking

See TOOLS.md for the full list of available tools.

AI Agent Trading (NEW)

Give your AI assistant a trading account! With a Bot API key (tvt_...), Claude/GPT can autonomously place orders, manage portfolios, and compete on the leaderboard.

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

Trading tools: place_order, cancel_order, get_orders, get_portfolio, get_trading_kpi, get_bot_account

See guides/bot-trading for full docs.

Verify Connection

export VECTRADE_API_KEY=vq_live_...
vectrade mcp doctor

Legacy verification command is still available:

python -m vectrade_mcp.verify
vectrade-mcp-verify
vectrade-mcp-doctor

Development

pip install -r requirements.txt
pytest --cov=vectrade_mcp --cov-report=term-missing
ruff check .

See CONTRIBUTING.md for details.

Requirements

  • Node.js 18+ (for npx execution)
  • VecTrade API key (get one free)

Hosted MCP (Zero Install)

Use VecTrade's hosted MCP server — no local setup needed. Just add the remote URL to your IDE config:

Streamable HTTP (recommended):

{
  "mcpServers": {
    "vectrade": {
      "url": "https://mcp.vectrade.io/mcp",
      "headers": {
        "X-API-Key": "vq_live_..."
      }
    }
  }
}

Legacy SSE:

{
  "mcpServers": {
    "vectrade": {
      "url": "https://mcp.vectrade.io/sse",
      "headers": {
        "X-API-Key": "vq_live_..."
      }
    }
  }
}

The hosted server uses the same API key authentication and plan limits as the REST API.

Self-Hosting

To run the MCP server on your own infrastructure:

# Build and run
npm run build
PORT=3200 VECTRADE_API_KEY=vq_live_... npm start         # Streamable HTTP
PORT=3200 VECTRADE_API_KEY=vq_live_... npm run start:sse  # Legacy SSE

# Docker
docker build -t vectrade-mcp .
docker run -p 3200:3200 -e VECTRADE_API_KEY=vq_live_... vectrade-mcp

Documentation

Full docs at docs.vectrade.io/mcp.

Operational and policy docs in this repo:

Community

  • 💬 Discord — Get help, share prompts, discuss MCP workflows
  • 📖 MCP Directory — Discover other MCP servers
  • 🐍 finkit — Open-source indicators library (no API key needed)
  • ⭐ Star this repo to help others find it!

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vectrade_mcp-1.1.0.tar.gz (103.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vectrade_mcp-1.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file vectrade_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: vectrade_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 103.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vectrade_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 03e25301e793af50b1538fa842d5d56a6da9b46fce06b6083bd67dd5b33783b5
MD5 c50e7fa5faa6f22220d743eba34207c4
BLAKE2b-256 655e95d68c06f7aa9aa7035465ee7913634f29119ea57be126e93df55ad2ea24

See more details on using hashes here.

Provenance

The following attestation bundles were made for vectrade_mcp-1.1.0.tar.gz:

Publisher: publish.yml on VecTrade-io/vectrade-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vectrade_mcp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: vectrade_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vectrade_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce9fcc569811f5bd5621576aa4741ab25d03a37362b5c6c1e85b9f09f016947
MD5 2b5010f27e7f7c846bcece82c88e74c5
BLAKE2b-256 48c367e3a7d25aa5d96ca29fabd39b8958f36738074df65cce66fb558dc8d51f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vectrade_mcp-1.1.0-py3-none-any.whl:

Publisher: publish.yml on VecTrade-io/vectrade-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page