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.
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
:
Then restart Claude Desktop and you'll have access to add
and subtract
tools!
Local Development
Prerequisites
- Python 3.11+
- Virtual environment
Setup
- Clone the repository:
- Create and activate virtual environment:
- Install dependencies:
- Run the server:
The server will start on http://0.0.0.0:9000/mcp/
Claude Desktop Configuration
Add this to your claude_desktop_config.json
:
Deployment
Railway
- Push to GitHub
- Go to Railway
- Connect GitHub account
- Deploy from repository
- Update Claude config with Railway URL +
/mcp/
Render
- Go to Render
- Create new Web Service
- Connect GitHub
- Build Command:
pip install -r requirements.txt
- Start Command:
python server.py
Available Tools
add(a: int, b: int) -> int
: Add two numberssubtract(a: int, b: int) -> int
: Subtract second number from first
License
MIT License
This server cannot be installed
A simple calculator MCP server that provides basic arithmetic functions (add and subtract) through HTTP transport, designed to be cloud-ready and easily deployable.
Related MCP Servers
- AsecurityAlicenseAqualityA mathematical computation service that enables users to perform symbolic calculations including basic arithmetic, algebra, calculus, equation solving, and matrix operations through the MCP protocol.Last updated -14PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides basic calculator functionality for LLMs, enabling them to perform mathematical operations like addition, subtraction, multiplication, division, modulo, and square root.Last updated -610914TypeScriptMIT License
- AsecurityFlicenseAqualityA 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.Last updated -7Python
- -securityFlicense-qualityA containerized MCP (Model Context Protocol) server that provides a simple calculator tool for adding two numbers, deployable to Kubernetes/EKS environments.Last updated -1Python