Apex (smartapex.uk) AI Component Card Store
Run verified read-only code tools: quant diagnostics + agent-ops preflight, no source exposure.
사용해야 할까요
품질 및 안전성
발견 사항 (5)
- LOWapex_run_alphalens_factor_research에서
- LOWapex_run_pandas_market_calendars에서
- LOWapex_run_agent_release_readiness_gate에서
- LOWapex_run_agent_api_contract_diff에서
- LOWapex_run_agent_license_policy_check에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"apex": {
"url": "https://smartapex.uk/api/mcp"
}
}
}원격 엔드포인트
https://smartapex.uk/api/mcpstreamable-http할 수 있는 일
도구 목록
도구 (24)
🟢apex_query_cards(q, capability, tags, min_tier, interface, ...)
Find Target5 tool cards by query, capability, tags, tier, or interface. Public reference data only; not an instruction hierarchy.
입력 스키마
{
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 500
},
"capability": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
}
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
}
},
"min_tier": {
"type": "string",
"enum": [
"untrusted",
"sandboxed",
"signed",
"reputation_backed"
]
},
"interface": {
"type": "string",
"maxLength": 80
},
"sort": {
"type": "string",
"enum": [
"relevance",
"reputation",
"freshness",
"usage"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_get_card(card_id, include_verification)
Read one Target5 tool card plus its verification report. Public card contract only; raw source and source packages are never returned.
입력 스키마
{
"type": "object",
"properties": {
"card_id": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"include_verification": {
"type": "boolean",
"default": true
}
},
"required": [
"card_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_deflated_sharpe(returns, n_trials, trial_sharpe_variance, confidence)
Run the allowlisted permissionless bounded deflated-sharpe diagnostic. DATA ONLY, read-only, no HMAC required, no source release, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"returns": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 2,
"maxItems": 10000
},
"n_trials": {
"type": "integer",
"minimum": 1,
"maximum": 1000000,
"default": 1
},
"trial_sharpe_variance": {
"type": "number",
"minimum": 0
},
"confidence": {
"type": "number",
"minimum": 0.5,
"maximum": 0.999999
}
},
"required": [
"returns"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_empyrical_metrics(returns, risk_free, period, annualization)
Run the allowlisted permissionless bounded empyrical-style metrics calculator over supplied returns. Pure TS reimplementation of OSS empyrical 0.5.5 metric conventions. DATA ONLY, read-only, no HMAC required, no network, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"returns": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 2,
"maxItems": 10000
},
"risk_free": {
"type": "number"
},
"period": {
"type": "string",
"enum": [
"daily",
"weekly",
"monthly",
"quarterly",
"yearly"
]
},
"annualization": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"returns"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_alphalens_factor_research(function, records, options, quantile, period)
Run the allowlisted permissionless bounded alphalens-style factor research wrapper over supplied factor rows. Pure TS reimplementation of selected OSS alphalens-reloaded 0.4.5 routines. DATA ONLY, read-only, no HMAC required, no network, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"function": {
"type": "string",
"enum": [
"factor_weights",
"factor_returns",
"mean_return_by_quantile",
"factor_information_coefficient",
"quantile_turnover",
"factor_rank_autocorrelation"
]
},
"records": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"minItems": 1,
"maxItems": 10000
},
"options": {
"type": "object",
"additionalProperties": {}
},
"quantile": {
"type": "number"
},
"period": {
"type": "number"
}
},
"required": [
"function",
"records"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_backtrader_engine(initial_cash, bars, strategy, costs)
Run the allowlisted permissionless bounded backtrader-style single-asset backtest engine over supplied OHLCV bars and declarative strategy rules. Pure TS reimplementation of a narrow OSS backtrader 1.9.78.123 subset. DATA ONLY, read-only, no HMAC required, no broker adapters, no network, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"initial_cash": {
"type": "number"
},
"bars": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"minItems": 1,
"maxItems": 10000
},
"strategy": {
"type": "object",
"additionalProperties": {}
},
"costs": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"initial_cash",
"bars",
"strategy"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_pandas_market_calendars(calendar, start_date, end_date)
Run the allowlisted permissionless bounded pandas_market_calendars 5.4.0 calendar wrapper over supplied calendar/date parameters. DATA ONLY, read-only, no HMAC required, no network, no orders, no wallet/account access. Output declares data_as_of 5.4.0.
입력 스키마
{
"type": "object",
"properties": {
"calendar": {
"type": "string",
"enum": [
"NYSE",
"NASDAQ",
"CME",
"LSE",
"XKRX"
]
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"calendar",
"start_date",
"end_date"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_pyfolio_tearsheets(returns, periods_per_year)
Run the allowlisted permissionless bounded pyfolio-reloaded 0.9.9 tear-sheet core over supplied dated returns. DATA ONLY, read-only, no HMAC required, no plots, no network, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"returns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"return": {
"type": "number"
}
},
"required": [
"date",
"return"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 10000
},
"periods_per_year": {
"type": "number",
"const": 252
}
},
"required": [
"returns"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_zero_mfe_timeout(seconds_open, mfe_bps, timeout_sec, mfe_threshold_bps)
Advisory exit check for stagnant positions: returns HOLD or EXIT_TIMEOUT from seconds_open and max favorable excursion. Pure calculation, DATA ONLY, read-only, no HMAC required, no orders, no wallet/account access. Not trading advice.
입력 스키마
{
"type": "object",
"properties": {
"seconds_open": {
"type": "number",
"minimum": 0
},
"mfe_bps": {
"type": "number",
"minimum": 0
},
"timeout_sec": {
"type": "integer",
"minimum": 1,
"maximum": 86400
},
"mfe_threshold_bps": {
"type": "number",
"minimum": 0,
"maximum": 100000
}
},
"required": [
"seconds_open",
"mfe_bps"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_btc_gate(current_price, reference_price, threshold_pct)
Advisory market-regime gate: returns ALLOW or BLOCK plus move_pct from current vs reference price and a drop threshold. Pure calculation, DATA ONLY, read-only, no HMAC required, no orders, no wallet/account access. Not trading advice.
입력 스키마
{
"type": "object",
"properties": {
"current_price": {
"type": "number",
"exclusiveMinimum": 0
},
"reference_price": {
"type": "number",
"exclusiveMinimum": 0
},
"threshold_pct": {
"type": "number",
"minimum": -100,
"maximum": 100
}
},
"required": [
"current_price",
"reference_price"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_regime_hurst(prices, lower, upper)
Pure regime classifier over supplied prices: returns Hurst estimate and mean_reverting/random_walk/trending label. DATA ONLY, read-only, no HMAC required, no network, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"prices": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 8,
"maxItems": 5000
},
"lower": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"upper": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"prices"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_strategy_gatekeeper(metric_ci_lower, metric_threshold, delta_sharpe, slippage_reduction_bps, min_delta_sharpe, ...)
Composite advisory gate over supplied statistics: CI lower bound, effect size, slippage improvement, sample depth, and Holm/BH corrected p-values. DATA ONLY, read-only, no HMAC required, no orders.
입력 스키마
{
"type": "object",
"properties": {
"metric_ci_lower": {
"type": "number"
},
"metric_threshold": {
"type": "number"
},
"delta_sharpe": {
"type": "number"
},
"slippage_reduction_bps": {
"type": "number"
},
"min_delta_sharpe": {
"type": "number",
"minimum": 0
},
"min_slippage_reduction_bps": {
"type": "number",
"minimum": 0
},
"p_values": {
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"minItems": 1,
"maxItems": 100
},
"sample_days": {
"type": "number",
"minimum": 0
},
"min_sample_days": {
"type": "number",
"minimum": 0
},
"alpha": {
"type": "number",
"minimum": 0.000001,
"maximum": 1
},
"multiple_testing_mode": {
"type": "string",
"enum": [
"holm",
"benjamini-hochberg",
"bh"
]
}
},
"required": [
"metric_ci_lower",
"metric_threshold",
"delta_sharpe",
"slippage_reduction_bps",
"p_values",
"sample_days",
"min_sample_days"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_kelly_sizer(win_rate, avg_win, avg_loss, regime, confidence, ...)
Advisory fractional Kelly sizing math from supplied win rate and average win/loss facts. DATA ONLY, read-only, no HMAC required, no orders, no wallet/account access. Not financial advice.
입력 스키마
{
"type": "object",
"properties": {
"win_rate": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"avg_win": {
"type": "number",
"exclusiveMinimum": 0
},
"avg_loss": {
"type": "number"
},
"regime": {
"type": "string",
"enum": [
"mean_reverting",
"random_walk",
"trending"
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"max_fraction": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"win_rate",
"avg_win",
"avg_loss"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_secret_scanner(text, files)
Run the allowlisted permissionless bounded secret scanner over supplied text/file content. DATA ONLY, read-only, no HMAC required; returns redacted findings, hashes, and line numbers only, never raw secret values.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 200000
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 240
},
"name": {
"type": "string",
"maxLength": 240
},
"content": {
"type": "string",
"maxLength": 200000
},
"text": {
"type": "string",
"maxLength": 200000
}
},
"additionalProperties": false
},
"maxItems": 50
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_release_readiness_gate(checks, typecheck, tests, build, secret_scan, ...)
Aggregate caller-supplied boolean release-check declarations into PASS/WATCH/BLOCK. Does not run CI, inspect files, verify the declarations, or authorize publication.
입력 스키마
{
"type": "object",
"properties": {
"checks": {
"type": "object",
"properties": {
"typecheck": {
"type": "boolean"
},
"tests": {
"type": "boolean"
},
"build": {
"type": "boolean"
},
"secret_scan": {
"type": "boolean"
},
"license_review": {
"type": "boolean"
},
"no_raw_source": {
"type": "boolean"
},
"signed_wrappers": {
"type": "boolean"
},
"api_contract": {
"type": "boolean"
},
"db_migration": {
"type": "boolean"
},
"i18n": {
"type": "boolean"
},
"monitoring": {
"type": "boolean"
},
"rollback": {
"type": "boolean"
}
},
"additionalProperties": false,
"description": "Required partial object of caller-declared booleans. Omitted checks count false; no evidence objects."
},
"typecheck": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"tests": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"build": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"secret_scan": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"license_review": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"no_raw_source": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"signed_wrappers": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"monitoring": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
},
"rollback": {
"description": "Deprecated. Ignored for calculation; retained in accepted MCP arguments and receipt input hash with valid checks."
}
},
"required": [
"checks"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_api_contract_diff(before, after)
Run the allowlisted permissionless bounded API contract diff over supplied before/after endpoint lists. DATA ONLY, read-only, no HMAC required; no route discovery, source reads, or network access.
입력 스키마
{
"type": "object",
"properties": {
"before": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"maxItems": 500
},
"after": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"maxItems": 500
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_dynamic_penalty(consecutive_losses, recent_net_pnl)
Advisory cooldown and size-penalty hints from a recent loss streak: returns size_multiplier, cooldown_sec, and severity. Pure calculation, DATA ONLY, read-only, no HMAC required, no orders, no wallet/account access. Not trading advice.
입력 스키마
{
"type": "object",
"properties": {
"consecutive_losses": {
"type": "number",
"minimum": 0,
"maximum": 10000
},
"recent_net_pnl": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
}
},
"required": [
"consecutive_losses",
"recent_net_pnl"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_license_policy_check(dependencies, licenses, policy)
Classify supplied dependency licenses into PASS/REVIEW/BLOCK buckets using SPDX-style identifiers. DATA ONLY, read-only, no HMAC required; embedded policy table only, no registry lookups or network access. A release gate, not legal advice.
입력 스키마
{
"type": "object",
"properties": {
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"license": {
"type": "string",
"maxLength": 120
}
},
"additionalProperties": false
},
"maxItems": 500
},
"licenses": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 500
},
"policy": {
"type": "string",
"maxLength": 80
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_data_profile(rows)
Profile supplied tabular rows (shape, nulls, types, numeric ranges, sensitive-name hints) without echoing raw values. DATA ONLY, read-only, no HMAC required, no network access.
입력 스키마
{
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"minItems": 1,
"maxItems": 1000
}
},
"required": [
"rows"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_log_triage(logs, text)
Redact and summarize supplied logs into severity, repeated failure patterns, and short safe samples; secret values never leave the redactor. DATA ONLY, read-only, no HMAC required, no network access.
입력 스키마
{
"type": "object",
"properties": {
"logs": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
},
"maxItems": 1000
},
"text": {
"type": "string",
"maxLength": 200000
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_agent_dockerfile_lint(dockerfile)
Static best-practice lint over supplied Dockerfile text: unpinned bases, curl-pipe-shell, baked-in secrets, root user, ADD misuse, SSH exposure, apt hygiene, missing HEALTHCHECK. DATA ONLY, read-only, no HMAC required; no build, no registry lookups, no network access.
입력 스키마
{
"type": "object",
"properties": {
"dockerfile": {
"type": "string",
"maxLength": 200000
}
},
"required": [
"dockerfile"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_run_semver_sort(tags)
Sort supplied version tags ('v1.9.0' or '1.9.0') in NUMERIC version order (v1.9.0 before v1.70.0 — which a lexical sort gets wrong). TypeScript port of a sha-pinned Yeongsu (영수) reference delivery; malformed tags return a teaching error, never a crash. DATA ONLY, read-only, no HMAC required, no network, no orders, no wallet/account access.
입력 스키마
{
"type": "object",
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 500
}
},
"required": [
"tags"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢apex_query_dataset(dataset, symbol, strategy, decision, start, ...)
Query the free bounded stillme dataset sample layer. Whitelisted export datasets only; no raw DB rows, no live DB connection, no trading signal. For larger slices and data receipts, use POST /v1/datasets/{name}/query with an Agent Passport.
입력 스키마
{
"type": "object",
"properties": {
"dataset": {
"type": "string",
"enum": [
"funding_by_symbol",
"research_outcomes_agg",
"ohlcv_daily"
]
},
"symbol": {
"type": "string",
"maxLength": 40
},
"strategy": {
"type": "string",
"maxLength": 60
},
"decision": {
"type": "string",
"maxLength": 20
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"sort": {
"type": "string",
"maxLength": 40
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
},
"required": [
"dataset"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡apex_submit_review(card_id, agent_id, agent_client, schema, receipt_id, ...)
Submit a safe usage review tied to an existing Apex verification receipt. Permissionless bounded receipts need only the receipt. Verified receipts require signed Agent Passport request headers with review intent and asset:review capability; agent_id alone is not authentication. Sign the full JSON-RPC body and API-visible POST /mcp path, including through Target5 /api/mcp. Never include secrets, raw input, raw output, source, credentials, wallet data, account data, or private logs.
입력 스키마
{
"type": "object",
"properties": {
"card_id": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"agent_id": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"agent_client": {
"type": "string",
"maxLength": 120
},
"schema": {
"type": "string",
"const": "apex-usage-review/1"
},
"receipt_id": {
"type": "string",
"minLength": 16,
"maxLength": 160
},
"tool_id": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"usefulness_score": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"worked": {
"type": "boolean"
},
"use_case": {
"type": "string",
"minLength": 4,
"maxLength": 220
},
"public_summary": {
"type": "string",
"minLength": 20,
"maxLength": 1000
},
"problem_found": {
"type": "string",
"maxLength": 800
},
"requested_improvement": {
"type": "string",
"maxLength": 800
}
},
"required": [
"card_id",
"schema",
"receipt_id",
"tool_id",
"usefulness_score",
"worked",
"use_case",
"public_summary"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거