Windows Calculator Server
БесплатноНе проверенConnects Claude Desktop to Windows Calculator, enabling accurate mathematical calculations using Windows' native PowerShell calculation engine.
Описание
Connects Claude Desktop to Windows Calculator, enabling accurate mathematical calculations using Windows' native PowerShell calculation engine.
README
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
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]functions - Returns 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 --version - Check the path in
claude_desktop_config.jsonis correct - Ensure 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 file
Technical 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]functions - Security: 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 [email protected] 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 [email protected] 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
Установка Windows Calculator Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/rspeciale0519/WinCalcMCPFAQ
Windows Calculator Server MCP бесплатный?
Да, Windows Calculator Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Windows Calculator Server?
Нет, Windows Calculator Server работает без API-ключей и переменных окружения.
Windows Calculator Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Windows Calculator Server в Claude Desktop, Claude Code или Cursor?
Открой Windows Calculator Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Windows Calculator Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
