Skip to main content
Glama
R-Yash

MCP Math Calculator Server

by R-Yash

Math Operations MCP Server

A simple Model Context Protocol (MCP) server built with FastMCP 2.0 that provides basic math operations.

Features

This server provides two tools:

  • add: Add two numbers together

  • multiply: Multiply two numbers together

Related MCP server: Calculator MCP Server

Local Development

  1. Install dependencies:

pip install -r requirements.txt
  1. Run the server:

python main.py

Deployment on Vercel

  1. Install Vercel CLI:

npm i -g vercel
  1. Deploy to Vercel:

vercel
  1. Follow the prompts to configure your deployment.

Usage

Once deployed, the MCP server will be available at your Vercel URL. The server exposes two tools:

Add Tool

  • Function: add(a: float, b: float) -> float

  • Description: Adds two numbers together

  • Parameters:

    • a: First number to add

    • b: Second number to add

  • Returns: The sum of a and b

Multiply Tool

  • Function: multiply(a: float, b: float) -> float

  • Description: Multiplies two numbers together

  • Parameters:

    • a: First number to multiply

    • b: Second number to multiply

  • Returns: The product of a and b

Project Structure

MCPServer/
├── main.py           # Main MCP server implementation
├── requirements.txt  # Python dependencies
├── vercel.json      # Vercel deployment configuration
├── pyproject.toml   # Project metadata
└── README.md        # This file

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

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

  • Math.js MCP — wraps the mathjs.org API (free, no auth)

  • SmartMoney77 MCP v0.6.0 — 14 public tools that turn financial questions into exact numbers and citable links. New: historical_investment_return and compare_investments, which compute "what if I had invested" results from real yearly price data. Also compound interest, FIRE number, credit-card payoff, emergency fund, inflation, latte factor, investment fees, cost of waiting, plus discovery/deep-link/share-pack tools for a catalog of calculators in 6 languages (he/en/ar/es/pt/in). Public, no login. Endpoint: https://smartmoney77.com/mcp

  • The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.

    471

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides basic arithmetic operations and advanced mathematical functions through the Model Context Protocol (MCP), with features like calculation history tracking and expression evaluation.
    1
    -
  • F
    license
    B
    quality
    D
    maintenance
    A numerical calculator based on Model Context Protocol (MCP) that provides simple arithmetic operations including addition, subtraction, multiplication, division, power, square root and integer factorial calculations.
    7
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A simple calculator MCP server that provides basic arithmetic functions (add and subtract) through HTTP transport, designed to be cloud-ready and easily deployable.
    -

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/R-Yash/mcpserver'

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