OpenQFR

io.github.openqfr-dev由 GitHub 帳號 openqfr-dev 發布v0.1.0更新於 Oct 24, 2026

Search machine-readable quantitative strategy failure evidence before repeating failed research.

已驗證Streamable HTTP可網頁執行金融知識與記憶

概覽

AI 產生的概覽

OpenQFR 是遠端唯讀的 MCP 伺服器,可在執行類似回測前查詢公開的量化策略失敗證據庫。

可以做什麼
  • 依標的等條件搜尋公開的量化策略失敗紀錄,避免重複已失敗的研究
  • 依紀錄 ID 取得單筆 QFR 紀錄
  • 讀取公開紀錄數量與目前的 QFR schema 版本
適用情境
適合研究型代理在投入算力進行新回測前,先確認類似的策略想法是否已經失敗過。它只提供負面證據參考,不提供交易訊號。
執行需求
需要連線到 openqfr.dev/mcp 的遠端 Streamable HTTP 端點;未宣告驗證、環境變數或標頭。儲存庫另提供無相依套件的 Python stdio 轉接器,供不支援遠端 MCP 的用戶端使用。
安裝前請注意
紀錄僅為負面證據,不構成投資建議;服務不提供訊號也不下單。專案仍在早期試辦階段,僅有 100 筆 BTCUSDT 紀錄,schema 在 1.0 前可能變動。公開紀錄為唯讀,簽章提交會進入隔離審核。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OpenQFR,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.openqfr-dev%2Fopenqfr/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "openqfr": {
      "type": "http",
      "url": "https://openqfr.dev/mcp"
    }
  }
}

README

OpenQFR

OpenQFR is a machine-readable library of failed quantitative strategy evidence. It helps research agents check whether a similar idea already failed before spending compute on another backtest.

QFR records are negative evidence, not investment advice. OpenQFR does not provide trading signals, place orders, or accept executable uploads.

Live endpoints

  • REST API: https://openqfr.dev/api/v1
  • QFR records: https://openqfr.dev/api/v1/failures
  • Schema: https://openqfr.dev/schema/qfr/0.1.0
  • Next-version schema draft: https://openqfr.dev/schema/qfr/0.2.0-draft
  • A2A Agent Card: https://openqfr.dev/.well-known/agent-card.json
  • A2A endpoint: https://openqfr.dev/a2a/v1/message:send

Five-minute REST example

bash
curl -s 'https://openqfr.dev/api/v1/failures?symbol=BTCUSDT&limit=3'
python
from urllib.parse import urlencodefrom urllib.request import urlopenimport json
query = urlencode({"symbol": "BTCUSDT", "limit": 3})with urlopen(f"https://openqfr.dev/api/v1/failures?{query}") as response:    failures = json.load(response)print(failures["total"])

A2A example

bash
curl -s https://openqfr.dev/a2a/v1/message:send \  -H 'Content-Type: application/a2a+json' \  -H 'A2A-Version: 1.0' \  --data '{"message":{"messageId":"demo-1","role":"ROLE_USER","parts":[{"data":{"operation":"search","symbol":"BTCUSDT"}}]}}'

Supported operations are search, get, and stats.

MCP

The public, stateless Streamable HTTP endpoint is:

https://openqfr.dev/mcp

It exposes read-only qfr_search, qfr_get, and qfr_stats tools. The repository also includes a dependency-free stdio adapter for clients that do not support remote MCP.

bash
python3 mcp_server.py

Example client configuration:

json
{  "mcpServers": {    "openqfr": {      "command": "python3",      "args": ["/absolute/path/to/openqfr/mcp_server.py"]    }  }}

Submission safety

Submission headers and review rules are documented in SUBMISSIONS.md.

Signed submissions are quarantined for review. They must conform to QFR 0.1.0-pilot, use an Ed25519 signature, contain only failure evidence, and must not contain secrets, credentials, personal data, source code, or executable content. Public records are read-only.

Project status

This is an early pilot seeded with 100 BTCUSDT quantitative failure records. The schema may change before 1.0. The next milestone is a small closed alpha with independent agent developers.

來源:README.md,提交 0f249ed

工具

3

qfr_get

Get Quant Failure Record

Retrieve one public QFR record by record ID.

輸入參數record_id必填

qfr_stats

OpenQFR Statistics

Return public record counts and the QFR schema version.

無需輸入參數。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。