原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

ClearFills

✓ 服务方 · clearfills.com

作者:clearfills版本 0.5.1i★ 1i电脑或云端官方网站 ↗

安装方法

能做什么

ClearFills 是为 AI 代理设计的确定性交易前风险防火墙和投资组合 MCP 服务器,支持 IBKR 和 Alpaca。

根据作者的说明自动翻译 · 团队尚未核对

  • 连接方式 电脑或云端
  • 账号或密钥 云端:可能需要密钥,尚无法确认(检查被拒绝) · 本地:无需密钥
  • 分类 会计、财务与税务
作者的原始说明
Deterministic pre-trade risk firewall and portfolio MCP server for AI agents (IBKR, Alpaca).

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度4/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分24/100

质量: 基础检查通过 2/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 ClearFills。按照 https://mcp.popnx.com/i/clearfills.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 2/5 项检查 · 你的提问会经过开发者的服务器(clearfills-api.fly.dev) · ✓ 命令已检查 2026年11月25日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 点击这个按钮,Claude 会打开已填好的添加 connector 窗口

    把 ClearFills 添加到 Claude ↗

    名称和地址已为你填好,核对后点击 Add · 如果没有登录,Claude 会先让你登录

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

    按钮无效?手动逐项填写

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4

    点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称ClearFills
    Remote MCP server URL · 地址https://clearfills-api.fly.dev/mcp
  2. 在聊天中开启

    +ConnectorsClearFills

  3. 试一试

    用 ClearFills 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 ClearFills,或回答中出现 ClearFills 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称ClearFills
    Connection · 地址https://clearfills-api.fly.dev/mcp
  3. 在聊天中选择 ClearFills

    开启新聊天,输入前先从插件列表中选择 ClearFills

  4. 试一试

    用 ClearFills 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 ClearFills,或回答中出现 ClearFills 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user clearfills https://clearfills-api.fly.dev/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 ClearFills 在列表中并显示已连接

  4. 试一试

    用 ClearFills 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 ClearFills,或回答中出现 ClearFills 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 ClearFills 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 ClearFills,或回答中出现 ClearFills 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 ClearFills 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 ClearFills,或回答中出现 ClearFills 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://clearfills-api.fly.dev/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 ClearFills 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user clearfills https://clearfills-api.fly.dev/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "clearfills": {
      "url": "https://clearfills-api.fly.dev/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "clearfills": {
      "type": "http",
      "url": "https://clearfills-api.fly.dev/mcp"
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user clearfills -- uvx clearfills

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "clearfills": {
      "command": "uvx",
      "args": [
        "clearfills"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "clearfills": {
      "command": "uvx",
      "args": [
        "clearfills"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "clearfills": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "clearfills"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

注册名称
com.clearfills/clearfills
每周下载量i
不在 npm/PyPI 上
已验证域名
✓ clearfills.com
许可证i
未注明许可证
连接方式
电脑或云端
传输方式
stdio, streamable-http
最新版本i
0.5.1
发布到注册中心i
2026年11月25日
代码最后更新i
2026年11月26日
最近检查
2026年11月25日
作者
clearfills
软件包
pypi: clearfills
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月26日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 clearfills.com 验证(注册中心会核实域名所有权)

  • ✓ 通过

    仍在维护

    代码最后更新于今天

  • ! 注意

    有许可证

    GitHub 无法识别许可证类型;请打开文件自行查看

  • ! 注意

    端点有响应

    拒绝访问(HTTP 401),且未提供 OAuth 登录。可能需要密钥,也可能是拦截机器人,尚未确认。

  • ! 注意

    使用 OAuth 登录

    需要你自己复制粘贴密钥或令牌

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 clearfills@0.5.1 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月25日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/clearfills.svg)](https://mcp.popnx.com/en/servers/clearfills)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 3856 个服务器的 88%
  • 发布到注册中心的时间比此分类中其他 3856 个服务器的 97% 更新
  • 基础检查结果等于或优于此分类中其他 3856 个服务器的 8%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

ClearFills 安全吗?

它在 5 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于今天,最新版本(0.5.1)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:SolidInvoice, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP, Twelve Data

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice正在增长★ 99217天前更新

可立即连接(有 URL)41 个工具 · 重✓ 服务方 · solidinvoice.co

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

作者:Cursivez正在增长★ 26718天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · journalit.co

Beancount.io

Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.

作者:bex-co正在增长★ 861 整个仓库的星标2个月前更新

可立即连接(有 URL) · 需登录✓ 服务方 · beancount.io

Twelve Data

Real-time and historical market data: stocks, forex, crypto, ETFs, fundamentals and 60+ indicators.

作者:twelvedata正在增长★ 8722天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · twelvedata.com
与相似项目对比
本项
ClearFills
SolidInvoiceJournalitBeancount.ioTapetide - Indian Stock Market MCPTwelve Data
运行位置云端或安装在电脑上都可以在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装云端或安装在电脑上都可以在云端运行,无需安装
需要密钥否否否否是否
可在 Claude 中按 + 添加否否否否否是
基础检查2/55/54/44/45/54/4
许可证NOASSERTIONMITNOASSERTIONMITMIT–
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

ClearFills

Let AI manage your portfolio. Never give it your broker password.

ClearFills is an open-core execution firewall and MCP server for AI trading agents. Connect Claude, Claude Code, Cursor, Codex, TradingAgents, or ai-hedge-fund to Interactive Brokers (IBKR), Alpaca, and multi-account portfolios with deterministic Ed25519 pre-trade risk rules and 1-tap human approval.


Install & Unified CLI

# Core firewall, Python SDK, MCP server, and CLI (zero broker libs)

pip install clearfills

With IBKR Gateway execution (watch / sync ibkr / mcp --ibkr)

pip install 'clearfills[ibkr]'

With local FastAPI HTTP firewall server (clearfills serve)

pip install 'clearfills[server]'

Run the unified clearfills CLI right from your terminal:

# 1. Verify the firewall in 3 seconds (rogue market order, missing stop, single-use replay)

clearfills redteam --local

2. Generate a safe, commented .clearfills.yaml (paper defaults + per-sleeve caps)

clearfills init

3. Run 6 diagnostic checks (Python, config, IBKR extra, IB Gateway TCP, Cloud auth, SHA-256 audit)

clearfills doctor

4. Run the local stdio MCP server (or add --ibkr for IBKR execution tools)

clearfills mcp

5. Watch ClearFills Cloud for 1-Tap Inbox approvals (add --dry-run to test safely)

CLEARFILLS_API_KEY="cf_sk_..." clearfills watch --dry-run


How It Works (3 Steps)

  1. Connect read-only: Sync your balances and holdings from IBKR, SnapTrade, EVM wallets, or statements without handing brokerage passwords to an LLM.
  2. Enforce hard math: Every AI trade proposal passes through a deterministic, zero-LLM risk firewall (clearfills) that enforces per-sleeve notional caps, mandatory stop-losses, daily loss limits, and a fail-closed kill-switch before minting a single-use 120-second Ed25519 attestation.
  3. Approve in one tap: Review attested orders in your ClearFills Inbox and tap Approve. Your local clearfills watch worker atomically claims the order, checks a fresh live quote (50 bps slippage guard), re-attests, and routes to IBKR or Alpaca.
Claude / Codex / Cursor / TradingAgents / ai-hedge-fund

| (MCP or Python SDK, zero broker passwords) v ClearFills Cloud & Risk Firewall +-------------------------------------+ | 1. Connect read-only (multi-entity) | | 2. Enforce hard math (Ed25519) | | 3. Approve in one tap (Inbox) | +------------------+------------------+ | (human clicks Approve) v clearfills watch (local) +-------------------------------------+ | * Atomic claim + 50 bps guard | | * Fresh Ed25519 re-attestation | | * IBKR Gateway (loopback/Tailscale) | +-------------------------------------+


60-Second Quickstart

1. Try the Live Sandbox ($0)
  1. Sign in at clearfills.com/console (GitHub or Google).
  2. Click Launch 60-Second Sandbox Demo on Portfolio to load a sample Personal + Corporate balance sheet and queue an SGOV T-bill sweep.
  3. Open Inbox and tap Approve & Execute to inspect an Ed25519-signed execution receipt and SHA-256 audit trail. Click Clear Sandbox Data anytime to connect real accounts.
2. Connect Your AI Agent via MCP (No pip install Required)

Connect Claude.ai (OAuth 2.1), Claude Code, Cursor, or Codex to https://clearfills-api.fly.dev/mcp. See the full copy-paste guide in examples/claude_mcp_setup.md.

# Claude Code (Hosted Remote MCP)

claude mcp add --transport http clearfills https://clearfills-api.fly.dev/mcp \ --header "Authorization: Bearer cf_sk_..."

Claude Code (Local offline firewall MCP via uvx)

claude mcp add clearfills -- uvx clearfills mcp

3. Python SDK
from clearfills import FirewallService, PortfolioSnapshot, RiskPolicy, TradeProposal
4. Connect Live or Paper IBKR
# Generate paper or live config

clearfills init --mode paper

Validate fail-closed config (Paper: port 4002 + DU* | Live: port 4001 + two-key opt-in)

CLEARFILLS_ALLOW_LIVE=1 clearfills validate --config .clearfills.yaml

Run the local execution daemon for 1-tap Inbox approvals (add --dry-run to test safely)

CLEARFILLS_ALLOW_LIVE=1 CLEARFILLS_API_KEY="cf_sk_..." \ clearfills watch --config .clearfills.yaml --dry-run


Runnable Examples

ExampleWhat It Shows
examples/tradingagents_safe_execution.pyWrap TauricResearch/TradingAgents debate output with FirewallService, enforce limit orders + hard stops, issue a 120s Ed25519 attestation, and verify single-use replay protection.
examples/ai_hedge_fund_safe_execution.pyRoute virattt/ai-hedge-fund multi-analyst portfolio decisions through per-sleeve risk rules (active_trading vs. cash_equivalent) with optional ClearFills Cloud 1-Tap Approval Inbox queuing.
examples/claude_mcp_setup.mdCopy-paste setup for Claude.ai (OAuth 2.1 Remote MCP), Claude Code (claude mcp add), Cursor, and OpenAI Codex CLI.

Run any Python example locally with zero broker credentials:

pip install clearfills

python examples/tradingagents_safe_execution.py python examples/ai_hedge_fund_safe_execution.py


Per-Sleeve Deterministic Risk Firewall

Zero LLM in the approval path. Every TradeProposal is routed to a sleeve and evaluated deterministically before a single-use Ed25519 attestation (120s TTL) is signed:

SleeveExample SymbolsStop-LossMax NotionalGlobal Kill-Switch & Daily Loss
cash_equivalentSGOV, BIL, CBIL, SHVExempt$500,000Fail-closed enforced
core_indexVT, VTI, VOO, SPY, VEQTExempt$500,000Fail-closed enforced
active_tradingAll other equities / swingRequired$50,000Fail-closed enforced

Every decision (PROPOSAL_APPROVED, PROPOSAL_VETOED, DISPATCH_ALLOWED, DISPATCH_REJECTED, KILL_SWITCH_TRIPPED) appends to a SHA-256 hash-chained audit ledger.


Repository Layout

  • src/clearfills: Unified clearfills Python package & CLI (init, doctor, mcp, watch, sync, validate, redteam, serve).
  • packages/risk-firewall: Apache-2.0 clearfills_firewall, deterministic policy engine, per-sleeve rules, Ed25519 attestation authority, SHA-256 audit ledger, MCP stdio and FastAPI server.
  • packages/clearfills-desk: Apache-2.0 clearfills_desk, IBKR execution adapter (whatIf previews, delayed-quote metadata, multi-agent clientId retry), clearfills-desk-mcp, clearfills sync, and clearfills watch.
  • examples/: Runnable integration examples for TradingAgents, ai-hedge-fund, Claude, Cursor, and Codex.
  • docs/QUICKSTART.md: Concise operator guide covering Portfolio, Inbox, Rules, Lab, and live IBKR setup.

Security & Non-Custodial Guarantee

  • Zero credential custody: AI agents never receive brokerage or banking passwords.
  • Fail-closed live execution: Live IBKR requires both ibkr.allow_live: true in config and CLEARFILLS_ALLOW_LIVE=1 in the execution environment, loopback/Tailscale-only transport, and a 50 bps fresh-quote slippage guard on clearfills watch.
  • Software only: ClearFills is self-directed risk engineering and execution software, not an investment advisor, custodian, or broker-dealer.