arithmetic-mcp-server
Arithmetic MCP Server
Documentation
四則演算 MCP サーバー
このMCPサーバーは、基本的な四則演算(足し算、引き算、掛け算、割り算)を実行するためのツールを提供します。
機能
このサーバーは以下の四則演算ツールを提供します:
1. add - 2つの数値を足し算します
2. subtract - 2つの数値を引き算します
3. multiply - 2つの数値を掛け算します
4. divide - 2つの数値を割り算します(ゼロ除算の場合はエラーを返します)
インストール方法
1. このリポジトリをクローンまたはダウンロードします
2. 依存パッケージをインストールします:
npm install3. TypeScriptをコンパイルします:
npm run buildClineでの設定方法
Clineでこのサーバーを使用するには、Claude Desktop Appの設定ファイルを編集する必要があります:
1. 以下のパスに設定ファイルを作成または編集します:
~/Library/Application Support/Claude/claude_desktop_config.json2. 以下の内容を追加します(既存のmcpServersオブジェクトがある場合は、その中に追加します):
{
"mcpServers": {
"arithmetic": {
"command": "node",
"args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
"disabled": false,
"autoApprove": []
}
}
}3. Claude Desktop Appを再起動します
使用例
Clineで以下のようなプロンプトを使用することで、四則演算ツールを呼び出すことができます:
- 「5と3を足し算してください」
- 「10から7を引いてください」
- 「6と8を掛け算してください」
- 「20を4で割ってください」
技術的な詳細
このサーバーは以下の技術を使用しています:
- TypeScript
- Model Context Protocol (MCP) SDK
- Zod(バリデーション用)
Frequently asked questions
What is arithmetic-mcp-server?
arithmetic-mcp-server is Arithmetic MCP Server
How do I install arithmetic-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is arithmetic-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/YuheiNakasaka/arithmetic-mcp-server.
Related MCP tools
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.
Enhanced MCP server for interactive user feedback and command execution in AI-assisted development, featuring dual interface support (Web UI and Desktop Application) with intelligent environment detection and cross-platform compatibility.
A powerful Zotero AI and MCP plugin with ChatGPT, Gemini 3.7, Claude Fable 5, Claude Opus 5, DeepSeek V4, Grok, OpenRouter, Kimi k3, GLM 5.3, SiliconFlow, GPT-oss, Gemma 4, Qwen 3.8
Connect your browser to AI models. Just use Dia on Chrome, Arc or Firefox.
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP