integrate

Pack: newton · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/integrate for the schema, then POST the same URL with its arguments for the data.

Find the indefinite integral of an expression with respect to x. Input algebraic notation (e.g., “x^2”). Returns antiderivative with constant C.

Parameters

NameTypeRequiredDescription
expressionstringyesExpression to integrate (e.g., “x^2”, “cos(x)”, “x^3+x”)

Example call

Arguments

{
  "expression": "x^2"
}

curl

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

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('integrate', {
  "expression": "x^2"
});

More examples

{
  "expression": "cos(x)"
}

Response shape

Always returns: operation, input, result

FieldTypeDescription
operationstringOperation name (integrate)
inputstringThe input expression
resultstring | nullAntiderivative expression with constant C or null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "description": "Operation name (integrate)"
    },
    "input": {
      "type": "string",
      "description": "The input expression"
    },
    "result": {
      "type": [
        "string",
        "null"
      ],
      "description": "Antiderivative expression with constant C or null"
    }
  },
  "required": [
    "operation",
    "input",
    "result"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the newton pack
{
  "mcpServers": {
    "newton": {
      "url": "https://gateway.pipeworx.io/newton/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026