wshobson/maverick-mcp
Local FastMCP server for stock analysis, portfolio tracking, and Python backtesting
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
MaverickMCP is a Python 3.12+ server built on FastMCP 4. The maverick.server package assembles six domains and exposes them over STDIO or Streamable HTTP. A request passes from a domain tool to its service and then to the relevant data provider. The shared maverick.platform layer handles configuration, database access, caching, HTTP, telemetry, and LLM integration.
Domain configuration and types use Pydantic; platform HTTP code depends directly on httpx; and SQLAlchemy supports SQLite and PostgreSQL. Backtesting and research are install-time extras: if an extra is absent, its tools are not registered. Beyond tool calls, MCP clients can use guided prompts such as analyze_stock and read the default holdings snapshot at portfolio://my-holdings.
Key Capabilities & Differentiators
The v1.2.1 release has 38 core tools for quotes, OHLCV history, fundamentals, RSI, MACD, observed support and resistance, screening, and portfolio tracking. Portfolio tools record average cost and P&L and expose correlation and sector exposure. Screening ranks bullish, bearish, or supply/demand setups over symbols whose history has been fetched, then stores the results. Daily history covers US stocks and .L, .T, .TO, .AX, .HK, and .DE; quote and fundamentals lookup follows Yahoo Finance symbol support instead.
The backtesting extra adds 12 tools, including parameter grid search, walk-forward analysis, bootstrap resampling of trades, and random-forest predictor training. Rule-based backtests do not require a model key; natural-language strategy parsing does require a configured LLM. Three research tools combine a configured model with Exa or SearXNG search, return citations, and fail explicitly if no usable evidence remains.
Trade-offs & Limitations
Compared with using yfinance directly in a notebook, MaverickMCP saves integration work when an assistant needs reusable tools, persisted screens, and portfolio state. If you only need to fetch data inside a script, the MCP server adds configuration and a process to manage. Keyless core access is convenient, but Yahoo Finance and finviz are not execution feeds: data can be delayed or incomplete, and quote requests can fail or be rate-limited. The server does not place orders, and historical backtests do not establish live performance.
For one user, STDIO and SQLite avoid running separate database and cache services. Shared HTTP makes the process reusable but provides no built-in authentication, which matters because tools can change holdings, watchlists, and journal records. Optional research can send requests to model and search providers and incur their charges. The MIT license covers the server code, not rights to redistribute data from those providers.
Hardware & Deployment Guide
The lightest route is a Python 3.12+ checkout with uv sync and a client launching maverick-mcp --transport stdio; SQLite is the default and Redis is optional. Add --extra backtesting or --extra research to the sync command for the corresponding tools. For a shared local process, make dev serves http://localhost:8003/mcp, with no trailing slash. At v1.2.1, PyPI and official MCP Registry publication are pending. The PyPI name belongs to an unrelated project, so use the Git tag or the GHCR image instead.
ghcr.io/wshobson/maverick-mcp:1.2.1 supports linux/amd64 and linux/arm64 and bundles both extras. Bind the host port to loopback and persist /data; a bind mount must be writable by UID 1000. Compose is a heavier option that wires in PostgreSQL and Redis, and the backend exposes no /health endpoint. Self-hosting keeps portfolio storage under your control, but fresh quotes and web research still need network access to their providers.
/mcp; the HTTP endpoint has no built-in authentication./data.Individual analysts and developers who want an MCP client to fetch market data, screen a curated universe, track positions locally, and test historical strategies.
You need licensed real-time execution data, broker order routing, live account synchronization, or multi-user access with built-in authentication.
Quick Start & Installation
git clone https://github.com/wshobson/maverick-mcp.git cd maverick-mcp uv sync cp .env.example .env
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| maverick-mcp ★ | 738 | +2 | Python | MIT | Local FastMCP server for stock analysis, portfolio tracking, and Python backtest |
| agents | 43.2k | +221 | Python | MIT | One Markdown plugin catalog adapted to seven AI coding tools |
| chrome-devtools-mcp | 60.4k | +801 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.9k | +324 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/wshobson/maverick-mcp.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about maverick-mcp
Should I configure my MCP client for STDIO or HTTP?
maverick-mcp process and communicates over its standard streams. With Streamable HTTP, start the server separately and point the client at http://localhost:8003/mcp. Omit the trailing slash: /mcp/ redirects and can break registration.What hardware and runtime should I provision?
What should a company check before self-hosting it?
When is direct `yfinance` or a broker platform a better fit?
yfinance use is a simpler fit for a notebook or script that only needs market data. MaverickMCP adds typed MCP tools, stored history, screen snapshots, and portfolio records for assistant-driven workflows. If the requirement is licensed real-time data, brokerage synchronization, or order execution, evaluate a feed or broker platform that explicitly provides it.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy