MCP Calculator Server
@kumartheashwani
About MCP Calculator Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"vault-python-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Calculator Server?
A Model Context Protocol (MCP) server that provides a basic calculator tool for arithmetic operations. It integrates with MCP-compatible clients and can be deployed in Smithery. The server supports HTTP, WebSocket, and stdio communication modes.
How to use MCP Calculator Server?
Install dependencies in a virtual environment, then run the server in the desired mode. For HTTP mode, set MCP_HTTP_MODE=1 and start with uvicorn server:app --host 0.0.0.0 --port 8000. For Smithery local tool integration, set MCP_STDIO_MODE=1 and LOGGING_CONFIG=stdio, then run python server.py. Use the provided shell scripts for convenience.
Key features of MCP Calculator Server
- Basic arithmetic: add, subtract, multiply, divide
- MCP‑compatible JSON‑RPC and WebSocket endpoints
- Dedicated Smithery endpoints at
/mcp - JSON schema validation and error handling
- Multiple communication modes (HTTP, WebSocket, stdio)
- Specialized entry points for deployment scenarios
Use cases of MCP Calculator Server
- Integrating a simple calculator into MCP‑enabled applications
- Running arithmetic operations in containerized environments
- Using as a local tool within Smithery workflows
- Testing and prototyping MCP server capabilities
FAQ from MCP Calculator Server
What operations does the calculator support?
Add, subtract, multiply, and divide. Division by zero is handled with an error.
How do I run the server in HTTP mode?
Set the environment variable MCP_HTTP_MODE=1 and start with uvicorn server:app --host 0.0.0.0 --port 8000, or use the provided start-container.sh script.
How do I integrate with Smithery?
For local tools, use stdio mode with MCP_STDIO_MODE=1 and LOGGING_CONFIG=stdio. For remote tools, use HTTP mode and point Smithery to the /mcp endpoint.
What environment variables are required for stdio mode?
MCP_STDIO_MODE=1 and LOGGING_CONFIG=stdio are required for Smithery local tool integration.
Can I run the server in a Docker container?
Yes, both HTTP and Smithery‑specific Dockerfiles are provided. Run with docker build and docker run using the appropriate environment variables.
Frequently asked questions
What operations does the calculator support?
Add, subtract, multiply, and divide. Division by zero is handled with an error.
How do I run the server in HTTP mode?
Set the environment variable `MCP_HTTP_MODE=1` and start with `uvicorn server:app --host 0.0.0.0 --port 8000`, or use the provided `start-container.sh` script.
How do I integrate with Smithery?
For local tools, use stdio mode with `MCP_STDIO_MODE=1` and `LOGGING_CONFIG=stdio`. For remote tools, use HTTP mode and point Smithery to the `/mcp` endpoint.
What environment variables are required for stdio mode?
`MCP_STDIO_MODE=1` and `LOGGING_CONFIG=stdio` are required for Smithery local tool integration.
Can I run the server in a Docker container?
Yes, both HTTP and Smithery‑specific Dockerfiles are provided. Run with `docker build` and `docker run` using the appropriate environment variables.
Basic information
More Developer Tools MCP servers

discoverGPT
Joe MonastierodiscoverGPT is visualAI's unified MCP gateway for AI commerce, exposing 29 tools across four capabilities on one canonical product catalog: trimodal search (natural-language, precise-color, and image-similarity), AI cata

Skilder.ai
skilder.aiRun skills and MCP tools like production software: versioned, composed into roles, distributed to every agent from one governed library.

Raccha AI
Shree MandadiMCP-first toolbox for agents: namespaced key-value storage, a FIFO queue, auth, and a handful of stateless utility tools (JWT decode, hashing, cert inspection, CIDR math). Free while in early access. This repository is a

Hermoso
HermosoHermoso is a remote MCP server that runs a full marketing operation from your agent: research competitor ads, generate image and video ads, publish to social channels, and build and manage paid campaigns. 718 tools (306

directree
coburn2716directree MCP server — query the honest software directory from any AI assistant
Comments