Skip to main content
Glama
FastMCP QuickCalc Server

FastMCP QuickCalc Server

FastMCP QuickCalc Server

🎉 LIVE DEPLOYMENT: https://web-production-de9a.up.railway.app/mcp/

A simple calculator MCP (Model Context Protocol) server built with FastMCP and deployed on Railway.

🚀 Live Demo

Your FastMCP server is live and running! You can use it directly in Claude Desktop.

Related MCP server: Calculator MCP Server

Features

  • Add Function: Add two numbers together

  • Subtract Function: Subtract second number from first number

  • HTTP Transport: Uses streamable HTTP for easy deployment

  • Cloud Deployed: Running 24/7 on Railway

  • Production Ready: Configured for reliable operation

Quick Start with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "quickcalc-mcp-server": {
      "url": "https://web-production-de9a.up.railway.app/mcp/"
    }
  }
}

Then restart Claude Desktop and you'll have access to add and subtract tools!

Local Development

Prerequisites

  • Python 3.11+

  • Virtual environment

Setup

  1. Clone the repository:

git clone https://github.com/isaramadunika/fast-mcp.git
cd fast-mcp
  1. Create and activate virtual environment:

python -m venv .venv
# Windows
.venv\Scripts\activate
# Linux/Mac
source .venv/bin/activate
  1. Install dependencies:

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

python server.py

The server will start on http://0.0.0.0:9000/mcp/

Claude Desktop Configuration

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "quickcalc-mcp-server": {
      "command": "path/to/your/.venv/Scripts/python.exe",
      "args": ["path/to/your/server.py"],
      "cwd": "path/to/your/project",
      "env": {
        "PYTHONPATH": "path/to/your/project"
      }
    }
  }
}

Deployment

Railway

  1. Push to GitHub

  2. Go to Railway

  3. Connect GitHub account

  4. Deploy from repository

  5. Update Claude config with Railway URL + /mcp/

Render

  1. Go to Render

  2. Create new Web Service

  3. Connect GitHub

  4. Build Command: pip install -r requirements.txt

  5. Start Command: python server.py

Available Tools

  • add(a: int, b: int) -> int: Add two numbers

  • subtract(a: int, b: int) -> int: Subtract second number from first

License

MIT License

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides basic arithmetic calculation tools through an HTTP-accessible MCP server. Supports mathematical operations like addition with streamable responses for integration with MCP clients.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A simple MCP server that provides basic calculator functionality for performing mathematical operations. Built with FastMCP and demonstrates fundamental MCP server implementation patterns.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A basic MCP server example that provides simple arithmetic tools (addition and subtraction) and personalized greeting resources. Serves as a foundation for learning MCP server implementation and development.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A simple MCP server that exposes a calculator tool (addition) and a dynamic greeting resource.
      17
      -