JUHE API Marketplace
aem-edge-delivery avatar
MCP Server

MCP Math Server

A Node.js server that processes mathematical calculations and natural language math queries through RESTful API endpoints.

0
GitHub Stars
8/23/2025
Last Updated
No Configuration
Please check the documentation below.

README Documentation

MCP Math Server

A Node.js server that handles mathematical calculations and natural language math queries.

Features

  • Basic arithmetic operations (add, subtract, multiply, divide)
  • Advanced operations (square root, power)
  • Natural language processing for math queries
  • RESTful API endpoints
  • CORS enabled
  • Error handling

Installation

npm install

Usage

Start the server:

npm start

For development with auto-reload:

npm run dev

API Endpoints

1. Calculate Endpoint

POST /calculate

Body:

{
    "operation": "add",
    "params": { "a": 5, "b": 3 }
}

2. Natural Language Endpoint

POST /natural

Body:

{
    "query": "what is 5 plus 3"
}

Supported Operations

  • Addition: "add", "plus", "+"
  • Subtraction: "subtract", "minus", "-"
  • Multiplication: "multiply", "times", "*"
  • Division: "divide", "divided by", "/"
  • Square Root: "square root", "sqrt"
  • Power: "power", "^"

License

MIT

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source