✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

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

Featured Templates

View More
AI Agents
AI Video Generator
252 2007 5.0
AI Assistants
Talk with Claude 3
159 1523
Verified Icon
AI Agents
AI Chatbot Starter Kit
1336 8300 5.0
AI Characters
Your Speaking Avatar
169 928
AI Characters
Sarcastic AI Chat Bot
129 1713

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.