Calculator MCP

Calculator MCP

A numerical calculator based on Model Context Protocol (MCP) that provides simple arithmetic operations including addition, subtraction, multiplication, division, power, square root and integer factorial calculations.

Category
Visit Server

README

计算器 MCP

基于 Model Context Protocol (MCP) 的数值计算器,提供了简单的加减乘除、幂运算、平方根运算和整数阶乘运算。

Tools

{
  "tools": [
    {
      "name": "add",
      "description": "执行浮点数加法运算",
      "inputSchema": {
        "type": "object",
        "properties": {
          "a": {
            "title": "A",
            "type": "number"
          },
          "b": {
            "title": "B",
            "type": "number"
          }
        },
        "required": [
          "a",
          "b"
        ],
        "title": "addArguments"
      }
    },
    {
      "name": "subtract",
      "description": "执行浮点数减法运算",
      "inputSchema": {
        "type": "object",
        "properties": {
          "a": {
            "title": "A",
            "type": "number"
          },
          "b": {
            "title": "B",
            "type": "number"
          }
        },
        "required": [
          "a",
          "b"
        ],
        "title": "subtractArguments"
      }
    },
    {
      "name": "multiply",
      "description": "执行浮点数乘法运算",
      "inputSchema": {
        "type": "object",
        "properties": {
          "a": {
            "title": "A",
            "type": "number"
          },
          "b": {
            "title": "B",
            "type": "number"
          }
        },
        "required": [
          "a",
          "b"
        ],
        "title": "multiplyArguments"
      }
    },
    {
      "name": "divide",
      "description": "执行浮点数除法运算\n    Args:\n        b: 除数(必须非零)\n    ",
      "inputSchema": {
        "type": "object",
        "properties": {
          "a": {
            "title": "A",
            "type": "number"
          },
          "b": {
            "title": "B",
            "type": "number"
          }
        },
        "required": [
          "a",
          "b"
        ],
        "title": "divideArguments"
      }
    },
    {
      "name": "power",
      "description": "计算幂运算",
      "inputSchema": {
        "type": "object",
        "properties": {
          "base": {
            "title": "Base",
            "type": "number"
          },
          "exponent": {
            "title": "Exponent",
            "type": "number"
          }
        },
        "required": [
          "base",
          "exponent"
        ],
        "title": "powerArguments"
      }
    },
    {
      "name": "sqrt",
      "description": "计算平方根",
      "inputSchema": {
        "type": "object",
        "properties": {
          "number": {
            "title": "Number",
            "type": "number"
          }
        },
        "required": [
          "number"
        ],
        "title": "sqrtArguments"
      }
    },
    {
      "name": "factorial",
      "description": "计算整数阶乘",
      "inputSchema": {
        "type": "object",
        "properties": {
          "n": {
            "title": "N",
            "type": "integer"
          }
        },
        "required": [
          "n"
        ],
        "title": "factorialArguments"
      }
    }
  ]
}

MCP 服务器配置

{
    "mcpServers": {
        "calculator": {
        "command": "uv",
        "args": [
            "run", "calculator.py"
            ]
        }
    }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured