1. Conduid
  2. RAG
  3. Edge Stats
MCP server · RAG

Edge Stats

The open source trading statistics engine. Ask P(outcome | conditions) over your own bars: gap fills, ORB, initial balance, prior levels, seasonality, and anything you can compose. Sample sizes and 95% confidence intervals on every number. Local dashboard, CLI, and MCP server. MIT, no telemetry. By LuxAlgo.

64Good

Scored 22 hours ago · breakdown

About Edge Stats

Edge Stats is an MCP server published by LuxAlgo in the RAG category: the open source trading statistics engine. Ask P(outcome | conditions) over your own bars: gap fills, ORB, initial balance, prior levels, seasonality, and anything you can compose. Sample sizes and 95% confidence intervals on every number. Local dashboard, CLI, and MCP server. MIT, no telemetry. By LuxAlgo. Conduid read 10 tools from its source: edge_export, edge_fields, edge_freshness, edge_live, edge_query, edge_report and 4 more. No package is published for it, so it installs from a source checkout.

The repository has 160 stars and 48 forks, is licensed MIT, and its last commit was on 24 Sep 2026. The latest release is hosted-store (3 Sep 2026): Rolling nightly artifact: derived session statistics for the hosted symbol list, rebuilt and replaced every night. It is the only release Conduid has on record for this repository. It passes all 5 static checks Conduid ran on the repository. Its topics include daytrade, statistics, trading-strategies and trading-strategy-simulation.

Install

From source
git clone https://github.com/LuxAlgo/edge-stats

Tools (10)

edge_exportCSV or parquet written locally, path returned
ParameterTypeDescription
filenamestringPlain filename, no directories — sanitized to [a-z0-9-_.] and always written inside <dataDir>/exports/; the extension is forced to match `format`. Omit for a generated name
formatstringOutput format (default csv)
querystringQuery DSL (same language as edge_query): export the feature rows behind it, with outcome_success/outcome_value appended. Requires `symbol`. Example: "orbBreak(15m, up) WHERE gapUp"
sessionKeystringQuery exports only: session window — default is the symbol's default
sincestringQuery exports only: ISO date lower bound
symbolstringRequired with `query`; optional filter for 'bars'/'sessions' table exports ('events' is symbol-free)
tablestringExport a whole table instead: raw bars, derived session features, or the macro-event calendar. Mutually exclusive with `query`
untilstringQuery exports only: ISO date upper bound
edge_fieldsThe registry: every outcome, predicate, and field, with definitions
ParameterTypeDescription
kindstringLimit to one kind; default all
edge_freshnessConfigured symbols, last bar per symbol, calendar versions
edge_liveLive Board state: forming, active, and resolved setups
edge_queryAny composed P(outcome given conditions), in the full envelope
ParameterTypeDescription
astanyThe JSON AST form (see edge_fields for names; the envelope echoes the AST it ran)
dslstringQuery DSL: '<outcome> [WHERE <conditions>]'. Conditions compose with AND/OR/NOT, comparisons (=, !=, >, >=, <, <=), BETWEEN, IN. Units: 0.5% (percent), 15m/1h (duration). Example: "orbBreak(15m, up) WHERE gapUp AND NOT eventDay('CPI')"
forcebooleanReturn the estimate even below the refuse floor (guards still flag it)
groupBystringGroup by a groupable field ('dayOfWeek', 'gapBucket', 'month', …) — one envelope per group
sessionKeystringSession window: 'rth', 'globex', a custom key — default is the symbol's default
sessionsLimitnumberHow many matching session refs to return (default 25)
sincestringISO date lower bound, e.g. 2019-01-01
symbol *stringConfigured symbol, e.g. 'NQ' — see edge_freshness for the list
untilstringISO date upper bound
edge_reportA preset from the catalog, with parameters
ParameterTypeDescription
forcebooleanReturn the estimate even below the refuse floor (guards still flag it)
groupBystringOverride the preset's default grouping with any groupable field from edge_fields
paramsobjectPreset params by name, e.g. {"minGapPct": 0.3, "dir": "down"} — names, types, enum values, and defaults come from edge_reports_list; omitted params fall back to their defaults
preset *stringPreset id from edge_reports_list, e.g. 'gap-fill' or 'orb'
sessionKeystringSession window: 'rth', 'globex', a custom key — default is the symbol's default
sessionsLimitnumberHow many matching session refs to return (default 25)
sincestringISO date lower bound, e.g. 2019-01-01
symbol *stringConfigured symbol, e.g. 'NQ' — see edge_freshness for the list
untilstringISO date upper bound
edge_reports_listThe catalog, with parameter specs
ParameterTypeDescription
categorystringOnly presets in this category, e.g. 'gaps' — the result's `categories` lists what the folder currently holds
edge_session_barsOne session's bars with the levels the engine derived for it
ParameterTypeDescription
contextBarsnumberPre-session context bars to include before the open (default 30, max ${SESSION_BARS_MAX_CONTEXT}, 0 for none)
sessionId *stringA session id from edge_query / edge_report `sessions[].sessionId`, e.g. 'DEMO_STK|rth|2024-12-27'
edge_sessionsThe historical sessions behind a result
ParameterTypeDescription
ids *arraySession ids from a query result's `sessions[].sessionId`
edge_tradesWhich trade tags your imported trades produced, and how to query them

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.8K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
  • ✓No dynamic code executionScanned 82 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdio and Streamable HTTPpackages/mcp/src/index.ts:7, packages/mcp/src/http.ts:8
Starts other programs
2 callspackages/core/src/live/sinks.ts:77, packages/core/src/live/sinks.ts:84
Outbound network calls
3 callspackages/core/src/adapters/shared.ts:47, packages/core/src/live/sinks.ts:58, packages/web/src/lib/api.ts:92
Writes or deletes files
No file writes or deletes
Lockfile
pnpm-lock.yaml

Pattern matches on the source text of 82 files: places to read, not proof of what the code does at run time.

Releases

hosted-storeHosted derived store (nightly) · 3 Sep 2026Rolling nightly artifact: derived session statistics for the hosted symbol list, rebuilt and replaced every night. No raw vendor bars are published. See docs/hosted-store.md for what each asset contains.

README

The repository's README runs to about 1.8K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Edge Stats

How do I install Edge Stats?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Edge Stats safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 82 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (2 calls) and makes outbound network calls (3 calls). Its dependencies are pinned by pnpm-lock.yaml. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Edge Stats still maintained?

Yes — the latest release is hosted-store (3 Sep 2026), and the last commit was 2 months ago. The repository has 160 stars and 1 open issues.

What tools does Edge Stats provide?

Conduid read 10 tools from the source: edge_export, edge_fields, edge_freshness, edge_live, edge_query, edge_report, edge_reports_list, edge_session_bars and 2 more. 7 of them publish their parameters, listed under Tools above.

What license is Edge Stats released under?

The repository declares the MIT license. That applies to the latest release, hosted-store, as well.