ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Quant Research MCP

โดย FlawlessByteรุ่น 0.1.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.FlawlessByte/quant-research-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Paper-backed quant trading methods and a deterministic, no-LLM decision helper for serious traders.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "quant-research": {
      "command": "uvx",
      "args": [
        "quant-research-mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add quant-research -- uvx quant-research-mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "quant-research": {
      "command": "uvx",
      "args": [
        "quant-research-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "quant-research": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "quant-research-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub FlawlessByte ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7249 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 16% ของอีก 7249 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7249 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Quant Research MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

quant_research_mcp

An MCP server exposing a registry of paper-backed quantitative trading methods plus a deterministic, no-LLM decision helper. The server supplies reproducible math (screening, indicators, regime detection, method signals, scored entry decisions); the calling agent supplies judgement (e.g. reading headlines into a sentiment signal). No claude -p, no subprocess, no LLM inside the server.

⚠️ Not financial advice. This is read-only **research and educational

tooling. It performs quantitative computation only and places no orders**.

Nothing it outputs is investment advice or a recommendation. Market data may be

delayed or wrong, backtests are not forecasts, and trading carries substantial

risk of loss. You alone are responsible for any capital you risk. Provided

"as is" without warranty — see LICENSE.

Why this exists

Repackages a working day-trading pipeline as composable MCP tools, with two goals:

  1. Extensible to future papers. Each strategy is a TradingMethod registered in a registry. Adding a new paper = drop one module, call register(...), import it. Nothing else changes.
  2. Decision-making is scientific, not generative. The old pipeline gated entries with an LLM call. Here that is replaced by quant_score_decision — a pure function combining reward:risk, regime strength, volume, RSI positioning and ATR-normalised stop quality into an auditable score. Same inputs → same output.

Tools (13)

ToolNetworkPurpose
quant_list_methodsnoList registered methods (key, paper, timeframe, regimes).
quant_describe_methodnoFull detail + citation for one method.
quant_screen_universeyesRank tickers by gap / rel-volume / ATR%.
quant_compute_indicatorsyesEMA9/20, RSI, ATR, VWAP, Hurst for a ticker.
quant_detect_regimeyesHurst → TRENDING / MEAN_REVERTING / RANDOM_WALK.
quant_analyze_setupyesRun a per-ticker method → signal + entry/stop/target (+ HTF context).
quant_analyze_universeyesRun a universe method: momentum ranking, pairs spread.
quant_backtest_methodyesValidate a method: replay its own analyze() over history → win rate, expectancy, drawdown, IS/OOS halves.
quant_check_eventsyesNext earnings (+days), ex-dividend — binary-event risk.
quant_portfolio_riskyesStateless heat / correlation / concentration check + candidate verdict.
quant_market_contextyesSPY/QQQ/IWM, VIX, 11 sectors ranked, risk-on/off breadth.
quant_score_decisionnoDecision helper: setup (+ sentiment, earnings, heat) → score, verdict, size, timeframe-aware execution plan. Deterministic.
quant_fetch_newsyesRecent headlines (data only; agent forms sentiment).

All tools are read-only and support response_format: markdown | json.

Workflows

Day trade

quant_market_context                  # tape read: risk-on/off, sectors

→ quant_screen_universe # find movers → quant_analyze_setup # hurst_regime_orb on the top name → quant_check_events + quant_fetch_news # binary risk + agent sentiment → quant_portfolio_risk # heat/correlation vs your open book → quant_score_decision(setup, news_sentiment, days_to_earnings, portfolio_heat_pct)

Swing (days) — rsi2_reversion, pairs_cointegration via quant_analyze_setup / quant_analyze_universe; earnings veto matters most here (quant_check_events → days_to_earnings).

Position (weeks+) — donchian_trend per ticker, xs_momentum over the universe; re-rank monthly, weekly stop review per the execution plan.

Before trusting any method: quant_backtest_method on your tickers and period — it replays the method's own signal logic with costs, and reports in-sample vs out-of-sample halves so you can see decay.

The agent writes any narrative; the server guarantees the numbers.

The decision helper (quant_score_decision)

Pure function. Composite score (weights in config.DECISION_WEIGHTS):

  • reward_risk — realised R:R vs the target multiple.
  • regime_strength — |Hurst − 0.5| scaled (distance from random walk).
  • volume_confirmation — relative volume vs the floor.
  • momentum_position — RSI in a healthy band for the direction (not exhausted).
  • stop_quality — stop distance normalised by daily ATR (noise-tight stops penalised).

Optional news_sentiment (the agent derives this) boosts an aligned score or vetoes a contradicted one at confidence ≥ 0.5. Output includes the per-factor breakdown, fixed-fractional position_size (with a haircut for noise-tight stops), and a mechanically derived execution_plan (entry trigger, order type, stop ladder, profit taking, time stop, abort conditions).

Bundled methods (5)

KeyTimeframePaper
hurst_regime_orbintradayarXiv:2205.11122 — Hurst regime → ORB / VWAP fade
rsi2_reversionswingConnors & Alvarez 2009 — RSI(2) pullback above the 200d SMA
pairs_cointegrationswingGatev et al. 2006 — Engle-Granger spread z-score
donchian_trendpositionFaith, Turtle Rules; Moskowitz et al. 2012 — 55d breakout, 20d/ATR trail
xs_momentumpositionJegadeesh & Titman 1993 — 12-1 cross-sectional momentum, top-N book

Data providers

Default is yfinance (free, ~15-min delayed). The data layer sits behind a provider interface (quant_research_mcp/providers/): implement the DataProvider protocol for Alpaca/Polygon/IBKR, register the factory, then run with QUANT_DATA_PROVIDER= . All calls are TTL-cached in-process (daily 15 min, intraday 60 s, news 5 min, events/sector 1 h).

Adding a future paper

# quant_research_mcp/methods/my_paper.py

from . import register from .base import TradingMethod, TradeSetup

def analyze(daily, session, context) -> TradeSetup: ... # compute signal, entry, stop, target

register(TradingMethod( key="my_paper_method", name="My Method", paper="Author et al., Title", paper_url="https://arxiv.org/abs/...", regime_applicability="TRENDING", description="One paragraph on the mechanics.", analyze=analyze, ))

Then add from . import my_paper to methods/__init__.py. It now appears in quant_list_methods and is runnable via quant_analyze_setup(method_key=...).

Quick start (Makefile)

make install      # create venv + install deps (uv sync)

make smoke # import server, list the 13 tools (no network) make run # run the server over stdio make help # list every target

Install as a shell binary
make install-cli              # installs `quant-research-mcp` onto your PATH (uv tool)

quant-research-mcp # runs the server over stdio from anywhere

If the command isn't found after install, run uv tool update-shell and restart your shell (uv's tool bin dir, usually ~/.local/bin, must be on PATH).

TargetWhat it does
make installuv sync — venv + dependencies
make install-cliinstall the quant-research-mcp binary onto your PATH
make uninstall-cliremove the binary
make devinstall + ruff for linting
make runrun the MCP server (stdio)
make smokeimport + list tools, no network
make testrun the pytest suite (no network)
make inspectlaunch the MCP Inspector
make checktests + lint + assert no LLM/subprocess calls
make registerprint the stdio client-config JSON
make claude-addregister the local clone with Claude Code (user scope)
make claude-removeremove from Claude Code
make buildbuild sdist + wheel into dist/
make docker-buildbuild the Docker image locally
make mcpbpack a Claude Desktop .mcpb bundle
make cleandrop caches, venv and build artifacts

Install

Every method runs the same stdio server — pick whichever fits your setup.

MethodCommandNeeds
uvx from GitHub (no clone)uvx --from git+https://github.com/FlawlessByte/quant-research-mcp quant-research-mcpuv
PyPIuvx quant-research-mcp · pipx install quant-research-mcpuv / pipx
Dockerdocker run -i --rm ghcr.io/flawlessbyte/quant-research-mcpDocker
From sourcegit clone … && cd quant-research-mcp && make installgit + uv
Claude Desktopinstall the .mcpb from the latest releaseClaude Desktop

PyPI and Docker images are published on tagged releases; until the first

release, use the uvx from GitHub or from source rows.

Use with Claude Code

Fastest — runs straight from GitHub, no clone:

claude mcp add quant_research -- \

uvx --from git+https://github.com/FlawlessByte/quant-research-mcp quant-research-mcp

After a PyPI release this shortens to:

claude mcp add quant_research -- uvx quant-research-mcp

Containerised:

claude mcp add quant_research -- docker run -i --rm ghcr.io/flawlessbyte/quant-research-mcp

From a local clone (development): make claude-add registers this checkout at user scope; make register prints a paste-ready .mcp.json block.

Verify inside Claude Code:

/mcp                       # should list 'quant_research' as connected

Then ask e.g. *"screen the universe and analyze the top name with the hurst method, then score the entry decision."* It will call quant_screen_universe → quant_analyze_setup → quant_score_decision.

From source (development)

git clone https://github.com/FlawlessByte/quant-research-mcp

cd quant-research-mcp make install # uv sync — venv + dependencies make smoke # list the 13 tools (no network) make test # 40 offline tests

Optional: make install-cli puts a quant-research-mcp binary on your PATH (via uv tool). If it isn't found afterwards, run uv tool update-shell and restart your shell. Inspect tool schemas with make inspect.

Releasing (maintainers)

CI runs ruff + the 40 offline tests on every push/PR (Python 3.12 & 3.13). Cutting a release is tag-driven:

# bump version in pyproject.toml + server.json + manifest.json, commit, then:

git tag v0.1.0 && git push origin v0.1.0

That fires two workflows:

  • `release.yml` → uv build, publish to PyPI via Trusted Publishing (OIDC, no stored token), and attach the wheel/sdist + a .mcpb bundle to the GitHub Release.
  • `docker.yml` → build and push ghcr.io/flawlessbyte/quant-research-mcp.

One-time setup:

  1. PyPI: create the project and add a Trusted Publisher (owner FlawlessByte, repo quant-research-mcp, workflow release.yml, environment pypi).
  2. GHCR: after the first push, set the package visibility to public.
  3. MCP registry: after the first PyPI release, list it with the mcp-publisher CLI — mcp-publisher login github then mcp-publisher publish (uses server.json; GitHub login proves ownership of

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx