经 AI Skill Hub 精选评估,开源MCP工具:MaverickMCP 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
MaverickMCP - Personal Stock Analysis MCP Server,帮助个人进行股票分析。
开源MCP工具:MaverickMCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MaverickMCP - Personal Stock Analysis MCP Server,帮助个人进行股票分析。
开源MCP工具:MaverickMCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/wshobson/maverick-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp---maverickmcp": {
"command": "npx",
"args": ["-y", "maverick-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具:MaverickMCP 执行以下任务... Claude: [自动调用 开源MCP工具:MaverickMCP MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp___maverickmcp": {
"command": "npx",
"args": ["-y", "maverick-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
MaverickMCP is a personal-use FastMCP 2.0 server that provides professional-grade financial data analysis, technical indicators, and portfolio optimization tools directly to your Claude Desktop interface. Built for individual traders and investors, it offers comprehensive stock analysis capabilities without any authentication or billing complexity.
The server comes pre-seeded with all 520 S&P 500 stocks and provides advanced screening recommendations across multiple strategies. It runs locally with HTTP/SSE/STDIO transport options for seamless integration with Claude Desktop and other MCP clients.
1. Basic Research with Timeout Protection
"Research the current state of the AI semiconductor industry and identify the top 3 investment opportunities"
- Tests: Basic research, adaptive timeouts, industry analysis
2. Comprehensive Company Research with Parallel Agents
"Provide comprehensive research on NVDA including fundamental analysis, technical indicators, competitive positioning, and market sentiment using multiple research approaches"
- Tests: Parallel orchestration, multi-agent coordination, company research
3. Cost-Optimized Quick Research
"Give me a quick overview of AAPL's recent earnings and stock performance"
- Tests: Intelligent model selection, cost optimization, quick analysis
8. Sentiment Analysis with Content Filtering
"Analyze market sentiment for Bitcoin and cryptocurrency stocks over the past week, filtering for high-credibility sources only"
- Tests: Sentiment analysis, content filtering, source credibility
9. Timeout Stress Test
"Research the entire S&P 500 technology sector companies and rank them by growth potential"
- Tests: Timeout management, large-scale analysis, performance under load
10. Multi-Modal Research Integration
"Research AMD using technical analysis, then find recent news about their AI chips, analyze competitor Intel's position, and provide a comprehensive investment thesis with risk assessment"
- Tests: All research modes, integration, synthesis, risk assessment
@quick_cache decorator for instant re-runsTA-Lib is required for technical analysis calculations.
macOS and Linux (Homebrew):
brew install ta-lib
Windows (Multiple Options):
Option 1: Conda/Anaconda (Recommended - Easiest)
conda install -c conda-forge ta-lib
Option 2: Pre-compiled Wheels 1. Download the appropriate wheel for your Python version from: - cgohlke/talib-build releases - Choose the file matching your Python version (e.g., TA_Lib-0.4.28-cp312-cp312-win_amd64.whl for Python 3.12 64-bit) 2. Install using pip:
pip install path/to/downloaded/TA_Lib-X.X.X-cpXXX-cpXXX-win_amd64.whl
Option 3: Alternative Pre-compiled Package
pip install TA-Lib-Precompiled
Option 4: Build from Source (Advanced) If other methods fail, you can build from source: 1. Install Microsoft C++ Build Tools 2. Download and extract ta-lib C library to C:\ta-lib 3. Build using Visual Studio tools 4. Run pip install ta-lib
Verification: Test your installation:
python -c "import talib; print(talib.__version__)"
```bash
uv sync
```bash
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .
uvx ty check . # Run ty directly without installing ```
For containerized deployment:
```bash
docker build -t maverick_mcp . docker run -p 8003:8003 --env-file .env maverick_mcp
docker-compose up -d ```
Note: The Dockerfile uses uv for fast dependency installation and smaller image sizes.
Once connected to Claude Desktop, you can use natural language to run backtests:
"Run a backtest on AAPL using the momentum strategy for the last 6 months"
"Compare the performance of mean reversion vs trend following strategies on SPY"
"Optimize the RSI strategy parameters for TSLA with walk-forward analysis"
"Show me the Sharpe ratio and maximum drawdown for a portfolio of tech stocks using the adaptive ML strategy"
"Generate a detailed backtest report for the ensemble strategy on the S&P 500 sectors"
"Show me the RSI and MACD analysis for NVDA"
"Identify support and resistance levels for MSFT"
"Get full technical analysis for the top 5 momentum stocks"
"Add 10 shares of AAPL I bought at $150.50"
"Show me my portfolio with current prices"
"Compare my portfolio holdings" # No tickers needed!
"Analyze correlation in my portfolio" # Auto-detects your positions
"Remove 5 shares of MSFT"
"Optimize a portfolio of AAPL, GOOGL, MSFT, and AMZN for maximum Sharpe ratio"
"Calculate the correlation matrix for my tech portfolio"
"Analyze the risk-adjusted returns for energy sector stocks"
Test the comprehensive research capabilities and parallel processing improvements with these examples:
cp .env.example .env
cp .env.example .env
Configure MaverickMCP via .env file or environment variables:
Essential Settings:
REDIS_HOST, REDIS_PORT - Redis cache (optional, defaults to localhost:6379)DATABASE_URL - PostgreSQL connection or sqlite:///maverick_mcp.db for SQLite (default)LOG_LEVEL - Logging verbosity (INFO, DEBUG, ERROR)Required API Keys:
TIINGO_API_KEY - Stock data provider (free tier available at tiingo.com)Optional API Keys:
OPENROUTER_API_KEY - Strongly Recommended for Research: Access to 400+ AI models with intelligent cost optimization (40-60% cost savings)EXA_API_KEY - Recommended for Research: Web search capabilities for comprehensive researchOPENAI_API_KEY - Direct OpenAI access (fallback)ANTHROPIC_API_KEY - Direct Anthropic access (fallback)FRED_API_KEY - Federal Reserve economic dataTAVILY_API_KEY - Alternative web search providerADANOS_API_KEY - Optional Adanos Market Sentiment API access for stock sentiment from Reddit, X / FinTwit, News, and Polymarket (docs)ADANOS_API_BASE_URL - Optional Adanos API base URL override; defaults to https://api.adanos.orgWhen configured, use the data_get_adanos_market_sentiment MCP tool for ticker-level sentiment (ticker="AAPL") or market-wide sentiment (ticker=null). Optional sources values are reddit, x, news, and polymarket.
Performance:
CACHE_ENABLED=true - Enable Redis cachingCACHE_TTL_SECONDS=3600 - Cache durationcp .env.example .env
```
uv run python tools/hot_reload.py - Auto-restart on changes./tools/fast_dev.sh - < 3 second startupuv run python tools/quick_test.py --test stock - Test specific featurestools/experiments/ for auto-execution
#### Option 2: Using pip (Traditional)
bash
```
make dev # Start everything
make stop # Stop services
make tail-log # Follow server logs
make test # Run tests quickly
make experiment # Test custom analysis scripts
pip install uv ```
./scripts/start-backend.sh --dev # Script-based startup ./tools/fast_dev.sh # Ultra-fast startup (< 3 seconds) uv run python tools/hot_reload.py # Auto-restart on file changes
pytest # Unit tests only pytest --cov=maverick_mcp # With coverage pytest -m "" # All tests (requires PostgreSQL/Redis) ```
ruff check . # Linting ruff format . # Formatting ty check . # Type checking
MaverickMCP 是一个专为个人股票分析设计的 MCP (Model Context Protocol) Server。它通过集成先进的金融数据处理能力,为 AI 助手提供强大的股票研究支持,帮助用户在 AI 辅助的环境下进行深度市场洞察与投资决策。
本项目具备强大的金融分析能力:内置预设的 S&P 500 股票数据库及筛选建议;集成基于 VectorBT 的高级 Backtesting 引擎,支持 15 种以上内置策��与 ML 算法;提供实时与历史股票数据访问及智能缓存机制;同时具备快速开发特性,支持热重载、并行处理及智能错误处理。
运行本项目需要 Python 3.12+ 环境。强烈建议使用现代 Python 包管理器 uv 进行依赖管理。此外,系统需安装 TA-Lib 用于技术指标计算;若需增强缓存性能,可配置 Redis;数据库支持 PostgreSQL 或默认的 SQLite。
推荐使用 uv 进行安装,这是最快且最现代化的方式。您可以通过 `uv sync` 同步环境,或使用 `uvx` 直接运行无需安装。传统方式也支持使用 pip 进行安装,通过 `pip install -e .` 在虚拟环境中进行开发模式部署。
连接至 Claude Desktop 后,您可以通过自然语言直接驱动复杂的金融分析任务。例如,您可以要求 Claude 对特定股票进行基本面与技术面结合的综合研究,或者使用自然语言指令运行 Backtesting,对比不同策略(如均值回归与趋势跟踪)在特定标的上的表现及 Sharpe ratio。
项目通过 `.env` 文件或环境变量进行配置。核心配置项包括用于缓存的 `REDIS_HOST` 与 `REDIS_PORT`,以及用于存储数据的 `DATABASE_URL`(支持 PostgreSQL 或 SQLite)。此外,您还可以通过 `LOG_LEVEL` 调整日志详细程度,并确保配置好必要的 API 密钥。
本项目提供 HTTP 端点 `http://localhost:8003/mcp/` 用于 MCP 通信。此外,为了获取高质量的实时与历史股票数据,用户需要前往 tiingo.com 获取并配置 Tiingo API key,以确保数据源的稳定性与准确性。
项目提供了高效的开发工作流,通过 Makefile 简化了日常操作。开发者可以使用 `make dev` 一键启动所有服务,使用 `make stop` 停止服务,通过 `make tail-log` 实时追踪服务器日志,并利用 `make test` 或 `make experiment` 进行快速测试与自定义分析脚本验证。
在遇到问题时,请优先检查环境配置与 API 密钥的有效性。本项目提供了完善的日志系统与错误处理机制,通过查看日志可以快速定位是数据源问题、数据库连接问题还是计算引擎的逻辑问题。
MaverickMCP是一个开源的MCP工具,基于Python开发,帮助个人进行股票分析。虽然其功能还不够完善,但其开源性和社区支持值得肯定。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:开源MCP工具:MaverickMCP 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | maverick-mcp |
| 原始描述 | 开源MCP工具:MaverickMCP - Personal Stock Analysis MCP Server。⭐562 · Python |
| Topics | mcpanthropicartificial-intelligenceclaudeequitiesfastmcppython |
| GitHub | https://github.com/wshobson/maverick-mcp |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-25 · 更新时间:2026-05-26 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端