Windows Calculator MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Windows Calculator MCP ServerWhat is 123 × 456?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Windows Calculator MCP Server
An MCP (Model Context Protocol) server that connects Claude Desktop to Windows Calculator, enabling Claude to perform accurate mathematical calculations using Windows' native calculation engine.
Features
Accurate Calculations: Uses Windows' native PowerShell calculation engine for precise results
Automatic Integration: Starts and stops automatically with Claude Desktop
Seamless Experience: No manual server management required
Secure: Sanitizes input to prevent code injection
Simple Setup: Easy one-time configuration
Related MCP server: PC-Control MCP Server
Prerequisites
Windows Operating System
Node.js (version 16.0.0 or higher)
Claude Desktop (Windows version)
PowerShell (built into Windows)
Installation
Clone the repository
git clone https://github.com/rspeciale0519/WinCalcMCP.git cd WinCalcMCPInstall dependencies
npm installTest the server (optional)
node server.jsYou should see:
Windows Calculator MCP server running...PressCtrl+Cto stop.
Configuration
Locate your Claude Desktop config file Navigate to:
%APPDATA%\Claude\claude_desktop_config.jsonIf the file doesn't exist, create it.
Add the MCP server configuration
{ "mcpServers": { "windows-calculator": { "command": "node", "args": ["C:\\path\\to\\your\\WinCalcMCP\\server.js"], "env": {} } } }Important: Replace
C:\\path\\to\\your\\WinCalcMCP\\server.jswith the actual path to your server.js file.Restart Claude Desktop Close Claude Desktop completely and restart it.
Usage
Once configured, you can ask Claude to perform calculations:
"What is 123 × 456?"
"Calculate 15% of 2,847"
"What's the square root of 144?"
"Solve: (25 + 17) × 3 - 8"
Claude will automatically use the Windows Calculator MCP server to provide accurate results.
How It Works
The MCP server:
Receives calculation requests from Claude Desktop
Sanitizes the mathematical expression for security
Executes the calculation using PowerShell's
[math]functionsReturns the precise result to Claude
Runs as a background process managed by Claude Desktop
Supported Operations
Basic Arithmetic: Addition (+), Subtraction (-), Multiplication (*), Division (/)
Parentheses: For order of operations
Decimal Numbers: Full floating-point precision
Mathematical Functions: Via PowerShell's math library
Troubleshooting
Server won't start
Verify Node.js is installed:
node --versionCheck the path in
claude_desktop_config.jsonis correctEnsure PowerShell is available:
powershell -Command "Get-Host"
Calculations not working
Restart Claude Desktop completely
Check that the MCP server appears in Claude Desktop's settings
Verify the server.js file exists at the specified path
Permission errors
Run PowerShell as Administrator and execute:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
File Structure
WinCalcMCP/
├── server.js # Main MCP server code
├── package.json # Node.js dependencies and metadata
├── .gitignore # Git ignore rules
└── README.md # This fileTechnical Details
Language: JavaScript (Node.js)
MCP SDK Version: ^0.4.0
Protocol: Uses stdio transport for communication with Claude Desktop
Calculation Engine: Windows PowerShell
[math]functionsSecurity: Input sanitization prevents code injection
Contributing
Fork the repository
Create a feature branch
Make your changes
Test thoroughly on Windows
Submit a pull request
License
This project is licensed under a Personal-Use-Only Software License.
What this means:
✅ Personal use is FREE - Use for learning, personal projects, experimentation
✅ Modify and customize for your personal needs
✅ Share with family/friends for non-commercial purposes
❌ Commercial use prohibited - No business, professional, or revenue-generating use
❌ No commercial distribution - Cannot be used in business environments
Commercial Licensing Available
If you need to use this MCP server for commercial purposes, please contact 4miodio@gmail.com for commercial licensing options.
See the LICENSE file for complete terms and conditions.
Support
If you encounter issues:
Check the troubleshooting section above
Verify your Windows version supports PowerShell
Ensure Claude Desktop is the latest version
Open an issue on GitHub with details about your setup
Note: Support is provided for personal use only. Commercial users should contact us for commercial licensing and support options.
Commercial Licensing
For commercial use, professional support, or enterprise deployment, please contact 4miodio@gmail.com to discuss commercial licensing options.
Acknowledgments
Built using the Model Context Protocol (MCP) SDK
Designed for integration with Anthropic's Claude Desktop
Uses Windows' native calculation capabilities for accuracy
Available Tools
1 toolcalculateB
Perform accurate calculations using Windows Calculator
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Mathematical expression to calculate (e.g., "2+2", "15*8", "100/4") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description claims 'accurate calculations' but does not disclose any behavioral traits such as supported operations, precision, error handling, or any side effects. Since no annotations are provided, the description carries the full burden and falls short.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no unnecessary words. It is front-loaded and every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that the tool has one parameter, no siblings, and no output schema, the description is adequate but could be more complete by mentioning supported operations or result format. It is minimally complete for simple use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents the 'expression' parameter. The description adds an example (e.g., '2+2') which provides mild context, but does not significantly add meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it performs mathematical calculations using Windows Calculator. It uses a specific verb ('Perform') and resource ('calculations'), but lacks differentiation from any siblings as none are listed.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool or when not to. There are no sibling tools or context about alternatives, and no prerequisites or exclusions are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Only one tool exists, so there is no possibility of confusion between tools.
With a single tool named 'calculate', naming is trivially consistent.
A single tool for a calculator server is far too few; typical calculator operations require multiple functions (e.g., basic arithmetic, scientific, conversions).
The server only provides a generic 'calculate' tool, lacking specific operations like add, subtract, multiply, divide, or scientific functions, making it severely incomplete for a calculator.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Precision math engine for AI agents. 203 exact methods. Zero hallucination.
AI-callable calculators and engineering models with real formulas. No hallucinated math.
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Free calculators as MCP tools: finance, taxes, health, units, dates. Search, fetch & compute.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables comprehensive Windows system management through Claude Desktop, including PowerShell/CMD execution, file operations, archive handling, Git tools, network testing, and system monitoring. Provides a complete toolkit for Windows automation and administration tasks.593MIT
- FlicenseNot gradedqualityCmaintenanceEnables control of Windows PC through Claude Desktop, including executing shell commands, managing system resources, controlling audio/power, launching applications, taking screenshots, and managing windows and processes.
- FlicenseAqualityCmaintenanceBridges Claude Desktop to local Windows 10 development environments to enable repository reading, documentation searching, and isolated code execution. It provides a secure interface for running allowlisted terminal commands and scripts directly through natural language.4
- AlicenseNot gradedqualityBmaintenanceEnables Claude Desktop to control mouse, keyboard, and clipboard on Windows, allowing AI-driven computer interaction tasks like clicking, typing, scrolling, and screenshotting.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rspeciale0519/WinCalcMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server