360 Secure SkillHub
360 安全技能中心

Pipeworx newton

该 Skill 通过 Newton API 提供符号数学运算,支持化简表达式、对 x 求导、求不定积分和多项式因式分解,并返回精确符号结果而非数值近似。可通过 curl 或 MCP 客户端调用,需要访问外部网络服务。

brucegutman
brucegutman
热度 35.78
最近更新 2026-05-11 17:40:44
分类:知识依赖:第三方 API / MCP 服务应用场景:教学辅导

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pipeworx-newton
Metadata
name
pipeworx-newton
description
Symbolic math solver — simplify, differentiate, integrate, and factor expressions via the Newton API
version
1.0.0
metadata
{"openclaw":{"requires":{"bins":["curl"]},"emoji":"∫","homepage":"https://pipeworx.io/packs/newton"}}

Newton Math Solver

Symbolic mathematics over an API. Simplify algebraic expressions, compute derivatives and integrals, and factor polynomials. All operations return exact symbolic results, not numerical approximations.

Tools

Tool Description
simplify Simplify a mathematical expression (e.g., "2^2+2(2)" becomes "8")
derive Differentiate with respect to x (e.g., "x^3+2x^2+x" becomes "3x^2+4x+1")
integrate Indefinite integral with respect to x (e.g., "x^2" becomes "1/3 x^3")
factor Factor a polynomial (e.g., "x^2-1" becomes "(x-1)(x+1)")

When to use

  • Calculus homework help — derivatives and integrals
  • Simplifying complex expressions during technical discussions
  • Factoring polynomials for algebra problems
  • Verifying hand-computed symbolic math

Example: derivative of sin(x)*x^2

curl -s -X POST https://gateway.pipeworx.io/newton/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"derive","arguments":{"expression":"x^3+2x^2+x"}}}'
{
  "operation": "derive",
  "expression": "x^3+2x^2+x",
  "result": "3 x^2 + 4 x + 1"
}

Setup

{
  "mcpServers": {
    "pipeworx-newton": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/newton/mcp"]
    }
  }
}