drio
Open app

MCP Calculator Server

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP Calculator Server is a Model Context Protocol (MCP) server implementation that provides a basic calculator tool through a REST API, allowing users to perform arithmetic operations.

To use the MCP Calculator Server, deploy it in your environment and interact with it via HTTP or WebSocket requests to perform arithmetic operations.

  • Supports basic arithmetic operations (addition, subtraction, multiplication, division) - MCP-compliant API endpoints for integration - JSON schema validation for requests - Robust error handling for various scenarios - Multiple communication modes including HTTP, WebSocket, and stdio - Specialized entry points for different deployment scenarios
  1. Integrating a calculator tool in applications requiring arithmetic operations.
  2. Providing a backend service for educational tools that need calculation capabilities.
  3. Enabling real-time calculations in web applications through WebSocket communication.

Add to your AI client

Use these steps to connect MCP Calculator Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "vault-python-mcp-server-kumartheashwani": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-vault-python-mcp-server-kumartheashwani"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "vault-python-mcp-server-kumartheashwani": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-vault-python-mcp-server-kumartheashwani"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "vault-python-mcp-server-kumartheashwani": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-vault-python-mcp-server-kumartheashwani"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "vault-python-mcp-server-kumartheashwani": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-vault-python-mcp-server-kumartheashwani"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "vault-python-mcp-server-kumartheashwani": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-vault-python-mcp-server-kumartheashwani"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "vault-python-mcp-server-kumartheashwani": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-vault-python-mcp-server-kumartheashwani"
      ]
    }
  }
}

FAQ

What operations can the MCP Calculator Server perform?

The server can perform addition, subtraction, multiplication, and division operations.

How do I deploy the MCP Calculator Server?

You can deploy it using Docker or run it directly in a Python environment.

Is there a way to integrate it with other tools?

Yes, it provides dedicated MCP-compatible endpoints for integration with tools like Smithery.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2238,"uuid":"eeefad5d-bce2-442c-904a-54feb21d3283","name":"vault-python-mcp-server","title":"MCP Calculator Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/1131688?v=4","created_at":"2025-03-09T04:29:21.617Z","updated_at":"2025-03-12T10:20:31.788Z","status":"created","author_name":"kumartheashwani","author_avatar_url":"https://avatars.githubusercontent.com/u/1131688?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/kumartheashwani/vault-python-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-06 19:39:23\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]