mcp-server

AjinkyaSambare/mcp-server

3.2

If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A simple yet powerful MCP server built using the FastMCP framework that enables basic math operations like addition, subtraction, multiplication, and division — usable right inside Claude Desktop or any MCP-compatible environment.

The Basic Math MCP Server is a minimal yet complete implementation of a Model Context Protocol (MCP) server, designed to perform basic arithmetic operations. Built using the FastMCP framework, this server allows users to perform addition, subtraction, multiplication, and division directly within MCP-compatible environments such as Claude Desktop. The server is implemented in Python and leverages the `mcp-server` library to define callable tools and host resources. It provides a low-latency, secure, and contextual integration between custom code and the capabilities of large language models (LLMs). The server can be run locally or remotely, making it a versatile tool for developers looking to extend the functionality of LLMs with custom arithmetic operations.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Integration with Claude Desktop or any MCP-compatible environment.
  • Low-latency and secure execution of arithmetic operations.
  • Customizable and extendable using Python scripts.
  • Provides a help resource for usage instructions.

Tools

  1. add

    Return the sum of two numbers

  2. Subtract

    Returns the result of a minus b

  3. multiply

    Returns the product of a and b

  4. divide

    Return the quotient of a divided by b, and handle zero-division error