Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者提供的说明(英文原文)
Build, backtest, and deploy quantitative trading strategies from your AI agent.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.cpz-lab.com/mcp在终端中运行这条命令
claude mcp add --transport http cpzai https://mcp.cpz-lab.com/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"cpzai": {
"url": "https://mcp.cpz-lab.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"cpzai": {
"type": "http",
"url": "https://mcp.cpz-lab.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.cpz-lab.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 mcp.cpz-lab.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.1.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol adapter for CPZAI: strategies, saved backtests, broker accounts, orders, portfolio positions, market data, risk, provider connections, and middle-office reporting.
Hosted endpoint: https://mcp.cpz-lab.com/mcp Transport: stateless Streamable HTTP Current source: version 1.4.0: 34 tools, three guide resources, two workflow prompts.
This README describes the updated source, not a completed production deployment. Use your connected client's tools/list, resources/list, and prompts/list to verify deployed capabilities. The previous source registered 21 tools; old references to 18 tools or a proposed 29-tool release were inaccurate.
Create a key and secret in Settings → API Keys at CPZAI. In a client supporting remote MCP with custom headers, configure:
{
"mcpServers": { "cpzai": { "url": "https://mcp.cpz-lab.com/mcp", "headers": { "X-CPZ-Key": "YOUR_KEY", "X-CPZ-Secret": "YOUR_SECRET" } } } }
Use your client's equivalent connector settings when its configuration format differs. OAuth-capable clients can connect to the same MCP URL and complete sign-in using PKCE S256. Discovery endpoints:
https://mcp.cpz-lab.com/.well-known/oauth-authorization-serverhttps://mcp.cpz-lab.com/.well-known/oauth-protected-resourceOAuth access tokens are opaque and accepted by this server. Do not pass them directly to the REST API. Legacy Bearer cpz_key_…SECRET credentials are disabled by default; use header authentication or OAuth.
| Domain | Tool | Purpose |
|---|---|---|
| Strategies | list_strategies | status, strategy_type, title |
| Strategies | get_strategy | Read one strategy |
| Strategies | create_strategy | Create a strategy |
| Strategies | update_strategy | Update selected strategy fields |
| Overlays | list_overlays | Overlay strategies with their full hedge policy and targets |
| Overlays | get_overlay_exposure | One overlay's exposure, hedge drift, suggested order, effectiveness and P&L |
| Overlays | configure_overlay | Set or remove an overlay's role, policy and targets atomically |
| Backtests | get_backtest_results | List saved backtest runs |
| Backtests | get_backtest_result | Read one saved backtest run |
| Orders | list_orders | status, symbol, side, strategy_id |
| Orders | get_order | Read one CPZ order record |
| Orders | place_order | Submit an order to the selected connected account |
| Portfolio | list_positions | account_id, symbol |
| Portfolio | sync_portfolio | Synchronize connected broker portfolios |
| Accounts | list_accounts | broker, environment, tradable |
| Connections | list_connections | connection_type |
| Connections | create_connection | Store an encrypted provider credential |
| Data files | list_data_files | name, status, file_type |
| Data files | get_data_file | Read uploaded file metadata |
| Market data | get_market_data | Fetch current quotes for symbols |
| Market data | get_bars | Fetch historical OHLCV bars |
| Risk | compute_risk | Compute and store a fresh risk snapshot |
| Risk | list_risk_snapshots | account_id |
| Risk | get_risk_snapshot | Read one saved risk snapshot |
| Execution | execute_strategy | Execute strategy code; may place orders |
| Middle office | list_deals | entity_id, fund, book, deal_id, product_kind, status |
| Middle office | list_lifecycle_events | entity_id, deal_id, kind, status, from, to |
| Middle office | list_cash_flows | entity_id, deal_id, fund, book, from, to, unsettled |
| Middle office | list_journal_entries | entity_id, deal_id, from, to |
| Middle office | list_fund_periods | entity_id, fund, status |
| Everyday | list_watchlist | Your watchlist, 10 symbols at most |
| Everyday | add_to_watchlist | symbol |
| Everyday | remove_from_watchlist | id from list_watchlist |
| Everyday | export_transactions | year or from/to, account_id, symbol, side, environment, broker, strategy_id |
| Everyday | cash_summary | broker, environment, tradable |
| Webhooks | list_webhooks | active |
| Webhooks | create_webhook | Subscribe an HTTPS endpoint to events |
| Webhooks | delete_webhook | Remove a webhook subscription |
| Profile | get_profile | Read your authenticated profile |
Filters in the table are optional. Single-record tools require a CPZ record UUID returned by a corresponding list tool. get_order takes the CPZ record ID, not the broker order ID. File reads return metadata; they do not download file contents or sample rows. Backtest tools read saved runs; they do not start a backtest.
All list tools take limit (integer 1–100) and offset (nonnegative integer, default 0), plus any sorting fields in their advertised schemas. The default limit is 50, except list_accounts, which defaults to 100. Use an explicit limit when paging. REST count is the current page length, not a total. Continue paging until fewer than limit items are returned before reporting a complete portfolio.
{"limit":100,"offset":0}
For the next page of the same list, use {"limit":100,"offset":100}. An upstream error is not an empty final page.
get_bars accepts symbols, timeframe, start, end, limit (1–10,000 bars per symbol), and feed (iex or sip, subject to provider entitlements). Supported timeframes are 1Min, 5Min, 15Min, 30Min, 1Hour, 2Hour, 4Hour, 1Day, 1Week, and 1Month.
Middle-office lists support optional entity_id for an entity book where the caller is an active member; otherwise they use the personal book. Preserve minor-unit decimal strings as exact values rather than converting them to JavaScript numbers.
Use list_accounts to inspect environment and tradable before selecting an account. tradable: true filters to routable accounts; false or omitted includes all. Account discovery covers more providers than order routing. Live or paper execution follows the chosen account and platform controls.
place_order requires positive quantities. Limit/stop-limit orders require price; stop/stop-limit orders require stop_price. Only time_in_force: "day" is exposed, because legacy routes support that duration only. Supported order types remain broker-dependent. execute_strategy can place trades and is not a signal preview or dry run. Invoke these tools only for trading the user has authorized.
Tool annotations describe side effects. Actual authorization is enforced by the REST API's key, subscription, ownership, and resource-scope checks. Legacy read/write/trade permissions are expanded by that API into resource scopes.
An overlay is a strategy that hedges other strategies or whole broker accounts under a hedge policy. All three overlay tools call the cpz gateway with your own credential and need the strategies scope.
list_overlays (GET /cpz/overlays) returns every overlay with its full policy (objective, hedge ratio, tolerance band, hedge instruments, benchmark, rebalance trigger, notes) and targets, in one read with no market data. configured is true when an overlay has a policy and at least one target. The platform returns at most 200 overlays, ordered by title; truncated: true says more exist, and the result then carries a note that it is not the complete list.
get_overlay_exposure (GET /cpz/overlay/exposure) resolves one overlay's hedge. Its result leads with the verdict: complete, hedge_ratio_status (measured, not_measured for objectives with no ratio or nothing to hedge, or withheld) and hedge_ratio_reason, then the platform document under data. When complete is false a price or price history is missing, and the hedge ratio, drift, band flag and suggested order are null with a withheld block naming the missing symbols. Never size or place a hedge from an incomplete result. The suggested order is advice; placing it is a separate, user-authorized place_order call. A 409 means the strategy is not an overlay or has no policy or targets yet, and points at configure_overlay.
configure_overlay (PUT /cpz/overlays/{id}) saves role, policy and targets in one transaction and returns the saved configuration.
role: "overlay" needs a policy and at least one target, and replaces both. Policy fields you omit take their defaults (hedge_ratio 1, tolerance_band 0.1, rebalance_trigger band, no instruments, no notes), and targets you do not list are removed. Read list_overlays first and send the whole configuration.role: "alpha" removes the policy and targets. Pass neither with it.hedge_ratio outside 0 to 5, tolerance_band outside (0, 1], a beta overlay without benchmark_symbol, no targets, a self-target, the same target twice, a weight outside (0, 10], an account environment other than paper or live, and misspelt fields. Ownership, account membership and cycles are checked by the platform, whose 400 message is passed through verbatim.list_overlays. A 5xx, a timeout or an unreadable 200 is never reported as a save: the outcome is unknown, so check list_overlays before saving again. The write is never retried.Tool responses preserve readable JSON text and include structured content. Most read tools declare an outputSchema so a client can validate what came back: list routes return {data, count}, single-record routes return {data}, and a delete returns {message}. The action tools that proxy to another service (execute_strategy, sync_portfolio, compute_risk, get_market_data, get_bars) and the writes with their own handlers (place_order, create_connection, configure_overlay) declare no output schema, because their shape is not this server's to promise. Output validation is skipped for error results. Check isError before using the result. Malformed upstream responses and provider failures stay errors. Request IDs support tracing without logging credentials.
Eligible GET calls can retry transient upstream failures within a bounded timeout. Writes are not automatically retried. A timeout after order submission leaves the result unconfirmed; inspect existing orders and the broker before retrying. The public order route does not provide a general end-to-end idempotency guarantee.
| Kind | Name | Purpose |
|---|---|---|
| Resource | cpzai://guides/tool-usage | Tool selection, pagination, and capability boundaries |
| Resource | cpzai://guides/permissions | Resource permissions and execution boundaries |
| Resource | cpzai://guides/discovery | Endpoints, deferred loading, and the search conventions |
| Prompt | review_portfolio | Portfolio review workflow; optional account_id |
| Prompt | analyze_strategy | Strategy investigation; required strategy_id |
Requesting a prompt returns instructions; it does not execute a workflow. Discover these using standard MCP methods. There is no /mcp/info endpoint.
The full catalogue is 34 tools and roughly 40 KB of JSON Schema, which every client pays for on every request unless it can defer tool loading. Tool-selection accuracy also falls off once a model is choosing between more than about thirty tools. There are two endpoints, serving identical tools under different discovery models.
POST /mcp: full cataloguetools/list returns every tool. Use this when the client defers loading itself: it needs the definitions in order to defer them. With Claude's MCP connector, pair defer_loading with the tool search tool and keep the everyday reads loaded:
`jso
只显示了开头部分;其余内容请在仓库中阅读