Skip to main content
Glama

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

Related MCP server: Calculator MCP Server

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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables mathematical operations and calculations through an MCP server interface. Provides computational capabilities accessible via HTTP endpoints for mathematical processing tasks.
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A mathematical utility server implementing the Model Context Protocol to provide tools for basic and advanced calculations. It enables users to perform operations such as addition, subtraction, powers, square roots, and percentages through natural language.

View all related MCP servers

Related MCP Connectors

  • This MCP server enables users to perform scientific computations regarding linear algebra and vect…

  • Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace

  • Hosted MCP server for business-day math, deadline planning, meeting overlap, and SLA calculations.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aem-edge-delivery/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server