Calculator

by quantgeekdev

Not rated
GitHub

About

A simple calculator server for performing basic arithmetic operations.

Details

Author
quantgeekdev
Categories
Productivity, Other

Setup

Install Calculator in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/quantgeekdev/mcp-add-sse

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server built with mcp-framework.

# Install dependencies npm install # Build the project npm run build
calculator/ ├── src/ │ ├── tools/ # MCP Tools │ │ └── ExampleTool.ts │ └── index.ts # Server entry point ├── package.json └── tsconfig.json

The project comes with an example tool insrc/tools/ExampleTool.ts. You can add more tools using the CLI:

# Add a new tool mcp add tool my-tool # Example tools you might create: mcp add tool data-processor mcp add tool api-client mcp add tool file-handler
import { MCPTool } from "mcp-framework"; import { z } from "zod"; interface MyToolInput { message: string; } class MyTool extends MCPTool<MyToolInput> { name = "my_tool"; description = "Describes what your tool does"; schema = { message: { type: z.string(), description: "Description of this input parameter", }, }; async execute(input: MyToolInput) { // Your tool logic here return Processed: ${input.message}; } } export default MyTool;

- Ensurenameis unique and follows npm naming conventions
- Set appropriateversion
- Adddescription,author,license, etc.
- Checkbinpoints to the correct entry file

npm run build npm link calculator # Test your CLI locally

Login to npm (create account if necessary):

After publishing, users can add it to their claude desktop client (read below) or run it with npx

## Using with Claude Desktop ### Installing via Smithery To install Calculator for Claude Desktop automatically via Smithery: 
bash npx -y @smithery/cli install @QuantGeekDev/mcp-add-sse --client claude

Add this configuration to your Claude Desktop config file:

MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%/Claude/claude_desktop_config.json


{ "mcpServers": { "calculator": { "command": "node", "args":["/absolute/path/to/calculator/dist/index.js"] } } }

Add this configuration to your Claude Desktop config file:

MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%/Claude/claude_desktop_config.json


{ "mcpServers": { "calculator": { "command": "npx", "args": ["calculator"] } } }
``

- Make changes to your tools
- Run
npm run build`to compile
- The server will automatically load your tools on startup

Automated document processing and extraction

Great Question is an Agentic UX research platform for product builders. Its MCP lets AI agents create studies directly from any AI tool, surface insights, find the right research candidates, and query your entire research repository.

Create and edit Tally forms and analyze submissions

An MCP server for ActivityWatch, allowing interaction with your personal time tracking data.

AI2Fin | Intelligent Financial Management

Tools for expense tracking, tax deductions, bill management, and financial analysis.

Manage personal finances, track transactions, and create budgets with Budgetsco.

Math evaluation, simplification, derivatives

A powerful server for Excel file processing, data analysis, and visualization, leveraging Python and Go for high performance.

Chinese calendar MCP server — holidays, lunar/solar conversion, 24 solar terms, workday calculation, 13 endpoints, zero API dependency

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.