MCP计算器工具
Support This Project
Stripe
Donate via Stripe
通过模型上下文协议(MCP)公开的人工智能代理的高级微积分、线性代数、概率和金融工具。
特性
- 微积分:符号导数/积分、数值黎曼和、极限、旋转体积。
- 线性代数:矩阵乘法、求逆、行列式、特征值。
- 金融:布莱克-斯科尔斯定价、希腊期权、夏普比率、风险价值(VaR)、现金流表。
- 概率:正态分布、二项式分布和泊松分布。
- 工程:数值拉普拉斯和傅里叶变换。
- 优化:牛顿法找根。
- 元工具:
describe_available_tools用于代理发现。
安装
对于AI代理(克劳德代码、游标、Cline、Roo代码)
将以下内容添加到MCP配置中:
{
"mcpServers": {
"calc-tools": {
"command": "node",
"args": ["/path/to/mcp-calc-tools/index.js"],
"env": {}
}
}
}代理使用示例
微积分
- “计算x^2+sin(x)的导数”
- “使用1000个梯形从0到2找到x^3下的区域”
金融
- 为S=100、K=105、T=0.5、r=0.03、sigma=0.2的欧洲看涨期权定价
- “为1万美元的贷款制定每月现金流计划,利率为5%,为期1年”
线性代数
- “求矩阵\[\[1,2\],\[3,4\]\]的特征值”
安全性和可靠性
- 安全评价:用途
mathjs用于表达式解析,避免危险eval(). - 输入验证:所有参数均通过Zod严格验证。
- 安全帽:数值方法对迭代和子区间有硬上限,以防止DoS。
- CVE修复:更新依赖关系以解决已知漏洞(例如。,
qs).
发展
pnpm install
pnpm start引用
@misc{mcp-calc-tools,
author/creator/steward = {ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians},
title/description = {mcp-calc-tools},
type_of_work = {Indigenous digital creation/software incorporating traditional knowledge and cultural expressions},
year = {2025},
publisher/source/event = {GitHub repository under tribal sovereignty protections},
howpublished = {\url{https://github.com/nbiish/mcp-calc-tools}},
note = {Authored and stewarded by ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians. This work embodies Indigenous intellectual property, traditional knowledge systems (TK), traditional cultural expressions (TCEs), and associated data protected under tribal law, federal Indian law, treaty rights, Indigenous Data Sovereignty principles, and international indigenous rights frameworks including UNDRIP. All usage, benefit-sharing, and data governance are governed by the COMPREHENSIVE RESTRICTED USE LICENSE FOR INDIGENOUS CREATIONS WITH TRIBAL SOVEREIGNTY, DATA SOVEREIGNTY, AND WEALTH RECLAMATION PROTECTIONS.}
}许可证
版权所有©2025ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii Kinawaabakizi),法律上也称为JUSTIN PAUL KENWABIKISE,专业记录为Nbiish JUSTIN PAUL KENWABIKISE,Anishinaabek Dodem(Anishinaabe氏族):Animikii(雷霆),酋长的后裔ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi)是海狸岛乐队的成员,也是渥太华和齐佩瓦印第安人主权大特拉弗斯乐队的注册成员。这部作品体现了传统知识和传统文化表现形式。保留所有权利。

