Quant Context MCP Server

QuantContext is an MCP server that turns plain-English strategy descriptions into executable quant research: screen stocks by any criteria, backtest over historical data, and run factor analysis to see where the returns come from. Every number is computed from real market data, not generated by an LLM. Results are fully reproducible. Its 3 documented tools cluster into screen, backtest, factor.

People connecting finance tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-07-01 · ★ 9 · #163 OF 283 MAINTAINED FINANCE · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Quant Context

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add zomma-dev-quantcontext-mcp-server -- uvx quantcontext-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "zomma-dev-quantcontext-mcp-server": {
      "command": "uvx",
      "args": [
        "quantcontext-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package quantcontext-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.zomma-dev is GitHub-verified and matches the repo owner

03 · What Quant Context can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

An agent gets 3 documented tools across screen, backtest, factor, including screen_stocks, backtest_strategy, factor_analysis.

The 3 tools it gives your agent

Extracted from the project's README - what QuantContext lets an agent do.

screen_stocks
- Filter S&P 500, Nasdaq 100, or Russell 2000 by fundamentals, momentum, quality, technical signals, or a multi-factor blend. Returns ranked candidates.
backtest_strategy
- Test a strategy over history with a rebalance-loop engine. Returns CAGR, Sharpe, max drawdown, equity curve, and trade log.
factor_analysis
- Decompose strategy returns into Fama-French factors (market, size, value, momentum). Returns alpha with t-statistic, factor loadings, and R-squared.

04 · Who maintains Quant Context

QuantContext is maintained by zomma-dev. It's the only MCP server we track from this author; the repo dates to Mar 2026.

05 · Facts

category
finance - ranked #163 of 283 actively-maintained finance servers as of 2026-08-25.
registry
io.github.zomma-dev/quantcontext (active, first published 2026-03-08)
packages
pypi:quantcontext-mcp

06 · Quant Context FAQ

Is Quant Context still maintained?

Yes - as of 2026-08-25, its last commit was 2026-07-01. We re-verify nightly.

What can Quant Context do?

An agent gets 3 documented tools across screen, backtest, factor, including screen_stocks, backtest_strategy, factor_analysis.

How do I install Quant Context?

Run `uvx quantcontext-mcp`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Quant Context run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Quant Context