APEX Research MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@APEX Research MCP Serverbacktest ORB on AAPL with 10 bps cost"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
APEX Research — MCP Server (FastMCP)
A Model Context Protocol server that exposes a quantitative trading-research toolkit as tools an LLM/agent can call. Built in Python with FastMCP.
Each tool is a plain typed Python function; FastMCP turns its type hints + docstring into the JSON schema the model sees. Tools run real computation over real market datasets.
Tools
Tool | What it does |
| Report which market datasets + live forward-test logs are available |
| Backtest the opening-range-breakout rule on M15 data; returns expectancy (R), win rate, profit factor, max drawdown |
| Summarise a live forward-test log (n, expectancy, win rate) |
| Search already-rejected hypotheses so an agent doesn't re-test a dead idea |
Related MCP server: Vintage
Run it
pip install fastmcp pandas numpy
python mcp_server/apex_mcp.py # starts the MCP server (stdio transport)Test it (no external client needed)
python mcp_server/test_apex_mcp.py # in-memory FastMCP Client calls every toolConnect it to an MCP client (e.g. Claude Desktop)
Add to the client's MCP config:
{
"mcpServers": {
"apex-research": {
"command": "python",
"args": ["C:\\Users\\user\\Desktop\\Apex\\mcp_server\\apex_mcp.py"]
}
}
}Then the model can call, e.g. "backtest the ORB rule on DAX" and it invokes run_orb_backtest.
What this demonstrates
Building MCP servers in Python with FastMCP (typed tools, auto-generated schemas)
Clean tool design: clear contracts, input validation, graceful errors
Local testing of an MCP server with an in-memory client
Real backend/data work (pandas/numpy over multi-year market data)
Built by M. Junaid Shahid.
This server cannot be deployed
Maintenance
Related MCP Connectors
Research-only MCP server: your AI as a quant research desk. 90 tools, no trades, no brokers.
Create and manage trading strategies, bots, webhooks and signals from any MCP client.
Production MCP server for US equity and options intelligence: real-time IV radar, Monte Carlo simulation, options pressure, strategy backtesting, AI prediction, pre-trade risk analysis, and automated stock research reports.
Quant intelligence over MCP: backtest, signals, screens, scores & portfolios for US & TSX stocks.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI-driven quant research by exposing backtesting, portfolio optimization, and performance analytics tools through MCP, allowing iterative strategy refinement with built-in overfitting guardrails.MIT
- AlicenseAqualityAmaintenanceProvides point-in-time financial data access and an honest backtesting engine via MCP, enabling users to research restated fundamentals, run backtests with deflated Sharpe metrics, and benchmark returns against published factors.81MIT
- AlicenseNot gradedqualityAmaintenanceQuantitative research, backtesting, creator-marketplace subscriptions, editable strategy forks, continuous copy trading, and controlled brokerage execution through 125 MCP tools.904 npm10MIT
- AlicenseBqualityBmaintenanceQuantitative research MCP server that lets AI define strategies and uses MetaTrader 5's official Strategy Tester to execute backtests, managing experiments and results via tools like run_backtest, get_run, and compare_runs.18MIT