Back to Home
locupleto icon

mcp-strategy-research-db

by locupleto

Overview

Provides Claude Code access to a SQLite database for analyzing trading strategy backtest results across various market periods and benchmarks.

Installation

Run Command
/Volumes/Work/development/projects/git/mcp-strategy-research-db/venv/bin/python3 /Volumes/Work/development/projects/git/mcp-strategy-research-db/strategy_research_mcp_server.py

Environment Variables

  • STRATEGY_DB_PATH

Security Notes

The `run_custom_query` tool is highly vulnerable to SQL injection. It directly executes user-provided SQL queries (restricted to SELECT and PRAGMA) without proper parameterization. While it attempts to forbid write/destructive operations, a malicious user could craft complex SELECT queries to exfiltrate sensitive data from other tables, or perform resource-intensive queries leading to denial of service. The `STRATEGY_DB_PATH` is an environment variable, but its value is trusted during server startup. No hardcoded secrets were found. Other tools correctly use parameterized queries.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens4000
Stars0
Forks0
Last Update2025-12-13

Tags

Financial TradingData AnalysisSQLiteStrategy BacktestingMCP Server