SolidInvoice
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Exact math execution layer for AI agents: fractions, finance, units, dates. 19 packs.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 23/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 35/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Jiheng. Follow https://mcp.popnx.com/i/cqqooq123-jiheng.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Jiheng for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "jiheng": { "command": "uvx", "args": [ "jiheng-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Jiheng tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
SettingsDeveloperEdit Config
{
"mcpServers": {
"jiheng": {
"command": "uvx",
"args": [
"jiheng-mcp"
]
}
}
}Use Jiheng and tell me what you can do for me, then show me one thing✓ If Claude says it is using Jiheng or shows a Jiheng tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Jiheng yet
Jiheng runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Jiheng
B · Others in Accounting, finance & tax that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Jiheng for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user jiheng -- uvx jiheng-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Jiheng tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user jiheng -- uvx jiheng-mcpYou should see Jiheng listed as connected
Use Jiheng and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Jiheng or shows a Jiheng tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Jiheng for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "jiheng": { "command": "uvx", "args": [ "jiheng-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Jiheng tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Use Jiheng and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Jiheng or shows a Jiheng tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Jiheng for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "jiheng": { "type": "stdio", "command": "uvx", "args": [ "jiheng-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Jiheng tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Use Jiheng and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Jiheng or shows a Jiheng tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user jiheng -- uvx jiheng-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"jiheng": {
"command": "uvx",
"args": [
"jiheng-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"jiheng": {
"command": "uvx",
"args": [
"jiheng-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"jiheng": {
"type": "stdio",
"command": "uvx",
"args": [
"jiheng-mcp"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account CQQOOQ123, which owns the repo
Code last changed 2 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for jiheng-mcp@0.3.9
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/cqqooq123-jiheng)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 days ago, and the latest version (0.3.9) reached the registry 14 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.
Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.
Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.
48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
| This one Jiheng | SolidInvoice | Signal8 | Journalit | Beancount.io | Tapetide - Indian Stock Market MCP | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | No | No | Yes | No | No | Yes |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/6 | 5/5 | 4/4 | 4/4 | 5/5 |
| License | MIT | MIT | MIT | NOASSERTION | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
English | 中文
不是让计算器替 AI 思考,而是让 AI 不必自己心算。
模型擅长推理,却不擅长算术。一个被静默舍入的数字,可能一路传进报价、报表或仓位里。
玑衡只做一件事:要么给出精确值,要么明确告诉你为什么给不了。
给 AI Agent / MCP 客户端使用的精确数学执行层:分数、根号、符号、统计、金融、单位、日期。 既可以作为 MCP 服务器,也可以作为 DSH 插件 接入。
1/3 保留分数,sqrt(2) 保留根号,2^200 逐位精确{
"mcpServers": { "jiheng": { "command": "uvx", "args": ["jiheng-mcp"] } } }
DSH 插件:@local/jiheng,设置页可查看状态与策略。
uv pip install jiheng-mcp==x.y.z若报 unsatisfiable,但 PyPI 页面已有该版本:
执行
uv cache clean jiheng-mcp后重试;仍失败则执行完整uv cache clean。通常是 uv 本地缓存了旧索引。
不同工具优化的目标不同。Jiheng 只专注一件事: 给 AI 代理一个快、准、本地、接口干净的精确计算器。
| Jiheng | Wolfram(Alpha / Cloud) | SymPy MCP | Code Interpreter | |
|---|---|---|---|---|
| 精确分数/根号 | ✅ 始终(1/3、sqrt(2)) | ✅ | ✅ 但接口偏底层 | ⚠️ 不写代码就是浮点 |
| AI 原生接口 | ✅ steps、functions()、help()、教学式错误 | ⚠️ 偏文档 | ❌ 原始 API | ✅ 通用 |
| 本地、无需 API key | ✅ uvx jiheng-mcp | ❌ 云端/付费 | ✅ 本地 | ❌ 托管 |
| 热延迟 | 约 3ms/次 | 网络往返 | 每次起 Python | 秒级 |
| 领域覆盖 | 19 个包:统计、金融、工程、单位、日期、分布、ODE、线代… | ✅ 很广 | 只有基础数学 | ⚠️ 靠库 |
| 一次调用多步 | ✅ 命名 steps | ⚠️ | ❌ | ✅ 写代码 |
| 并行拆题 | ✅ calc_shard + worker 池 | ❌ | ❌ | ⚠️ 手动 |
| 符号深度 | ⚠️ 够用,非 Wolfram 级 | ✅ 最强 | ✅ 强 | ⚠️ 靠 SymPy |
| 难数值积分 | ⚠️ 已改进,非 Wolfram 级 | ✅ | ⚠️ | ✅ SciPy |
| 中文口径 | ✅ 折扣/税/日期/单位模板 | ⚠️ | ❌ | ⚠️ |
| 许可/成本 | MIT,免费 | 付费/云端 | BSD,免费 | 免费但托管 |
| 可测量基准 | ✅ 1000 题混合基准 97.6% | — | — | — |
适合用 Jiheng:
不适合用 Jiheng:
Jiheng 是计算层,不是数据层。它不连接数据库、不抓网页、不读文件, 只负责把“已经拿到的数字”算准。数据获取交给专门的 MCP 工具,两者组合使用:
| 需要做什么 | 用什么 |
|---|---|
| 从数据库/CSV 取数 | 数据库 MCP、文件 MCP、代码解释器 |
| 统计、金融、单位、日期计算 | Jiheng |
| 大表 join / ETL | DuckDB / 代码执行 |
| 画图 | 图表 MCP |
典型链路:
数据库 MCP:SELECT month, revenue FROM finance
↓ [120000, 135000, 149000, 162000] ↓ Jiheng:cagr(162000, 120000, 3) → 0.105... Jiheng:mean([...]) → 141500 Jiheng:npv(0.08, [...], 1) → 折现值
为什么不在 calc 里内置数据库连接:
如果你需要“只读 SQLite / DuckDB / CSV”,建议用独立的数据工具或 MCP, 把结果数字交给 Jiheng 计算。
1. 安装 uv(已装可跳过)
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
irm https://astral.sh/uv/install.ps1 | iex
2. 让客户端启动 Jiheng
在 Claude Desktop、Cursor、Codex 等 MCP 客户端配置里加入:
{
"mcpServers": { "jiheng": { "command": "uvx", "args": ["jiheng-mcp"] } } }
第一次启动时 uvx 会自动下载 jiheng-mcp,之后走本地缓存。
3. 重启客户端,直接提问
用 calc 算 1/3 + 1/6
用 calc 算 mean([12,15,9,22]) 用 calc 算 npv(0.08, [623,644,431,286], 1) 用 calc 算 sqrt(2)*sqrt(2)
| 方式 | 命令 |
|---|---|
| PyPI(pip) | pip install jiheng-mcp |
| 本地目录开发 | uvx --from ./dsh-calc jiheng-mcp |
| 直接从 git | uvx --from git+https://github.com/CQQOOQ123/jiheng jiheng-mcp |
plugin_manager install_bundle target="D:\AI\DeepSeek-workplace\创造模式\dsh-calc"
plugin_manager set_bundle target="@local/jiheng" enabled=true
装载后工具表出现 calc;设置 → 计算器 出现配置页。
cd dsh-calc
python -u mcp_server.py # 读取 stdin 的 JSON-RPC
{
"expr": "最终表达式(可省略,若 steps 已给出结果)", "steps": [{"name": "中间变量名", "expr": "子表达式"}], "defs": {"const": {"k": 1.05}, "fn": {"f": {"p": ["x"], "e": "x^2"}}} }
返回:content[0].text 为十进制优先的结果(附精确形式);错误时 isError: true, 文本中包含可修正的提示。
calc(expr="1/3 + 1/6") → 1/2
calc(expr="sqrt(2)*sqrt(2)") → 2 calc(expr="mean([12,15,9,22])") → 14.5 calc(expr="loan_pmt(1000000, 0.049, 20)") → 月供 calc(expr="black_scholes_call(115,113,1,0.05,0.30)") calc(expr="npv(0.08, [623,644,431,286], 1)") → start=1 表示首笔第 1 年末 calc(expr="functions()") → 全部函数名 calc(expr="help(\"norm_cdf\")") → norm_cdf(x, mu, sigma) — 正态累积分布
多步一次提交(推荐,减少往返):
{
"steps": [ {"name": "d1", "expr": "(ln(115/113)+(0.05+0.3^2/2)*1)/(0.3*sqrt(1))"}, {"name": "d2", "expr": "d1-0.3*sqrt(1)"}, {"name": "C", "expr": "115*norm_cdf(d1)-113*exp(-0.05)*norm_cdf(d2)"} ] }
⚠️
N(expr, digits)是数值求值,不是正态 CDF;CDF 用norm_cdf(x)。
+ - * / % ** ^、pi、esum mean std std_pop std_sample var_pop var_sample median quantile min max count corr cov regressionloan_pmt npv(rate, flows[, start]) annuity_pv discount_factor irr bond_price bond_duration black_scholes_call black_scholes_put irr_allunit_convert unit_add unit_mul unit_div unit_pow unit_eval + convertdays_between date_add weekdaysolve diff integrate simplify expand factor subs limit series taylorstress strain bending_stress beam_cantilever_point heat_flux thermal_resistancenorm_pdf norm_cdf norm_quantile t_pdf chi2_pdffunctions()、help("name")完整 61+ 函数见 AI-USAGE.md。
设置页可选,或 cordis.patch.yml 的 config.policy:
| policy | 行为 |
|---|---|
always | 任何计算都调工具 |
complex | 只在数组统计、金额、单位、符号、3+ 步、大数时调(默认) |
auto | 模型自判 |
never | 不注册工具 |
custom | 用 customRules 自然语言规则 |
设置 → 计算器 → 限额(存 /settings.json,立即生效):
| 限额 | 默认 | 超限 |
|---|---|---|
max_series | 10000 | 报错 |
max_output_items | 200 | 列表转摘要 |
max_expr_chars | 2000 | 报错 |
max_steps | 50 | 报错 |
max_symbol_len / max_decimal_len | 120 / 4000 | 降级为数值 + exact=false |
exact_only | 1 | 长符号表达式保留精确形式(同时给 d) |
strict_numeric | 0 | 1=无法精确表示时报错 |
默认 1 个常驻进程(单次约 3ms);高并发/重符号任务可开池:
# cordis.patch.yml
workers: 1 # 1..maxWorkers,或 auto maxWorkers: 8 # 硬上限 16;每个约 52MB
auto:起始 1 个,忙时自动扩到 maxWorkersGET/POST /calc/workers、POST /calc/batch(1..200 条表达式并行){"ready":true} 握手;扩容后等全部就绪再返回| 变量 | 默认 | 说明 |
|---|---|---|
DSH_CALC_PYTHON | 自动探测 | worker 解释器 |
DSH_CALC_HOME | ./.calc 或 ~/.calc | 公式/设置目录 |
DSH_CALC_TIMEOUT_MS | 8000 | 单次求值超时 |
DSH_CALC_DEBUG | 空 | 透传 worker stderr |
DSH_CALC_POLICY | 空 | 临时覆盖策略 |
DSH_CALC_BUILTIN_PACKS | 包内 packs/ | 内置能力包目录 |
DSH Host (Node, 常驻)
└─ index.js ──注册 calc / calc_shard 工具──▶ ctx.tools.register │ spawn(1..N 个) ▼ worker.py(常驻,JSON 行协议,~3ms/次) └─ calc_core.py AST 白名单 + Fraction + SymPy └─ packs/*.py 能力包(热加载)
MCP 客户端 ──stdio JSON-RPC──▶ mcp_server.py ──▶ calc_core.py + packs/
eval:AST 白名单,只允许数字/字符串/列表/四则/幂/白名单函数1/7*7 = 1、2^200 精确d 字段(30 位小数)sin(pi/6)=1/2、log(1000,10)=3)exact=false{"e":"ValueError","msg":"unknown function 'norm_cdf'... did you mean ..."}
{"e":"ValueError","msg":"invalid date '2026-02-30': 2026-02 has 28 days ... Do not roll over."} {"e":"ValueError","msg":"dimension mismatch: GB (data) vs kg (mass)"} {"e":"ValueError","msg":"not an expression (hint: multiple statements are not supported ...)"}
/calc/status:版本、策略、注册状态、worker/就绪数、目录POST /calc/policy:{policy, customRules}GET/POST /calc/limits:限额;{"reset":true} 恢复默认GET/POST /calc/workers:worker 池POST /calc/batch:{exprs:[...]} 并行求值GET/POST /calc/packs:公式包/能力包.calc/plugins/*.py(或包内 packs/):
NAME = "stats"
def register(reg): reg.func("corr", ["x", "y"], corr_impl, doc="Pearson 相关系数")
PACKS.mdcalc_shard(expr="x*exp(x)", var="x", from=0, to=1, shards=4, mode="integrate", op="sum")
→ sum(nintegrate) = 1
mode: integrate / sum;op: sum / mean / max / minpython dsh-calc/test_cases.py # 63 项:精度/统计/语义/错误/安全
python dsh-calc/test_packs.py # 169 项:能力包 python dsh-calc/test_worker.py # 12 项:worker 协议/热加载/ready node dsh-calc/test_client_contract.mjs # 8 项:客户端契约 node dsh-calc/test_routes.mjs http://127.0.0.1:3379 # 26 项:HTTP 路由 python research/bench/mcp_smoke.py # 7 项:MCP 冒烟
质量审计记录见 QUALITY.md。
基准(1000 题混合题集,deepseek-v4-flash,自然使用模式):97.6%(976/1000)。
| 项目 | 结果 |
|---|---|
| 综合任务银行 | 1,000/1,000 |
| 按能力包 | 19 包 × 1,000 = 19,000/19,000 |
| 真值来源 | Fraction / mpmath dps=50 / 日历事实;不调用插件自身算答案 |
| 调用方式 | 通过 MCP stdio 黑盒调用,只看输入/输出 |
| 难度分布(综合集) | easy 639 / medium 131 / hard 130 / adversarial 100 |
| 构建产物性能 | 冷启动 ~4.2 ms,p50 ~1.8 ms,p95 ~42 ms,p99 ~45 ms,~119 calls/s |
说明:这是生成式验收集,覆盖行为一致性、精确契约和 fail-loud 边界;难度以工程/量化计算为主,不等同于竞赛数学。
Q:`std` 是样本还是总体? A:std/std_pop/var/var_pop 是总体;std_sample/var_sample 是样本。 sharpe、zscore、cov 内部使用样本口径(ddof=1);max_drawdown 默认要求价格严格 >0,allow_leading_zeros=1 时允许前导 0。
Q:为什么 `N(...)` 不等于正态 CDF? A:N(expr, digits) 是数值求值;正态 CDF 用 norm_cdf(x)。
Q:`npv` 第一笔为什么不折现? A:默认 start=0(flows[0] 在 t=0);年末现金流用 npv(rate, flows, 1)。
Q:非法日期会怎样? A:明确报错(如 2026-02-30),不会顺延到 3 月 2 日。
Q:`api retries exhausted` 是什么? A:模型 API 连续重试 6 次仍失败(限流/网络),不是计算器错误;用 --resume 补跑。
.github/workflows/test.yml 在 push / PR 时跑核心、能力包、文档、客户端、MCP 冒烟测试.github/workflows/publish.yml 在 GitHub Release 发布时自动构建并上传 PyPI (Trusted Publishing:GitHub OIDC,无需长期 token)发布流程:
# 1. 改版本号(同步 package.json / pyproject / mcp_server)
python scripts/bump_version.py 0.3.2
PyPI 项目需在 Publishing 里配置 GitHub publisher:
Owner: CQQOOQ123
Repository: jiheng Workflow: publish.yml Environment: (留空)
手动发布(备用):
$env:UV_PUBLISH_TOKEN = "pypi-..."
uv build --directory dsh-calc uv publish dsh-calc/dist/*
exact=false 标记)calc_shard 切分index.js 不热更新;calc_core.py 在 worker 重启后生效uv build --directory dsh-calc
Do