MCP Calculator Server

MCP Calculator Server

mcp-calculator-server-yinebebt•byyinebebt

A Model Context Protocol server offering calculator tools, math resources, and prompts for mathematical operations.

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

WHAT IT DOES

  • •Provides a calculate tool for mathematical operations with operator precedence, parentheses, and scientific notation.
  • •Generates random numbers within specified ranges using various probability distributions, with elicitation when no distribution is given.
  • •Exposes mathematical constants as resources, including a JSON list and individual resources by name.
  • •Offers prompts for generating math word problems and explaining calculations step by step.

BEST FOR

  • •Performing arithmetic expressions with precedence and parentheses in MCP-enabled clients.
  • •Generating random numbers with selectable probability distributions.
  • •Producing mathematical word problems or step-by-step calculation explanations.

ABOUT MCP-CALCULATOR-SERVER-YINEBEBT

MCP Calculator Server is cataloged as an MCP server attributed to yinebebt. A Model Context Protocol server offering calculator tools, math resources, and prompts for mathematical operations. 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 MCP 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 server support running over stdio?

Yes, stdio transport is available for local clients such as Cursor, Claude Desktop, and MCP Inspector.

How are argument completions handled?

The server provides completions for prompt arguments like difficulty and topic, and for constant names in the resource template.

Upstream README

View this exact version on GitHub

README.md · c15026d701a0 · Fetched 2026-11-13 13:25:17 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.

MCP Calculator Server

A Model Context Protocol (MCP) server that provides calculator functionality with robust mathematical operations. Built on the official go-sdk.

Features

Tools

  • calculate: Mathematical operations with proper operator precedence, parentheses support, and scientific notation
  • random_number: Generate random numbers within specified ranges using various probability distributions (uses elicitation when no distribution is given)

Both tools declare tool annotations (read-only, closed-world hints), titles, and structured output schemas.

Resources

  • math://constants: Mathematical constants (π, e, φ, √2, ln2, ln10) in JSON format
  • math://constants/{name}: Resource template — a single constant by name, e.g. math://constants/pi
  • server://info: Server information and capabilities overview

Prompts

  • math_problem: Generate mathematical word problems with configurable difficulty and topics
  • explain_calculation: Step-by-step mathematical expression explanations

Protocol Features

  • Completions: Argument completion for prompt arguments (difficulty, topic) and constant names in the resource template
  • Elicitation: random_number asks the client which distribution to use when not specified
  • Logging: Tool activity is forwarded to the client as MCP log messages (in addition to stderr)
  • Icons & metadata: Server and tool icons, titles, website URL, and instructions

Transport Modes

  • stdio: For local clients (Cursor, Claude Desktop, MCP Inspector). Use this unless you have a reason not to.
  • streamable-http: For trusted networks only. Binds all interfaces with no authentication and no Origin check. Put it behind a reverse proxy that enforces auth (and Origin) or do not expose it.

Defaults:

  • Transport: streamable-http if TRANSPORT is unset (convenient for demos; not a production default)
  • Port: 8080 (PORT)

For anything that is not a throwaway demo, run TRANSPORT=stdio or terminate TLS and auth in front of HTTP.

Installation

Prebuilt binaries for Linux, macOS, and Windows (amd64/arm64) are attached to each GitHub release.

Or install with Go:

go install github.com/yinebebt/mcp-calculator-server@latest

Usage

# Run with stdio
TRANSPORT=stdio mcp-calculator-server

# Run with HTTP (serves MCP at :8080/mcp, health check at /health)
mcp-calculator-server

# Test
go test ./...

MCP Client Configuration

For testing with MCP Client:

{
  "command": "/path/to/mcp-calculator-server",
  "env": {
    "TRANSPORT": "stdio"
  }
}

Mathematical Features

  • Operator precedence: 2+3*4 = 14
  • Parentheses: (2+3)*4 = 20
  • Scientific notation: 1e2 = 100
  • Error detection: Division by zero, invalid syntax, unmatched parentheses, non-finite results (NaN/Inf)

Release

Releases are built with GoReleaser via GitHub Actions. Pushing a vX.Y.Z tag cross-compiles for linux/darwin/windows × amd64/arm64 and attaches archives and checksums to the GitHub release.

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 MCP 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-server-yinebebt)

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