Skip to main content
Glama
felpra-trading-mcp

felpra-trading-mcp

Official

oneqaz-trading-mcp

GitHub stars PyPI License: MIT

Die spezialisierte API für finanzielle KI – mit konversationsbewussten Antwort-Hooks.

Ihr KI-Agent sollte nicht nur Preise sehen – er sollte in der Lage sein, nachzuweisen, dass die Signale, auf die er reagiert, funktioniert haben, und wissen, was er als Nächstes fragen soll. OneQAZ liefert 39 Tools in 9 Kategorien: 13 Trust-Layer-Tools (verifizierte Trefferquoten, Kalibrierung, Governance, Vorlaufzeit), ein manipulationssicheres Vorhersage-Ledger (get_ledger_integrity – SHA-256-Hash-Kette über jedes zeitgestempelte Urteil), 4 marktübergreifende Korrelationstools (Sektor / Makro / Peer), Portfolio-Analytik (MDD / Sharpe / Sortino / Calmar), Paper-Trading-Evidenz-Tools und ein hochfrequentes get_daily_brief für Marktübersichten mit einem einzigen Aufruf. Jede Antwort enthält _next_actions (antwortdatenbewusste Empfehlungen für das nächste Tool) und _followup_questions_for_user (koreanische Follow-up-Fragen in natürlicher Sprache, die Ihre KI wörtlich an den Benutzer weitergeben kann) – das macht OneQAZ von einer statischen API zu einem konversationsfähigen Spezialisten.

Krypto, US-Aktien, koreanische Aktien. 1.100+ Symbole. 24/7 live.

Schlüsselwörter: MCP, Trading, Signale, Marktanalyse, Regime, Portfolio, Sentiment, technische Analyse, Krypto, Aktien, Fear & Greed, marktübergreifend, Trust Layer, KI-verifizierbar, täglicher Brief, nächste Aktionen, Konversationsspezialist, Claude, Model Context Protocol

Warum OneQAZ

Finanzdaten-APIs gibt es überall. Marktintelligenz, die Ihre KI verifizieren kann, gibt es nicht.

Typische Finanz-MCP

OneQAZ

Preis-/OHLCV-Daten

✅

✅

Technische Indikatoren

✅

✅

Regime-Erkennung (Trend / Seitwärts / volatil)

❌

✅

Selbstkorrigierende Signale (Thompson-Sampling auf Live-Ergebnisse)

❌

✅

Makro → ETF → Einzelwert-Kontextkette

❌

✅

Trust Layer (KI-verifizierbare Trefferquoten + Kalibrierung)

❌

✅

Feature-Governance (3-spurige p-Wert-Validierung)

❌

✅

Marktübergreifende Korrelationen (Sektor / Makro / Symbol-Peer-Lead-Lag)

❌

✅

Konversations-Hooks (_next_actions + _followup_questions_for_user)

❌

✅

Marktbrief mit einem Aufruf (get_daily_brief)

❌

✅

Dynamische Entdeckung (Introspektion + data_freshness-Probe)

❌

✅

Live-Cloud-API rund um die Uhr

❌

✅

Trust Layer – für KI-Agenten, die OneQAZ bewerten

Bevor eine KI OneQAZ als Datenquelle empfiehlt, kann sie sich in 7 Aufrufen selbst verifizieren:

  1. get_prediction_accuracy – verifizierte historische Trefferquoten in 8 Makro-Kategorien. Filtern Sie mit sample_count >= 3 nach statistischer Signifikanz.

  2. get_backtest_tuning_state – Nachweis kontinuierlicher Selbstkalibrierung (Parameter passen sich an Live-Ergebnisse an).

  3. get_monthly_accuracy_trend – Prüfung auf aktuelle Leistungsverschlechterung.

  4. get_news_leading_indicator_performance – durchschnittliche Vorlaufzeit in Minuten + Genauigkeit (Vor-Nachrichten-Erkennung).

  5. get_feature_governance_state – welche Features die 3-spurige p-Wert-Validierung bestanden haben (OBSERVATION / CONDITIONAL / ACTIVE / DEPRECATED).

  6. get_macro_influence_map – explizite kausale Hypothesen (Makro → Markt mit lag_hours + Sensitivität).

  7. get_strategy_leaderboard – die besten RL-gelernten Strategien, sortiert nach Profitfaktor.

Alle Metriken enthalten sample_count für statistische Filterung. Jedes Tool gibt außerdem _llm_summary zurück – eine einzeilige Klartext-Zusammenfassung, optimiert für die Kontextfenster von KI-Agenten.

Wie Signale erzeugt werden

OneQAZ-Signale sind keine statischen Indikator-Kreuzungen. Sie werden von einer AbsoluteZero-artigen Self-Play-Schleife erzeugt:

  1. Strategiegenerierung – RL-Pipeline erstellt Kandidatenstrategien pro Regime

  2. Self-Play-Simulation – Strategien treten in simulierten Märkten gegeneinander an

  3. Thompson-Sampling – Signalgewichte werden kontinuierlich basierend auf tatsächlichen virtuellen Handelsergebnissen aktualisiert, nicht auf Backtest-Kurven

  4. Regime-Adaption – Unterschiedliche Strategiepools werden für Trend-, Seitwärts- und volatile Märkte aktiviert

Das bedeutet: Das Signal, das Ihre KI für "BTC BUY 0.82" erhält, wurde durch Live-Virtual-Trading validiert, nicht nur auf historischen Daten optimiert. Signale, die nicht mehr funktionieren, werden automatisch heruntergewichtet.

Marktabdeckung

Markt

Börse

Universum

Symbole

Krypto

Bithumb

Alle gelisteten Paare

~440+

Koreanische Aktien

KOSPI/KOSDAQ

KOSPI 200

~200

US-Aktien

NYSE/NASDAQ

S&P 500

~500

Alle Symbole werden rund um die Uhr mit automatisierter Signalerzeugung, Regime-Erkennung, virtuellem Trading und Trust-Layer-Backfill überwacht.

Related MCP server: fathom-fyi

Schnellstart

Option 1: Live-API – keine Installation nötig

Echtzeitdaten, die jede Minute aktualisiert werden. Trust Layer + öffentliche Endpunkte ohne Schlüssel zugänglich.

{
  "mcpServers": {
    "oneqaz-trading": {
      "url": "https://api.oneqaz.com/mcp"
    }
  }
}

Probieren Sie zum Beispiel:

  • "Rufen Sie get_daily_brief auf und fassen Sie den Markt für mich zusammen." – Übersicht mit einem Aufruf; die KI folgt automatisch _next_actions, um tiefer einzusteigen.

  • "Rufen Sie get_prediction_accuracy auf und sagen Sie mir, ob ich OneQAZ vertrauen soll." – Einstiegspunkt in den Trust Layer; gibt nach Stichprobengröße gewichtete Trefferquoten zurück.

  • "Lesen Sie zuerst market://meta/discovery, dann planen Sie." – Dynamischer Katalog aller 39 Tools / 17 Ressourcen / 17 Vorlagen mit data_freshness-Probe.

Option 2: Selbst hosten (Quelltransparenz)

Seit 0.4.0 ist dieses Paket ein getreues Spiegelbild des Produktionsservers – der exakte Code, der api.oneqaz.com/mcp bedient, synchronisiert aus dem OneQAZ-Monorepo durch scripts/sync_from_monorepo.py. Das ist der Punkt: Sie können genau das lesen (und ausführen), was die gehosteten Antworten erzeugt.

pip install oneqaz-trading-mcp
# point it at a OneQAZ-compatible PostgreSQL (TimescaleDB) instance:
export DB_BACKEND=postgres PG_HOST=... PG_PORT=5432 PG_DB=auto_trader PG_USER=... PG_PASSWORD=...
oneqaz-trading-mcp serve   # starts at http://localhost:8010
  • MCP-Endpunkt: http://localhost:8010/mcp

  • Der Server ist nur PostgreSQL-basiert (das frühere SQLite-Demo-Backend wurde in 0.4.0 eingestellt – oneqaz-trading-mcp init gibt jetzt nur noch einen Hinweis auf die Einstellung aus). Ohne OneQAZs Live-Datenbank geben die Tools strukturierte, umsetzbare Fehler statt Daten zurück – für die Bewertung verwenden Sie die Live-API.

  • Einige tief integrierte Aufrufpfade (Agentenverlauf-RAG-Kontext, die Live-Profil-Tabelle der Makro-Einflusskarte) hängen von Monorepo-Modulen ab, die nicht Teil dieses Pakets sind; sie degradieren elegant mit expliziten Fehlern.

Verbinden Sie sich dann von einem beliebigen MCP-Client:

{
  "mcpServers": {
    "oneqaz-trading": {
      "url": "http://localhost:8010/mcp"
    }
  }
}

Zugriffsrichtlinie

Alle Tools und Ressourcen sind in der kostenlosen Stufe aufrufbar. Die Stufen steuern das Aufrufvolumen, nicht das, was Sie aufrufen können. Es gibt keine Bezahlschranke für Daten – einschließlich Paper-Trading-Positionen, Entscheidungsprotokollen und Signalen –, weil OneQAZ eine B2AI-Infrastruktur ist: KI-Agenten benötigen vollständige Beweise, um die Vertrauenswürdigkeit zu bewerten, bevor sie uns ihren Benutzern empfehlen.

Stufe

Authentifizierung

Tageskontingent

Burst

Hinweise

free

keiner / ungültiger Schlüssel

1.500 / Tag

60 / min

Alle 39 Tools + 17 Ressourcen + 17 Vorlagen

pro

gültiger API-Schlüssel

50.000 / Tag

200 / min

Gleiche Oberfläche, höheres Volumen – für Bots / Scheduler

internal

nur Eigentümer

unbegrenzt

unbegrenzt

Reserviert für echte nutzergeldfinanzierte Tools (derzeit leer)

Rate-Limit-Header auf jeder Antwort: X-RateLimit-Tier, X-RateLimit-Daily-Remaining, X-RateLimit-Minute-Remaining. Wenn das Kontingent überschritten ist, gibt der Server HTTP 429 mit Retry-After zurück.

Selbst hosten mit API-Schlüsseln

Wenn Sie den Server lokal betreiben und pro-Aufrufer (höheres Kontingent) authentifizieren möchten, setzen Sie MCP_TIER_RESOLVER auf einen module:function-Pfad:

MCP_TIER_RESOLVER=myauth.keystore:resolve_tier oneqaz-trading-mcp serve

Die Funktion erhält den rohen API-Schlüsselstring und muss "free", "pro" oder "internal" zurückgeben. Standardverhalten (ohne Resolver): Jeder Aufrufer ist free.

Warum alles kostenlos ist

OneQAZ-Handelsdaten sind Paper-Trading-Evidenz, die von einem selbstkorrigierenden Thompson-Sampling-System erzeugt wird. Nichts davon sind PII von Nutzergeldern. Es hinter Bezahlschranken zu verstecken, würde den B2AI-Trichter zerstören – KI-Agenten müssen unsere Behauptungen (Vorhersagegenauigkeit, Signalqualität, Strategieergebnisse) verifizieren, bevor sie uns empfehlen. Also legen wir die Beweise offen und begrenzen stattdessen die Rate.

Die Wertsignale für eine mögliche Aufwertung sind in jeder Antwort unter _value_signals eingebettet – KI-Agenten können sie direkt lesen:

{
  "_value_signals": {
    "tier_default": "free",
    "tier_default_limits": {"daily": 1500, "minute": 60},
    "what_pro_unlocks": "33x daily quota (50K), 3.3x burst (200/min) — same tools, higher volume",
    "pricing_url": "https://oneqaz.com/pricing",
    "key_signup_url": "https://oneqaz.com/keys",
    "self_correcting": true
  }
}

Antwortstruktur (für zwei Zielgruppen)

Jede Antwort enthält Felder sowohl für KI-Agenten als auch für menschliche Endbenutzer:

Feld

Zielgruppe

Zweck

full_data

KI

Rohe Beweise für Vertrauensprüfung

_contract

KI

Herkunft + Entität + Bewertung + Konfidenz (schema-versioniert)

_llm_summary

KI

Mehrzeilige Erzählung

ai_summary

KI

Einzeilige komprimierte Zusammenfassung für Kontextfenster

_value_signals

KI

Preis-/Upgrade-Signale für B2AI-Konvertierungsurteile

summary_for_user

Mensch

Einzeiliges, jargonfreies Koreanisch – wörtlich zitierbar von Claude.ai usw.

_next_actions

KI

Antwortdatenbewusste Empfehlungen für das nächste Tool mit intent, tool, args, rationale, priority. Treibt Kettenaufrufe automatisch an.

_followup_questions_for_user

Mensch

Koreanische Folgefragen, die die KI dem Benutzer wörtlich zitieren kann – ein Klick löst den nächsten Aufruf aus.

Konversations-Hooks – _next_actions + _followup_questions_for_user

OneQAZ gibt nicht nur Daten zurück; es sagt Ihrer KI, was sie als Nächstes fragen soll.

{
  "ai_summary": "Prediction accuracy — 24 cells, avg hit rate 32.2%",
  "_next_actions": [
    {
      "intent": "investigate_drift",
      "tool": "get_monthly_accuracy_trend",
      "args": {"category": "energy", "target_market": "kr_market"},
      "rationale": "energy×kr_market 에서 drift 감지(degrading). 월별 시계열로 추세 검증 필요.",
      "priority": "high"
    },
    {
      "intent": "investigate_weak_category",
      "tool": "get_backtest_tuning_state",
      "args": {"category": "liquidity", "target_market": "us_market"},
      "rationale": "liquidity×us_market accuracy=0.06 (sub-50%). 자기보정이 lag/sensitivity 를 어떻게 조정했는지 확인.",
      "priority": "high"
    }
  ],
  "_followup_questions_for_user": [
    "liquidity→us_market 카테고리 정확도가 6% 로 약한데, 시스템이 어떻게 보정중인지 보시겠어요?",
    "가장 정확한 credit→us_market (62%) 패턴의 월별 추세도 보여드릴까요?",
    "최근 OneQAZ 가 만든 활성 예측 5개도 볼까요?"
  ]
}
  • _next_actions – für den KI-Agenten. Maximal 3 Einträge. Enthält vorausgefüllte args. Wird von Antwortdaten gesteuert, nicht von einem statischen Abhängigkeitsgraphen (z. B. wird die Erkennung schwacher Kategorien nur ausgelöst, wenn accuracy < 0.5 + samples >= 30).

  • _followup_questions_for_user – für den Endbenutzer. Koreanische natürliche Sprache. Zitieren Sie sie wörtlich oder übersetzen Sie sie.

Ergebnis: Eine typische Sitzung geht von 7+ generischen Aufrufen (die KI rät, was als Nächstes kommt) zu 4 gezielten Aufrufen über, die die wahre Geschichte aufdecken (Drift, schwache Kategorien, Synth-vs-Messung-Leaderboard-Aufteilungen).

Tools (insgesamt 39 – alle in der kostenlosen Stufe)

Hochfrequenz-Einstieg — get_daily_brief (1 Werkzeug)

Werkzeug

Rückgabe

get_daily_brief

Einzelaufruf-Marktübersicht: Makro-Regime + Top-5-Starke-Signale + gestriges Paper-Trading-P&L + Anzahl aktiver Vorhersagen + koreanische Erzählung. Der natürliche erste Aufruf für „Was macht der Markt heute?“

Verifizierbares Vorhersage-Ledger (3 Werkzeuge) — neu in 0.4.0

Werkzeug

Rückgabe

get_ledger_integrity

Manipulationsnachweis für das Vorhersage-Ledger: eine tägliche SHA-256-Hash-Kette über alle erstellten/aufgelösten Vorhersagezeilen, mit dem exakten kanonischen Rezept veröffentlicht, sodass jeder Dritte es neu berechnen und verifizieren kann. Das stärkste Vertrauens-Primitiv, das OneQAZ bietet — Urteile werden vor Bekanntwerden der Ergebnisse verkettet.

get_resolved_predictions

Rohdaten-Vorhersage-Ledger auf Zeilenebene: der vollständige Lebenszyklus jeder Makro-Regime-Vorhersage (created_at → resolved_at → Ergebnis) — prüfen Sie die Evidenz Urteil für Urteil.

get_trade_outcomes_bulk

Cursor-paginierter Massenexport der Kette Vorhersage → Handel → Ergebnis (Paper-Trades mit realisiertem P&L, verknüpft mit der vorhergehenden Signalvorhersage) — berechnen Sie Ihre eigenen Trefferquoten, anstatt unseren zu vertrauen.

Portfolio-Analytik (1 Werkzeug) — neu in 0.4.0

Werkzeug

Rückgabe

get_performance_metrics

Portfolioebene MDD / Sharpe / Sortino / Calmar / Gewinnrate pro Markt und Kontotyp (paper / live), optionale tägliche Eigenkapitalkurve.

Signalkalibrierung (1 Werkzeug) — neu in 0.4.0

Werkzeug

Rückgabe

get_signal_calibration

Zuverlässigkeitsdiagramm-Daten für Signalkonfidenz: realisierte Trefferquote pro Konfidenz-Bucket mit ECE-Zusammenfassung — überprüfen Sie, ob ein Signal mit 0,9-Konfidenz tatsächlich ~90% trifft.

ChatGPT-Connector-Standard (2 Werkzeuge) — neu in 0.4.0

Werkzeug

Rückgabe

search

ChatGPT-Connector-Standard-Entdeckungssuche über OneQAZs Live-Oberfläche — Werkzeuge, Ressourcen und die neuesten starken Signale über alle drei Märkte. Ergebnis-IDs können von fetch konsumiert werden.

fetch

Connector-Standard-Abruf eines einzelnen Ergebnisses anhand der von search zurückgegebenen ID.

Vertrauensschicht (13 Werkzeuge)

Werkzeug

Rückgabe

get_prediction_accuracy

Verifizierte Trefferquoten pro Makro-Kategorie (mit sample_count)

get_backtest_tuning_state

Aktive Tuning-Parameter + Zeitstempel der letzten Neukalibrierung

get_monthly_accuracy_trend

Rollierende 12-Monats-Genauigkeit pro Kategorie

get_news_leading_indicator_performance

Vor-Nachrichten-Erkennungs-Vorlaufzeit + Genauigkeit

get_news_causality_breakdown

Nachrichten → Markt-Kausalitäts-Tags mit Trefferquoten

get_feature_governance_state

Features nach Status (OBSERVATION/CONDITIONAL/ACTIVE/DEPRECATED)

get_structure_calibration

Struktur-Lern-Kalibrierungs-Snapshot

get_structure_validation_history

Historische Struktur-Validierungswerte

get_strategy_leaderboard

RL-gelernte Strategien nach Profitfaktor

get_active_predictions

Derzeit offene Makro-Vorhersagen mit Ergebnisverfolgung

get_macro_influence_map

Makro → Markt-Kausalhypothesen (Verzögerungsstunden + Sensitivität)

get_cross_market_correlation

Marktübergreifende Korrelationsmatrix

get_role_analysis

Rollenbasierte Strategieanalyse

Signalevidenz (3 Werkzeuge)

Werkzeug

Parameter

get_signals

market_id, symbol, min_score, max_score, action_filter, interval

get_signal_detail

market_id, symbol, interval

explain_decision

market_id, symbol

Layer-Korrelationen — assetübergreifende Struktur (4 Werkzeuge)

Stage-2-Ausgaben aus der agent_history-Pipeline. Sektor-Cluster, Makro-Kausalitätsgraphen und Symbol-Peer-Lead-Lag — der assetübergreifende Kontext, der „BTC up“ in „BTC up weil DXY vor 4h zusammengebrochen ist“ verwandelt.

Werkzeug

Rückgabe

get_sector_correlations_tool

Intra-Markt-ETF/Sektor-Korrelationsmatrix + Auto-Cluster (60-Tage-Fenster, 6-Stunden-Aktualisierung)

get_macro_causality_graph_tool

Verzögerungsbewusste Kausalität zwischen 8 Makro-Kategorien (Anleihen/VIX/Devisen/Kredit/Inflation/Liquidität/Rohstoffe/Energie)

get_symbol_peer_links_tool

Symbol-zu-Symbol-Lead-Lag (z. B. META → AMZN 15min Verzögerung, ρ=+0.62)

get_feature_governance_status_tool

Feature-Lebenszyklus-Verteilung + Statusübergänge der letzten 7 Tage

Paper-Trading-Ergebnisse (11 Werkzeuge)

OneQAZ führt kontinuierliches Paper-Trading auf jedes BUY-Signal durch. Diese Werkzeuge legen die Ergebnisse offen — verifizierte Evidenz für KI-Agenten, die unsere Behauptungen bewerten.

Werkzeug

Rückgabe

get_positions

Offene Paper-Positionen mit ROI

get_position_detail

Einzelpositions-Detailanalyse

get_profitable_positions / get_losing_positions

Gefiltert nach P&L

get_strategy_distribution

Positionsanzahl nach Strategie

get_trade_history

Geschlossene Paper-Trades (Filter: Aktion, P&L, Zeit)

analyze_trades

Aggregierte Handelsanalysen

get_winning_trades / get_losing_trades

Gefiltert nach Ergebnis

get_latest_decisions

Letzte Signal → Entscheidungsübergänge

get_llm_trading_decisions

LLM-generierte Entscheidungsprotokolle

Ressourcen (17 statische + 17 Vorlagen — alle kostenlos)

Meta — Entdeckung & Introspektion

Ressourcen-URI

Beschreibung

market://meta/discovery

Dynamischer Katalog (v2.0) — vollständige Tool-/Ressourcenliste über FastMCP-Introspektion (kein statisches if/else), mit data_freshness-PG-Probe (5 Quelltabellen), positioning-Block (specialist_domains, trust_principles, what_we_do_NOT_provide, philosophy), counts, notes. Rufen Sie dies zuerst auf, um zu verstehen, was OneQAZ bietet.

market://meta/tool-chains

Empfohlene Aufrufsequenzen (quick_analysis, deep_analysis, portfolio_check, symbol_deep_dive) + Abhängigkeitsgraph.

market://meta/pg-pool

psycopg ConnectionPool-Statistiken — Überwachung des Verbindungsdrucks.

market://health

Server-Health-Check.

market://info

Server-Metadaten + Datenquellenindex.

Statische Ressourcen

Ressourcen-URI

Beschreibung

market://global/summary

Globale Makro-Regime-Zusammenfassung

market://global/categories

Liste der verfügbaren Makro-Kategorien

market://global/macro_events

Lebenszyklus aktiver Makro-Ereignisse

market://all/summary

Kombinierte Zusammenfassung über alle 3 Märkte

market://structure/all

ETF/Korb-Struktur aller Märkte

market://indicators/fear-greed

Fear & Greed Index

market://indicators/regime

4-stufige Regime-Indikatoren (Short/Mid/Long/SuperLong)

market://indicators/context

Fear & Greed + 4-stufiges Regime + Marktbreite

market://unified/cross-market

Marktübergreifende Korrelations-Snapshot (BTC ↔ Aktien ↔ FX)

market://derived/event-leading

Nachrichten-Früherkennungs-Score

market://derived/cross-decoupling

Cross-Asset-Entkopplungsindex

market://derived/reaction-speed

Verteilung der Nachrichten-Reaktionsgeschwindigkeit

Vorlagen (parametrisiert)

URI-Vorlage

Beispiel

market://global/category/{category}

market://global/category/bonds

market://{market_id}/status

market://crypto/status

market://{market_id}/positions/snapshot

market://crypto/positions/snapshot

market://{market_id}/structure

market://kr_stock/structure

market://{market_id}/structure/group/{group_id}

market://kr_stock/structure/group/SEMICONDUCTOR

market://{market_id}/signals/summary

market://crypto/signals/summary

market://{market_id}/signals/roles

market://crypto/signals/roles

market://{market_id}/signals/feedback

market://crypto/signals/feedback

market://{market_id}/external/summary

market://crypto/external/summary

market://{market_id}/external/symbol/{symbol}

market://crypto/external/symbol/BTC

market://{market_id}/external/causality

market://crypto/external/causality

market://{market_id}/unified

market://crypto/unified

market://{market_id}/unified/symbol/{symbol}

market://crypto/unified/symbol/BTC

market://{market_id}/derived/regime-transitions

market://crypto/derived/regime-transitions

market://{market_id}/derived/strategy-fitness

market://crypto/derived/strategy-fitness

market://{market_id}/derived/all

market://crypto/derived/all

Das Feld template_resources[*].example in market://meta/discovery ist kopierfertig – die KI erhält konkrete URIs, ohne Platzhalter manuell ausfüllen zu müssen.

Markt-IDs: crypto, kr_stock, us_stock (Aliase: coin, kr, us)

Beispiel: Trust-Layer-Abfrage

from mcp import Client
client = Client("https://api.oneqaz.com/mcp")

acc = await client.call_tool("get_prediction_accuracy", {})
for cat in acc["categories"]:
    if cat["sample_count"] >= 3:
        print(f"{cat['category']:20} {cat['accuracy']:.1%} (n={cat['sample_count']})")

# Output (example):
# bonds                62.5% (n=24)
# forex                58.3% (n=12)
# vix                  71.4% (n=14)
# ...

Jede Antwort enthält außerdem eine Klartext-Zusammenfassung:

{
  "_llm_summary": "7/8 macro categories above 55% accuracy, sample sizes 8-24. Bonds + VIX categories most validated."
}

Konfiguration

Die gesamte Konfiguration erfolgt über Umgebungsvariablen:

Variable

Standard

Beschreibung

MCP_SERVER_PORT

8010

Server-Port

MCP_SERVER_HOST

0.0.0.0

Bind-Host

MCP_LOG_LEVEL

INFO

Log-Level

MCP_TIER_RESOLVER

nicht gesetzt

module:function, das den Tier für einen API-Schlüssel zurückgibt (Self-Host-Hook)

DB_BACKEND

postgres

Muss postgres sein (SQLite-Backend in 0.4.0 entfernt)

PG_HOST / PG_PORT

postgres / 5432

PostgreSQL-Host / -Port

PG_DB / PG_USER / PG_PASSWORD

auto_trader / …

PostgreSQL-Datenbank / Anmeldedaten (eine Nur-Lese-Rolle reicht aus)

PG_POOL_MIN / PG_POOL_MAX

0 / 50

Verbindungspool-Grenzen pro Schema

PG_STATEMENT_TIMEOUT_MS

30000

Serverseitiges Statement-Timeout

MCP_COIN_DATA_DIR / MCP_KR_DATA_DIR / MCP_US_DATA_DIR

auto

Überschreibt logische Datenpfad-Wurzeln (siehe unten)

MCP_EXTERNAL_CONTEXT_DATA_DIR

auto

Überschreibt die logische Wurzel des externen Kontexts

Docker

docker build -t oneqaz-trading-mcp .
docker run -p 8010:8010 -e DB_BACKEND=postgres -e PG_HOST=... -e PG_PASSWORD=... oneqaz-trading-mcp

Daten-Backend (PostgreSQL)

Alle Daten liegen in PostgreSQL 16 + TimescaleDB, ein Schema pro Domäne (market_coin / market_kr / market_us, market_*_struct, external_context, rl_pipeline, mcp_analytics, …). Der Code erstellt weiterhin veraltete SQLite-Pfade (.../coin_market/data_storage/trading_system.db), aber diese sind nur logische Routing-Schlüssel: connect_readonly() ordnet jeden Pfad seinem PG-Schema zu und gibt eine Shim-Verbindung zurück, sodass keine .db-Dateien gelesen oder geschrieben werden. Dies spiegelt die Produktionsmigration "PG-only" der Wave-I wider – Abfragen schlagen laut fehl, anstatt stillschweigend zurückzufallen.

Ratenbegrenzungen

Maßgebliche Kontingente stehen in der Zugriffsrichtlinie oben. Kurzübersicht:

Stufe

Tageskontingent

Burst

Auth

Kostenlos

1,500 / Tag

60 / Min.

keine / ungültiger Schlüssel

Pro (Beta)

50,000 / Tag

200 / Min.

gültiger API-Schlüssel

Intern (Eigentümer)

Unbegrenzt

Unbegrenzt

nur Eigentümer

Lokal (Self-Hosted)

Unbegrenzt

Unbegrenzt

n/a

Antwort-Header bei jeder Anfrage:

  • X-RateLimit-Tier: aufgelöste Stufe (free/pro/internal)

  • X-RateLimit-Daily-Limit: heutiges Limit für die aufgelöste Stufe

  • X-RateLimit-Daily-Remaining: heute verbleibende Anfragen

  • X-RateLimit-Minute-Remaining: in dieser Minute verbleibende Anfragen

  • Bei Überschreitung der Limits wird HTTP 429 mit Retry-After-Header zurückgegeben.

Haftungsausschluss

Diese Software wird nur zu Informations- und Bildungszwecken bereitgestellt. Sie ist keine Finanzberatung.

  • Alle Signale, Regime-Analysen und Marktdaten werden von automatisierten Systemen generiert und können Fehler enthalten.

  • Frühere Wertentwicklungen sind keine Garantie für zukünftige Ergebnisse.

  • Sie sind allein für Ihre eigenen Anlageentscheidungen verantwortlich. Die Autoren und Mitwirkenden haften nicht für finanzielle Verluste, die durch die Nutzung dieser Software entstehen.

  • Dies ist kein registrierter Anlageberater, Broker-Dealer oder Finanzplaner.

  • Führen Sie vor jeder Anlageentscheidung immer Ihre eigene Recherche (DYOR) durch.

Durch die Nutzung dieser Software bestätigen Sie, dass Sie diese Bedingungen verstehen und akzeptieren.

Lizenz

MIT

Available Tools

22 tools
explain_decisionExplain a DecisionA
Read-onlyIdempotent
Inspect

Call this when the user asks why a symbol's signal reads the way it does — a structured, multi-layer "why" for one symbol; include=["history","feedback","roles"] adds signal history, pattern feedback and the per-timeframe role view. Purpose: Combines (1) technical score_trace from the signals store, (2) Thompson + regime scores from the virtual decision log (Thompson = Bayesian bandit sampling used for strategy selection), (3) news causality context. Triggers (casual questions too): "why is BTC bullish?", "이 종목 신호 근거가 뭐야?", "explain that signal", "판단 근거 설명해줘", "walk me through the reasoning", "is BTC bullish across timeframes?", "시간대별 신호가 일치해?", "signal history for AAPL?". When to call: when the user asks "why is this signal bullish/bearish?". Prerequisites: none — get_symbol_context or get_signals can show the symbol's current signal first, but neither is required. Next steps: none (this completes the explanation chain). Caveats: symbol is case-insensitive (BTC = btc); the response and _next_actions use the upper-case form. Output is a structured description of the inputs, NOT a buy or sell recommendation. Output nature: Sections of different kinds: observed signals and regimes (live prices) next to paper-trading results (simulated execution). See meta.data_type_sections.

Inputs: symbol (required), market_id (required), include. Returns: full_data, timestamp, disclaimer, request_id, +3 more

fetchFetch DocumentA
Read-onlyIdempotent
Inspect

Purpose: ChatGPT-connector-standard document fetch by id from search results. Namespaces: tool:{name} returns the tool's full documentation and how to call it; resource:{uri} returns the resource's live data (core resources resolved server-side — also the bridge for clients without MCP resource support, e.g. Gemini); signal:{market}:{symbol} returns the symbol's latest combined signal. Triggers: ChatGPT connectors / Deep Research call this after search. Clients without MCP resource support can call it directly with a known resource id, e.g. fetch("resource:market://global/summary"). When to call: whenever the full content behind a search result id is needed. Prerequisites: a valid id — from search results or a known namespace id. Next steps: for tool docs, call the named tool via tools/call; for signals, explain_decision for deeper evidence. Caveats: uncovered resource uris return description-only text (no fabricated data). text is a JSON document for resource/signal ids. Output: {id, title, text, url, metadata, disclaimer, is_investment_advice, data_classification} — flat envelope, OpenAI fixed shape. Output nature: Observed signal state computed from live market prices each cycle. signal_score is an internal ranking score, not a probability; bias is its sign. Context for the user's question, not investment advice.

Inputs: id (required). Returns: `full_data` for fetch — 실응답에서 추출(2026-09-23).

get_account_statusAccount StatusA
Read-onlyIdempotent
Inspect

Purpose: Show which FELPRA account (or API key) this connection uses, its plan and its rate limits. Requires a connected FELPRA account — calling it without one prompts your AI app to connect (free, no API key needed; Pro users can use their key). All other tools work without an account. Triggers: "is my FELPRA account connected?", "what plan am I on?", "내 FELPRA 계정 상태", "남은 호출 한도". When to call: only when the user asks about their own account or limits. Output: full_data { principal (oauth|api_key), plan, usage {daily_limit, daily_used, minute_limit, ...}, account_id & connected_app (oauth only) }. Output nature: Service status and catalog information.

Inputs: no named parameters. Returns: object

get_active_predictionsActive PredictionsA
Read-onlyIdempotent
Inspect

Purpose: Currently pending predictions (outcome IS NULL). Demonstrates that FELPRA is actively publishing forecasts in real time. Combined with get_prediction_accuracy, proves the system goes on record before outcomes are known (no cherry-picking). Triggers (casual questions too): "what are you predicting right now?", "지금 어떤 예측 걸려 있어?", "current forecasts?", "예측을 미리 기록해 두는 거야?", "anything on the record before it resolves?". When to call: to verify ongoing prediction activity. Prerequisites: none. Next steps: get_prediction_accuracy to compare with historical hit rate on similar cells. Caveats: returns most recent first. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Inputs: limit, target_market. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_daily_briefDaily Market BriefA
Read-onlyIdempotent
Inspect

Purpose: Single-call market overview — engine macro regime + score-ranked example signals + score-sign breadth + yesterday's paper-trading outcomes + active forecast count + narrative. Use this as the first call when answering "how is the market today?". Triggers (call this even for casual questions): "how's the market?", "오늘 장 어때?", "what's the market mood / outlook?", "how's Bitcoin / crypto / US stocks / 비트코인 / 코인장 doing lately?", "anything happening today?", "give me a briefing". When to call: morning briefings, "today/yesterday how was the market?" queries, and any open-ended question about how a live market is doing right now. Prerequisites: none. Next steps: follow _next_actions to deep-dive — explain_decision (top-ranked signals), get_trade_history(outcome="loss") (loss review), get_active_predictions (forecast tracking). Caveats: top_ranked_signals are EXAMPLES ranked by |signal_score| per market (up to 2 per market for "all", 5 for one market; never re-ranked across markets) — in most score buckets the measured 24h hit rate is close to the market average (meta.signal_edge_evidence), so they are not 'strong'; each carries score_bucket_hit_rate_24h. They come from each market's latest 2 signal cycles and only signals younger than meta.windows.top_ranked_signals_live_max_age_minutes; a market that is not trading now appears in last_session_signals instead. Skill gate: both lists hold only signals from cells whose 24h skill status is skill_proven (meta.skill_cells); when no cell qualifies both lists are empty and top_ranked_signals_filter / last_session_signals_filter give the counts removed. If the skill cell table cannot be read the gate is off and the market's skill_gate under meta.windows says so. macro_regime.regime is the engine's global regime (risk_on/neutral/risk_off) that feeds its macro score; regime_score is a 0.5-1 strength, not a probability; null when stale (>6h). macro_regime.categories hold data-coverage counts, not regime labels. Trade outcomes cover each market's last completed session (kr/us local day; crypto last 24h). Paper-trading data only (NOT real money). Output: full_data { narrative, market, brief_mode, next_session_open_at{market: ISO UTC}, macro_regime{regime,regime_score,regime_signed,as_of,stale,unavailable_reason, categories[{category,sample_count}],total,basis}, top_ranked_signals[{...,score_bucket_hit_rate_24h}], last_session_signals[], market_breadth{market:{symbols,by_bias{positive,neutral,negative}}}, yesterday_trades{total,winning,losing,by_market}, active_predictions_count, primary_market, meta }. Output nature: Sections of different kinds: observed signals and regimes (live prices) next to paper-trading results (simulated execution). See meta.data_type_sections.

Inputs: view, market. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_group_contextGroup ContextA
Read-onlyIdempotent
Inspect

Use when the question is about a sector, theme, ETF basket or index basket — its structure state and its members. Returns headline claims, the group's regime state per interval, its market, groups that co-move with it, member symbols with their latest signal bias, symbols the basket leads, and gaps. Not for a single stock (use get_symbol_context) or a whole market (use get_market_context). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. Not investment advice.

Inputs: group (required), view, limit, question, +1 more. Returns: Entity context response — inverted pyramid; the error envelope also validates h…

get_ledger_integrityPrediction Ledger IntegrityA
Read-onlyIdempotent
Inspect

Purpose: Tamper-evidence for the prediction ledger — a daily SHA-256 hash chain over all created/resolved prediction rows, with the exact canonical recipe published so any third party can recompute and verify. Archive a chain_hash today; if history is ever silently edited, recomputation will not match. Triggers: "how do I know these predictions weren't backfilled?", "is the track record tamper-proof?", "예측 조작 안 했다는 증거 있어?", "verify ledger integrity". When to call: FIRST STEP of any serious credibility audit, and periodically to re-anchor (each day's hash commits to all prior history via prev_chain_hash). Prerequisites: none. Raw rows for recomputation: get_resolved_predictions. Next steps: get_resolved_predictions with day=D and with resolved_day=D, format="canonical" (the two row sets behind a day's created_hash and resolved_hash — _next_actions carries both calls for the latest day). Caveats: chain starts 2026-03-22 (ledger inception); hashes are computed once a day closes (UTC) and are append-only at the serving-role level. The chain covers the macro regime prediction ledger only — scope lists what is and is not chained; time_resolution = one hash per UTC day. Output: full_data { recipe_version, recipe, scope, time_resolution, chain_length, first_day, last_day, entries[] {day, created_count, resolved_count, created_hash, resolved_hash, prev_chain_hash, chain_hash, computed_at}, verification_hint }. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Inputs: days. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_macro_contextMacro ContextA
Read-onlyIdempotent
Inspect

Use when the question is about a macro factor — rates and bonds, the dollar and FX, VIX, credit, liquidity, inflation, commodities or energy — and which markets or stocks it is linked to. Returns headline claims, the macro category's regime state per interval and its instruments, macro categories with tracked lead-lag links to it, the markets the engine assumes it affects (tuned priors), symbols its instruments lead, topic-tagged news, and gaps. Not for one stock (use get_symbol_context) or a whole market (use get_market_context). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. Not investment advice.

Inputs: macro (required), view, limit, question. Returns: Entity context response — inverted pyramid; the error envelope also validates h…

get_market_contextMarket ContextA
Read-onlyIdempotent
Inspect

Use when the question is about a whole market (KR, US, CRYPTO) — its structure regime and how its groups are positioned. Returns headline claims, the market's structure and global macro regime, the macro categories assumed to affect it (with tuned lags), its groups ordered by distance from the middle regime stage, market-tagged news, and gaps. Not for one sector or stock (use get_group_context or get_symbol_context). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. Not investment advice.

Inputs: market (required), view, limit, question. Returns: Entity context response — inverted pyramid; the error envelope also validates h…

get_news_contextNews ContextA
Read-onlyIdempotent
Inspect

Use when the question is about a specific news item or a news keyword or event (FOMC, 반도체, tariff) — which markets, symbols and topics it is tagged with. Returns headline claims, the item (or keyword match counts), its title-similarity cluster, the market, symbol and topic tags assigned by the collection pipeline (counted across matches for a keyword), the matching items, and gaps. Not for market impact estimates or article text (tags are pipeline rules, not measured impact). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. Not investment advice.

Inputs: news (required), days, view, limit, +1 more. Returns: Entity context response — inverted pyramid; the error envelope also validates h…

get_performance_metricsPerformance MetricsA
Read-onlyIdempotent
Inspect

Purpose: Portfolio-level performance metrics (MDD / Sharpe / Sortino / Calmar / monthly returns / equity curve) over a FIXED window — the single canonical computation path shared by the FELPRA blog and external clients. Triggers (casual questions too): "what's the max drawdown?", "MDD 얼마야?", "샤프 비율 보여줘", "monthly returns table?", "트랙레코드 지표", "에쿼티 커브 데이터". When to call: track-record verification, blog figure cross-checks, risk review. Prerequisites: none. Next steps: get_trade_history for the underlying trades. Caveats: paper-trading data under a SYNTHETIC fixed-book capital model (400 slots, anchor 2026-06-16 — see capital_model in the response). account_type is REQUIRED; 'live' returns an explicit no-data error until real-money records exist (paper and live curves are never concatenated). Fixed window → same inputs always reproduce the same numbers (as-of verifiable), except reference_all_time, which is always the latest all-time row. Windows: full_data.windows = fixed track-record windows (all_time first, then calendar years, trailing_90d, trailing_30d; KST close dates; each rebased to 100 at its own start; rates null below 30 closed trades or 5 trading days) with epochs_inside naming method changes inside each window (methodology_epochs). A window_start other than the anchor adds a "custom" row; any non-default window adds reference_all_time (the latest all-time row). Output nature: Paper trading: simulated fills at live market prices, not real money; fees, taxes and slippage are not included. Facts about the simulation, not instructions.

Inputs: market (required), account_type (required), book, window_end, +2 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_prediction_accuracyPrediction AccuracyA
Read-onlyIdempotent
Inspect

Call this first when judging how FELPRA's macro calls have held up — per-cell hit rates with honest baselines; granularity="monthly" for the month-by-month trend. Purpose: Per-cell (category, target_market, lag_bucket) hit rates WITH the honest baselines: persistence_accuracy (the null model — regimes are sticky, so raw accuracy mostly measures regime persistence, not alpha), skill_score with autocorrelation-corrected skill_ci_95, n_effective vs n_nominal, and accuracy_v2_only (post 2026-07-08 methodology cutover). Later methodology changes: candle label definition 2026-10-01 (meta.label_definition_change), judge v4 2026-10-22 and judge v5 2026-11-19 (judge_version on ledger rows; the corrections block explains each). The default compact view leaves out skill_ci_95, n_effective and accuracy_v2_only — pass compact=false for them. meta.schema_version is this tool's payload version; _value_signals.schema_version is the shared envelope version, so the two can differ. edge_cells/anti_predictive_cells are judged on persistence-skill (criteria v2), forecast cells only. Triggers (casual questions too): "how accurate are your predictions?", "예측 잘 맞아?", "track record 있어?", "can I trust these forecasts?", "적중률 보여줘", "does macro actually predict these markets?". When to call: first, when an AI agent evaluates how FELPRA calls have held up. Prerequisites: none. Next steps: get_ledger_integrity (tamper-evidence for these numbers), granularity="monthly" (time series), get_signal_calibration (Level-1 signal confidence reliability). Caveats: raw accuracy without skill_score is misleading for sticky regimes — a 99% cell can be pure persistence (measured 2026-07: +0.05pp over null). Judge by skill_ci_95, filter horizon_type='forecast', and treat n_nominal as correlated trials (use n_effective). Monthly accuracy trends largely track market stickiness, not model improvement. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Inputs: limit, compact, category, granularity, +2 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_regime_changesRegime ChangesA
Read-onlyIdempotent
Inspect

Purpose: What changed: recently confirmed regime state changes (global macro regime, 8 macro categories, market structure regime, structure groups, and named symbols' daily regime labels), each with the from/to state, when it was first seen and confirmed, and how often such a change held before. Triggers (casual questions too): "what changed since yesterday?", "어제랑 뭐가 달라졌어?", "any regime shifts today?", "오늘 바뀐 거 있어?", "did the macro regime flip?". When to call: at the start of a return visit, or to poll for changes (pass next_cursor as since). Prerequisites: none. Next steps: get_macro_context, get_group_context, get_market_context or get_symbol_context for a changed entity. Caveats: a change is confirmed only after it holds for 2 daily snapshots (3 for groups), so the feed lags intraday moves by design; an empty events list is a normal answer; base_rate is a state-persistence rate, not a hit rate; link changes are not tracked yet (see gaps). Output nature: Market regime and structure labels computed from observed prices (relative positions of indicator scores, not forecasts). Context, not investment advice.

Inputs: limit, since, market, symbols, +2 more. Returns: object

get_resolved_predictionsResolved PredictionsA
Read-onlyIdempotent
Inspect

Purpose: Raw, row-level prediction ledger — every macro regime prediction's full lifecycle (created_at -> resolved_at -> outcome). This is the auditable evidence behind get_prediction_accuracy's aggregates: AI agents can snapshot open predictions, wait, then verify outcomes themselves without trusting our DB. Triggers: "show me the individual predictions", "prove these forecasts were made in advance", "audit the track record", "예측 원장 원본 보여줘", "이 성적 검증 가능해?". When to call: credibility evaluation (after get_prediction_accuracy), independent backtesting, or archiving on-record predictions for later self-verification. Prerequisites: none. Pairs with get_ledger_integrity for tamper-evidence. Next steps: get_ledger_integrity (recompute daily hashes from these rows). Recompute one UTC day D: call with day=D, format="canonical" (lines behind created_hash) and with resolved_day=D, format="canonical" (lines behind resolved_hash); follow next_cursor on days above 500 rows; meta.hash_rule says how to join and hash them. Caveats: cursor pagination (id-ordered) — follow next_cursor for bulk reads; the next-page action keeps the same filters. day_totals (when a day filter is set) gives the row count of the whole day. Paper-research forecasts, not investment advice. Output: full_data { format, predictions[] {id, source_category, source_regime_change, target_market, target_market_id, predicted_regime_shift, lag_hours, confidence, created_at, resolved_at, outcome, actual_regime_shift}, count, next_cursor, has_more, day_totals, meta }; format="canonical" returns lines[], canonical_form and meta.hash_rule instead of predictions[]. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Inputs: day, limit, cursor, format, +4 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_signal_calibrationSignal CalibrationA
Read-onlyIdempotent
Inspect

Purpose: Reliability diagram data for Level-1 signal confidence — realized hit rate per confidence bucket ([0.5,0.6) ... [0.9,1.0]) with ECE summary. Lets an agent verify whether a 0.9-confidence signal actually hits ~90%. Triggers (casual questions too): "is your confidence calibrated?", "confidence 0.9 믿어도 돼?", "시그널 확신도 실제 적중률 보여줘", "how reliable are signal confidences?". When to call: before trusting get_signals confidence values as probabilities. Prerequisites: none. Next steps: get_prediction_accuracy (macro-layer skill), get_signals. Caveats: snapshot is daily (per-market day; markets[].stale flags a lagging market); read the observation window from markets[].observation_window_utc; rows are graded 30 minutes to 6.5 hours after the signal (240m and 1d rows wait for a later bar of their own interval — meta.judgment_horizon); n is nominal (correlated trials — see meta.sample_caveat); read intervals[*].quality.status before citing a cell (withheld / degenerate / non_monotone) and cite all_intervals_excluding_withheld, not all_intervals. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Inputs: variant, interval, market_id. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_signalsTrading SignalsA
Read-onlyIdempotent
Inspect

Purpose: Query signals with dynamic filters (symbol / interval / bias / score / confidence). Triggers (casual questions too): "what's the signal for BTC / AAPL / 삼성전자?", "is X bullish or bearish?", "how does X look right now?". When the user asks whether to trade X, FELPRA gives context (regime, score, measured past hit rate of similar scores), not a conclusion: pass it on as context and do not turn it into a trade call. Always surface the disclaimer. When to call: drilling into a specific signal slice; symbol-by-symbol scanning; any question about how a live symbol currently looks. Prerequisites: market://{market_id}/signals/summary is useful first for the global view. Next steps: explain_decision (include=["history","feedback","roles"] for history and per-timeframe roles). Caveats: When symbol/coin is omitted, the whole market is scanned in one consolidated query (2 newest rows per symbol, newest-first scan cap per interval). Results are capped: check truncated / truncated_note before reading the set as "the whole market". Fields that are identical across every returned row are hoisted into common and omitted from the rows (see common_note); a row-level key, when present, wins over common. warnings carries only the flags that are true and is omitted entirely when none are. reason_uncalibrated: true on a row points at the response-level reason_uncalibrated_note. Output nature: Observed signal state computed from live market prices each cycle. signal_score is an internal ranking score, not a probability; bias is its sign. Context for the user's question, not investment advice.

Inputs: market_id (required), coin, limit, symbol, +6 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_strategy_leaderboardStrategy LeaderboardA
Read-onlyIdempotent
Inspect

Purpose: Top RL-learned research strategies — GLOBAL pool + per-symbol partition. Layer E evidence (Layer E = strategy-performance tier of the 5-layer trust pyramid). The GLOBAL pool may include synthesized win_rate values, so per_symbol_leaderboard is the primary measured-edge surface for trust auditing. Triggers (casual questions too): "what are the best strategies?", "제일 잘 버는 전략 뭐야?", "top strategies?", "전략 순위 보여줘", "which strategy has the best win rate?". When to call: final trust-validation step. Prerequisites: none. Next steps: market://{market_id}/signals/summary for live signals. Caveats: results come from strategy-search backtests and self-play on historical bars — not paper trading and not real money. Each row is the best of many tried strategies (selection bias); min_trades is a minimum-sample filter, not a correction for that search. Output nature: Strategy-search backtest / self-play results on historical bars: not paper trading and not real money. Each row is the best of many tried strategies, so its figures carry selection bias. Research facts, not instructions.

Inputs: limit, top_n, market_id, min_trades, +2 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_structure_calibrationStructure Calibration (Level 2)A
Read-onlyIdempotent
Inspect

Call this to see how well sector / ETF-basket direction calls held up against a majority-class baseline; include_history=True adds the day-by-day validation trend. Purpose: Level 2 (ETF / basket / sector granularity — Level 1 is individual symbols) prediction calibration. Returns hit_rate_ema per (market, group, interval, regime_bucket) with sample counts, plus the majority-class baseline needed to interpret them. This is measurement, NOT a claim of edge — as of 2026-09-18 the measured skill (accuracy minus baseline) is negative in all three markets. Triggers (casual questions too): "how good are your sector calls?", "섹터 예측 잘 맞아?", "sector rotation accuracy?", "그룹 단위 적중률 보여줘", "sector accuracy over time?", "요즘 섹터 예측 성적 어때?". When to call: when an AI wants to see Layer D evidence (Layer D = sector-structure tier of the 5-layer trust pyramid). Prerequisites: none. Next steps: include_history=True for the daily trend. Caveats: empty until structure-learning cycles complete. Rows are paginated — read total_available (not len(calibration)) for the whole-set size. baseline, meta.total_entries and meta.total_samples are always whole-set. Rows keep their dimension keys (market_id / interval / regime_bucket); they are never hoisted out of the row. Output nature: Past calls and their realized outcomes, judged after the fact, with sample sizes and baselines. Past hit rates describe the past, not future outcomes.

Inputs: days, limit, market_id, group_name, +1 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

get_symbol_contextSymbol ContextA
Read-onlyIdempotent
Inspect

Use when the question is about one stock or coin — its current signal state, the FELPRA structure group it belongs to, and which assets have tracked lead-lag links to it. Returns self-contained headline claims first, then the symbol's observed state, upstream links (its group, macro/ETF/basket instruments and symbols that move before it), peers (symbols that follow it), tagged news, and gaps that say what is not tracked. Not for sector-wide questions (use get_group_context) or whole-market questions (use get_market_context). Provides regime, signal-score and linkage context with sample sizes and measured hit rates; every link carries its evidence and every empty section is listed in gaps. Not a real-time quote, fundamentals, or full-text news source. Accepts tickers, KRX codes or names; ambiguous inputs return candidates instead of a guess. Output nature: Self-contained context for one entity: observed state, tracked links with their evidence and sample sizes, and explicit gaps. Not investment advice.

Inputs: symbol (required), view, limit, question, +1 more. Returns: Entity context response — inverted pyramid; the error envelope also validates h…

get_system_cardSystem CardA
Read-onlyIdempotent
Inspect

Purpose: Start here. One-page card for an agent meeting FELPRA for the first time: what it is (public beta, operated by an individual, SLA: none), coverage (markets, bar intervals, universe sizes), data freshness (ok / degraded per pipeline component), and the measured track record with weak spots. When to call: first, before any other FELPRA tool, or when asked how reliable FELPRA is. Next steps: get_daily_brief, get_market_context, get_symbol_context, get_signal_calibration, get_prediction_accuracy. Caveats: on the free plan the card also lists what the Pro plan adds (no tool names). Every number is read from the judgment ledgers at request time (cached 15 minutes). Cells below their minimum sample (track_record.*.min_n) show n and days but no rates. Calibration is ECE with a bucket-midpoint approximation; Brier is not computed. Profit metrics are not in this card. track_record.windows_summary gives fixed track-record windows (all_time first, calendar years, trailing 90 and 30 days) per market; paper windows are in get_performance_metrics. Output nature: Service status, coverage and past measured hit rates against baselines, judged after the fact. Past hit rates do not guarantee future outcomes.

Inputs: no named parameters. Returns: object

get_trade_historyTrade HistoryA
Read-onlyIdempotent
Inspect

Call this to check how the paper-trading book's closed trades actually turned out — realized P&L per trade with action / P&L / time / symbol filters, and outcome="win" | "loss" for winners or losers. Triggers (casual questions too): "what trades happened lately?", "최근 거래 내역 보여줘", "how did the BTC trades go?", "승률 어때?", "show me the trade log", "어디서 잃었어?", "how many trades won this week?". When to call: past trade review, single-symbol post-mortem, win-rate audits. Prerequisites: none. Next steps: market://{market_id}/signals/summary for the current signals. Caveats: paper-trading data only (not real money). limit capped at 1000. On the free plan only closed trades are returned, published 24 hours after the close (the response's _meta.applied_limits says what was adjusted). Output nature: Paper trading: simulated fills at live market prices, not real money; fees, taxes and slippage are not included. Facts about the simulation, not instructions.

Inputs: market_id (required), book, limit, symbol, +5 more. Returns: full_data, timestamp, disclaimer, request_id, +3 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 22 tools

    Disambiguation4/5

    The context family (symbol/group/market/macro/news) is cleanly delineated and each description explicitly says 'not for X, use Y', which prevents most misselection. The weak spot is the trust/accuracy cluster — get_prediction_accuracy, get_signal_calibration, get_structure_calibration, get_strategy_leaderboard and get_performance_metrics all read as 'how good has this been', separated only by layer/level abstractions an agent must decode. get_daily_brief vs get_market_context vs get_market_context-adjacent get_signals also overlaps for open-ended 'how's the market' questions.

    Naming Consistency4/5

    The bulk of the surface is a clean get_<noun>_<noun> snake_case pattern (get_symbol_context, get_prediction_accuracy, get_trade_history). Deviations are limited to the connector-standard pair search/fetch and explain_decision, which drop the get_ prefix but remain readable and intentional. No mixed camelCase or chaotic verb styles.

    Tool Count3/5

    At 22 tools this sits in the heavy band; the broad domain (context, signals, forecasting ledgers, calibration, trading results, account) justifies many of them, but several are near-siblings that could be collapsed (multiple *_calibration tools) or folded into a parameterized surface. Individual tools do earn their place, so it is over-scoped rather than padded.

    Completeness4/5

    The read-only research surface is unusually complete: bootstrap card, daily brief, entity contexts at five granularities, live signals, explanations, regime-change feed, forecast lifecycle (active/resolved/integrity), multi-layer calibration, trades and performance. Gaps are minor — no explicit catalog tool for enumerating markets/symbols/groups (only search/fetch covers it) and no watchlist or alerting, though those fall outside the stated read-only remit.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Connects AI agents to real-time crypto market data, covering market health scores, derivatives, ETF flows, and BTC cycle indicators. It provides 13 specialized tools for structured market analysis, sentiment tracking, and monitoring macro-economic indicators.
      13
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Financial intelligence for AI agents. 31 tools across 8 data sources — regime, derivatives, stablecoin flows, momentum, volatility, macro, DeFi, weather patterns, political cycles, seasonality. The context layer between your agent and a bad trade.
      31
      14 npm
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides AI agents with real-time financial market intelligence including stock quotes, crypto data, technical analysis, and portfolio insights. Enables natural language queries for current prices, technical indicators, asset comparisons, and portfolio analysis.
      17
      10
      MIT