MCP Directory
Back

calculator

by sumit-saha · Python · ★ 0

This project demonstrates a simple use of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) to perform basic mathematical operations using a custom MCP server and a Streamlit client UI.

Install

pip install git+https://github.com/sumit-saha/calculator.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "calculator": {
      "command": "uvx",
      "args": [
        "git+https://github.com/sumit-saha/calculator.git"
      ]
    }
  }
}

From the README

This project demonstrates a simple use of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) to perform basic mathematical operations using a custom MCP server and a Streamlit client UI. * **MCP Server:** Exposes four operations — Add, Subtract, Multiply, Divide — as MCP tools. * **Streamlit Client:** Simple web UI to select operation and input numbers, powered by MCP protocol. * **Session-based Communication:** Client and server communicate over a session, locally (stdio). * **No authentication or persistent storage:** Pure MVP. 1. **Clone or copy this repo/project directo…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers