FastMCP calculator server

FastMCP calculator server

mcp_calculator•bykeerthiningegowda

A simple calculator MCP server built from scratch with FastMCP, exploring basic MCP building blocks and tool calling.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Offers add, subtract, multiply, divide and modulo calculator operations as tools.
  • •Is an MCP-compliant server built using FastMCP for simplicity and automatic error handling.
  • •Can be inspected and debugged using MCP Inspector.

BEST FOR

  • •Learning the basic building blocks of MCP and tool calling from scratch.
  • •Exploring arithmetic tool calls driven by an LLM through an MCP client.

ABOUT MCP_CALCULATOR

FastMCP calculator server is cataloged as an MCP server attributed to keerthiningegowda. A simple calculator MCP server built from scratch with FastMCP, exploring basic MCP building blocks and tool calling. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for FastMCP calculator server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the calculator server support subtraction?

Yes, the calculator app performs add, subtract, multiply, divide and modulo operations.

Upstream README

View this exact version on GitHub

README.md · 983531c7b3fb · Fetched 2026-11-13 13:40:27 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

A simple calculator app using Model Context protocol

Purpose of this repo

To explore basic building blocks of MCP and intricacies of tool calling within MCP, from scratch. Keeping it as simple as possible without handling many edge cases. Understand how to build both MCP Server and clients.

Core Features

  • A calculator app to do add, subtract, multiply, divide and modulo
  • Debugging server using MCP Inspector
  • A MCP-based client that takes a query from the user to perform the above mentioned operations

    Future possibilities for quick concept exploration

  • Sequential tool calling
  • Storage of previous chat history is not supported to maintain simplicity
  • Input validation by server and/or client

  • 🚨 Most of the technolgies used in this repo like FastMCP, tool calling in anthropic and MCP itself are very recent. So there are some features in these technologies that are either not available or buggy. But the main goal is a simple exploration without using cursor or Claude Desktop 🚨

    MCP compliant Calculator Server

    Is built using FastMCP, due to its simplicty and automatic error handling. Points to remember:-

  • Always name the server either as mcp or server or app. Throws an error otherwise and is quite explicit
  • Annotations can be included as a future reference. Right now it is not supported in FastMCP for the version in uv.lock
  • MCP client

    Makes a connection to MCP server and should have access to LLM Would higly suggest to explore and inspect the objects returned when the model uses a tool and a genertic reponse Try to stress test giving numbers in different format. Eg:- Add 2 and 3 v/s Add two and three. Eg:- Try to use ambiguous and large numbers:- Add seven hundred thousand trillion with three hundred billion

    Workflow overview

    alt text

    To reproduce the working environment whre .toml file is located

    uv sync

    TO activate the working environment use

    source .venv/bin/activate

    To simply inspect the server

    Go to fastmcp_calculator_server folder and run
    mcp dev server.py alt_text

    Add your anthropic API key to .env file

    To run the whole MCP app

    Go to mcp_calculator/mcp_compliant_client and run
    python client.py <path to server.py>

    More about this on medium.

    Install configuration

    Are you the maintainer?

    Claim this server with your GitHub account to request manual ownership verification.

    README Embed Badge
    Markdown

    Link to the catalog listing for FastMCP calculator server from your README. This badge does not certify ownership, compatibility or security.

    [![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp_calculator)

    REPOSITORY STATS

    GitHub StarsUnavailable
    ForksUnavailable

    Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

    Downloads and pulls

    Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

    No reviewed package or image identity; download statistics are not listed yet.

    Related developer tools MCP Servers

    Alternative and complementary servers in the same category

    View all in developer tools →
    Postbye
    postbye-mcp•postbye-team

    A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

    Repository stats unavailable
    Developer Tools
    Singapore Proxy MCP
    singapore-proxy-mcp•Xavierfok

    A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

    0
    Developer Tools

    A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

    Repository stats unavailable
    Developer Tools