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.

Metadata

Release files for vectrade-mcp 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vectrade-mcp 1.1.0
File Size Uploaded Provenance Actions
vectrade_mcp-1.1.0.tar.gz 103.8 kB With provenance Details for vectrade_mcp-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vectrade-mcp 1.1.0
File Interpreter ABI Platform Actions
vectrade_mcp-1.1.0-py3-none-any.whl Python 3 none any Details for vectrade_mcp-1.1.0-py3-none-any.whl

Total release size: 114.8 kB

Release files / vectrade_mcp-1.1.0.tar.gz

Download URL vectrade_mcp-1.1.0.tar.gz
Size 103.8 kB
Tags Source
SHA-256 checksum
How to use checksums
03e25301e793af50b1538fa842d5d56a6da9b46fce06b6083bd67dd5b33783b5
BLAKE2b-256 checksum
How to use checksums
655e95d68c06f7aa9aa7035465ee7913634f29119ea57be126e93df55ad2ea24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

Release files / vectrade_mcp-1.1.0-py3-none-any.whl

Download URL vectrade_mcp-1.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ce9fcc569811f5bd5621576aa4741ab25d03a37362b5c6c1e85b9f09f016947
BLAKE2b-256 checksum
How to use checksums
48c367e3a7d25aa5d96ca29fabd39b8958f36738074df65cce66fb558dc8d51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

Security for vectrade-mcp 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vectrade_mcp-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files Full provenance

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