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 分

    请在仓库或注册中心条目中声明许可证。