1. Conduid
  2. Agents
  3. ZFundPilot
MCP server · Agents

ZFundPilot

自托管中国基金组合分析与风险管理工具 — 自动净值更新 / 收益与回撤 / AI 投顾 / 定投回测 / 基金筛选 / 分红检测 | Self-hosted China fund portfolio analyzer: auto NAV sync, returns/risk analytics, AI advisor, DCA backtest, fund screener, dividend detection

59Fair

Scored 22 hours ago · breakdown

About ZFundPilot

ZFundPilot is an MCP server published by Euzohn in the Agents category: 自托管中国基金组合分析与风险管理工具 — 自动净值更新 / 收益与回撤 / AI 投顾 / 定投回测 / 基金筛选 / 分红检测 | Self-hosted China fund portfolio analyzer: auto NAV sync, returns/risk analytics, AI advisor, DCA backtest, fund screener, dividend detection. Conduid read 36 tools from its source: add_watchlist_item, cancel_operation_proposal, compare_funds, create_operation_proposal, get_agent_capabilities, get_benchmark_comparison and 30 more. No package is published for it, so it installs from a source checkout.

The repository has 37 stars and 11 forks, and its last commit was on 28 Nov 2026. Conduid has no tagged release on record for it. Its topics include akshare, fastapi, fund, fund-analysis, fund-tracker and risk-management.

Install

From source
git clone https://github.com/Euzohn/ZFundPilot

Tools (36)

add_watchlist_itemAdd a fund to the watchlist. This is a write operation.
ParameterTypeDescription
fund_code *stringSix-digit fund code, e.g. "005827".
group_namestringOptional watchlist group (max 50 chars).
idempotency_key *stringUnique retry key (16-128 chars); reuse it only for the exact same request.
notestringOptional note (max 500 chars).
cancel_operation_proposalCancel one of your pending proposals. Approved/rejected ones cannot cancel.
ParameterTypeDescription
proposal_id *integerProposal id returned by create_operation_proposal.
compare_fundsCompare up to 20 funds on returns, risk, fees, and correlation.
ParameterTypeDescription
codes *arraySix-digit fund codes, e.g. ["005827", "000001"].
include_nav_seriesbooleanInclude normalized NAV series (larger response).
create_operation_proposalCreate a ledger/plan/alert proposal for a human to approve in the web UI.
ParameterTypeDescription
idempotency_key *stringUnique retry key (16-128 chars); same key+params returns the same proposal.
operation_type *string"add_transaction", "update_transaction", "delete_transaction", "add_conversion", "delete_conversion", "batch_import", "create_plan", "update_plan", "toggle_plan", "delete_plan", "resolve_alert", "backfill_transaction_navs", or "execute_plan".
params *objectFor add_transaction: fund_code, action (buy/sell/dividend/ reinvest), date (YYYY-MM-DD), fee, channel, note, is_t1, optional dividend_alert_id (dividend/reinvest only), and the amount/shares/nav combination required by the action: buy and reinvest need amount or shares; sell needs shares; dividend needs amount. nav may be omitted while awaiting T+1 confirmation. For update_transaction: tx_id, expected_digest (the row_digest from get_transaction), plus the full post-change field set (fund_code, action, date, amount, shares, nav, fee, channel, note, is_t1) — partial updates are not supported. For delete_transaction: tx_id, expected_digest, and an optional reason (max 500 chars). For add_conversion: from_code, to_code (both registered, different), date, from_shares, optional from_nav/from_fee, optional to_amount/to_nav/to_fee, channel, note, is_t1. Non-T+1 requires a derivable to-leg amount or shares; T+1 may defer it. For delete_conversion: conversion_id, expected_from_digest, expected_to_digest (both row_digest values, e.g. from list_transactions?conversion_id=... then get_transaction), and an optional reason. For batch_import: transactions (1-50 items), each with fund_code (required, no fund_name), action, date, the amount/shares/nav combination required by the action, and optional fee/channel/note/ is_t1; plus an optional overall note. Never clears existing rows. For create_plan: fund_code, amount (>0), cadence (daily/week/ biweek/month), day_of_week (0-6, 0=Monday; required for week/ biweek, forbidden otherwise), day_of_month (1-31; required for month, forbidden otherwise), optional channel/note. enabled, next_run, last_run and last_tx_id are rejected. For update_plan: plan_id, expected_digest (the row_digest from list_auto_invest_plans), plus any subset of the create_plan config fields to change. For toggle_plan: plan_id, expected_digest, enable (bool). For delete_plan: plan_id, expected_digest. For resolve_alert: alert_type (dividend/take_profit/stop_loss), alert_id, expected_digest (the row_digest from list_alerts), status (confirmed/ignored; no rollback to pending), and an optional tx_id (dividend + confirmed only; links one existing dividend/reinvestment transaction, does not create one). For backfill_transaction_navs: items (1-50), each with tx_id, expected_digest (the row_digest from get_transaction), and an optional fee (required only when the server cannot compute the fee offline; omit otherwise). For execute_plan: plan_id, expected_digest (the row_digest from list_auto_invest_plans), an optional trade_date (YYYY-MM-DD; defaults to today, only the last 7 days are allowed), and an optional fee (required only when the purchase fee cannot be computed at creation). amount/is_t1/channel/note and scheduler bookkeeping fields are rejected.
get_agent_capabilitiesList read-only tools granted to the current Agent token.
get_benchmark_comparisonCompare the portfolio curve with benchmark indices and macro levels.
ParameterTypeDescription
codes *arrayBenchmark codes, e.g. ["000300", "CPI"].
end_datestringOptional inclusive end date (YYYY-MM-DD).
start_datestringOptional inclusive start date (YYYY-MM-DD).
get_data_statusCheck formal NAV freshness and pending T+1 transactions before analysis.
get_fund_detailRead one fund's metadata, latest formal NAV, annualized return, and recent NAV.
ParameterTypeDescription
code *stringSix-digit fund code, e.g. "005827".
nav_limitintegerNumber of recent formal NAV points (1-250).
get_fund_insightsRead a fund's deep profile: top holdings, peer-ranking trend, manager/scale/fees.
ParameterTypeDescription
code *stringSix-digit fund code, e.g. "005827".
ranking_limitintegerNumber of recent ranking points (1-1000).
get_index_valuationRead broad-based index valuations: PE/PB percentiles and temperature.
ParameterTypeDescription
codestringOptional index code (e.g. "000300") to read a single index; omit to read all supported indices.
get_industry_exposureRead portfolio industry exposure by looking through fund allocations.
get_job_statusGet the status of a job started by start_data_refresh or run_dca_backtest.
ParameterTypeDescription
job_id *integerThe job_id returned by start_data_refresh or run_dca_backtest.
get_operation_proposalGet one proposal created by the current token.
ParameterTypeDescription
proposal_id *integerProposal id returned by create_operation_proposal.
get_portfolio_curveRead the daily portfolio value, invested cost, and cumulative return curve.
ParameterTypeDescription
end_datestringOptional inclusive end date (YYYY-MM-DD).
max_pointsintegerMaximum points; larger series are evenly sampled (10-2000).
start_datestringOptional inclusive start date (YYYY-MM-DD).
get_portfolio_healthRead the four-dimension health score, risk flags, and structural advice.
get_portfolio_summaryRead portfolio market value, cost, P&L, annualized return, and data-as-of date.
get_returnsRead portfolio or single-fund return breakdown.
ParameterTypeDescription
fund_codestringOptional six-digit fund code; omit for portfolio-level returns.
get_risk_reportRead drawdown, volatility, concentration, structure weights, and risk flags.
get_transactionRead one transaction by id, including derived NAV and conversion fields.
ParameterTypeDescription
tx_id *integerTransaction id.
list_alertsList dividend and take-profit/stop-loss alerts.
ParameterTypeDescription
limitintegerPage size (1-200).
offsetintegerPage offset.
statusstringOptional pending/confirmed/ignored.
typestringOptional dividend/take_profit/stop_loss/tp_sl.
list_auto_invest_plansList auto-invest plans with derived status (active/paused/due).
ParameterTypeDescription
enabledbooleanOptional enabled-state filter.
limitintegerPage size (1-200).
offsetintegerPage offset.
list_notificationsList unified in-app notifications (read-only).
ParameterTypeDescription
limitintegerPage size (1-200).
offsetintegerPage offset.
source_typestringOptional dividend/tpsl/auto_invest/job/nav_update/data_health.
statusstringOptional unread/read/dismissed.
list_operation_proposalsList proposals created by the current token (newest first).
ParameterTypeDescription
limitintegerPage size (1-200).
offsetintegerPage offset.
statusstringOptional pending/succeeded/failed/conflict/rejected/ cancelled/expired.
list_positionsList current holdings by fund and channel, sorted by market value descending.
ParameterTypeDescription
include_closedbooleanInclude fully closed positions.
limitintegerMaximum number of positions to return (1-500).
list_transactionsList recorded transactions (newest first) with filters and pagination.
ParameterTypeDescription
actionstringOptional buy/sell/dividend/reinvest.
channelstringOptional exact purchase channel.
conversion_idstringOptional conversion link id to fetch both legs.
date_fromstringOptional inclusive start date (YYYY-MM-DD).
date_tostringOptional inclusive end date (YYYY-MM-DD).
fund_codestringOptional six-digit fund code.
limitintegerPage size (1-200).
nav_statusstringOptional confirmed/pending_t1/missing.
offsetintegerPage offset.
list_watchlistList watchlist funds, optionally filtered by group.
ParameterTypeDescription
group_namestringOptional watchlist group name.
limitintegerPage size (1-200).
offsetintegerPage offset.
precheck_backfillPre-check which transactions can have their NAV backfilled. Read-only.
ParameterTypeDescription
payload *object{"tx_ids"?: [int, ...]}. Omit tx_ids to list all nav-NULL non-dividend rows (capped at 50); pass tx_ids to check specific rows (at most 50, no duplicates). Read-only either way.
precheck_reconciliationPre-check a holdings reconciliation against the ledger. Read-only.
ParameterTypeDescription
payload *object{"holdings": [{fund_code or fund_name, shares, market_value?}], "channel"?: str}. At most 100 holdings. shares must be a non-negative finite number.
precheck_transactionsPre-check transactions before proposing them. Read-only, never writes.
ParameterTypeDescription
payload *objectThe precheck input. Must contain "format" ("csv" or "items"). - csv: {"format": "csv", "csv_text": str, "channel_hint"?: str} - items: {"format": "items", "items": [{fund_code or fund_name, action, date, amount?, shares?, nav?, fee?, channel?, note?, is_t1?}], "channel_hint"?: str} At most 200 items. CSV text at most 5 MB.
record_transactionDirectly record ONE buy/sell the user says already happened externally.
ParameterTypeDescription
action *string"buy" or "sell" (direct write supports only these two).
amountnumberBuy amount including fee, or sell proceeds. For buy, provide amount or shares; for sell, shares is required.
channelstringPurchase channel, e.g. "支付宝"; keep it consistent with existing ledger rows for share and duplicate checks.
date *stringTrade date YYYY-MM-DD; must not be in the future.
feenumberFee amount (default 0).
fund_code *stringSix-digit fund code.
idempotency_key *stringUnique retry key (16-128 chars); retries with the same key and params never create a second transaction or upgrade a downgraded proposal to a direct write.
is_t1booleanTrue when the trade awaits T+1 confirmation.
navnumberConfirmed execution NAV; omit while awaiting T+1 confirmation.
notestringOptional note.
sharesnumberConfirmed shares, if known.
remove_watchlist_itemRemove a fund from the watchlist. This is a write operation.
ParameterTypeDescription
expected_revision *integerRevision returned by list_watchlist.
fund_code *stringSix-digit fund code.
idempotency_key *stringUnique retry key (16-128 chars).
run_dca_backtestStart a historical DCA simulation job; poll ``get_job_status`` for results.
ParameterTypeDescription
amount_per_period *numberAmount per fund per period, > 0 and <= 1,000,000.
cadencestring"month", "week", or "biweek".
end_date *stringInclusive end date (YYYY-MM-DD), not after today in China time.
fund_codes *array1-5 six-digit fund codes; duplicates are removed.
idempotency_key *stringUnique retry key (16-128 chars); same key+params returns the same job_id.
include_curvebooleanReturn the sampled portfolio value curve.
include_lumpsumbooleanAdd a lump-sum comparison per fund.
include_periodsbooleanReturn per-period purchase details (larger response).
max_pointsintegerMaximum curve points (10-2000, first/last preserved).
start_date *stringInclusive start date (YYYY-MM-DD), before end_date.
screen_fundsScreen the fund universe by asset type, sector, and code/name substring.
ParameterTypeDescription
keywordstringOptional name or code substring, at most 100 characters.
limitintegerPage size (1-200).
offsetintegerPage offset.
sectorsarrayOptional sectors, e.g. ["科技"].
typesarrayOptional asset types, e.g. ["混合型", "指数型"].
with_metricsbooleanEnrich up to 30 funds with return and risk metrics.
search_fundsSearch the fund universe by name or six-digit code substring.
ParameterTypeDescription
keyword *stringName or code substring, 1-100 characters after trimming.
limitintegerPage size (1-200).
offsetintegerPage offset.
start_data_refreshStart a NAV/metadata refresh job. This is a write operation.
ParameterTypeDescription
fund_codesarrayUp to 50 six-digit codes; omit to refresh current open holdings.
idempotency_key *stringUnique retry key (16-128 chars); same key+params returns the same job_id.
update_watchlist_itemUpdate a watchlist note or group. This is a write operation.
ParameterTypeDescription
expected_revision *integerRevision returned by list_watchlist.
fund_code *stringSix-digit fund code.
group_namestringNew group; omit to keep the current value.
idempotency_key *stringUnique retry key (16-128 chars).
notestringNew note; omit to keep the current value.

Security checks

6 checks have not been run yet.

Questions

About ZFundPilot

How do I install ZFundPilot?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is ZFundPilot safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is ZFundPilot still maintained?

Yes — the last commit was 3 days ago. The repository has 37 stars and 11 forks.

What tools does ZFundPilot provide?

Conduid read 36 tools from the source: add_watchlist_item, cancel_operation_proposal, compare_funds, create_operation_proposal, get_agent_capabilities, get_benchmark_comparison, get_data_status, get_fund_detail and 28 more. 30 of them publish their parameters, listed under Tools above.