MCP Server Suite: Calculator + Gmail Integration
About
Two MCP Servers managed parallely by Claude Desktop MCP Client to perform complex math calculations and then send the response via email
Details
- License
- View license
Explore
- Complex BODMAS calculations with step-by-step reasoning
- Advanced math functions: trigonometric, exponential, logarithmic, factorial, Fibonacci
- Send calculation results via email
- Retrieve, read, and manage unread emails
- OAuth 2.0 authentication for Gmail API
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server Suite: Calculator + Gmail IntegrationCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Python 3.12 or higher
- Claude Desktop MCP Client
- Google Cloud Platform account (for Gmail API)
1. Create a new Google Cloud project
2. Enable the Gmail API
3. Configure OAuth consent screen:
- Select "external" (no publishing required)
- Add your email as a "Test user"
4. Add OAuth scope: https://www.googleapis.com/auth/gmail/modify
5. Create OAuth Client ID for "Desktop App"
6. Download and save OAuth credentials JSON file
Add both servers to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
json{
"mcpServers": {
"calculator": {
"command": "uv",
"args": [
"--directory",
"[path-to-repo]/calculator-mcp-server",
"run",
"mcp-server"
]
},
"gmail": {
"command": "uv",
"args": [
"--directory",
"[path-to-repo]/gmail-mcp-server",
"run",
"gmail",
"--creds-file-path",
"[path-to-credentials]/client_creds.json",
"--token-path",
"[path-to-tokens]/app_tokens.json"
]
}
}
}
1. Start Calculator Server:
bashcd calculator-mcp-server
python math-mcp-server/mcp_server.py
2. Start Gmail Server:
bash cd gmail-mcp-server
python src/gmail/server.py --creds-file-path [path]/client_creds.json --token-path [path]/app_tokens.json
```
3. Use in Claude Desktop:
- Perform calculations: "Calculate 5 * (3 + 2) - 4 / 2"
- Send results: "Send these calculation results to [email protected]"
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server suite: calculator + gmail integration": {
"MCP-Server-V4-Gmail": {
"command": "uv",
"args": [
"venv"
]
}
}
}
}
McpServers
{
"MCP-Server-V4-Gmail": {
"command": "uv",
"args": [
"venv"
]
}
}
A powerful Model Context Protocol (MCP) server suite that combines an advanced calculator with Gmail integration, allowing you to perform complex mathematical calculations and send results via email through Claude Desktop MCP Client.
๐ Features
Advanced Calculator
- ๐ฑ Complex BODMAS (Bracket, Order, Division, Multiplication, Addition, Subtraction) operations - ๐งฎ Advanced mathematical functions: - Trigonometric functions (sin, cos, tan) - Exponential and logarithmic operations - Square and cube roots - Factorial calculations - Fibonacci sequence generation - โ Step-by-step reasoning verification - ๐ Calculation consistency checksGmail Integration
- ๐ง Send calculation results via email - ๐ฅ Retrieve and read unread emails - ๐๏ธ Manage emails (mark as read, move to trash) - ๐ Open emails in browser๐๏ธ Project Structure
MCP-Server-V4-Gmail/
โโโ calculator-mcp-server/ # Calculator MCP Server
โ โโโ math-mcp-server/
โ โ โโโ mcp_server.py # Calculator implementation
โ โ โโโ models.py # Data models
โ โโโ pyproject.toml
โ โโโ README.md
โโโ gmail-mcp-server/ # Gmail MCP Server
โโโ src/
โ โโโ gmail/
โ โโโ server.py # Gmail integration
โ โโโ __init__.py
โโโ pyproject.toml
โโโ README.md
๐ Setup & Installation
Prerequisites
- Python 3.12 or higher - Claude Desktop MCP Client - Google Cloud Platform account (for Gmail API)1. Gmail API Setup
1. Create a new Google Cloud project
2. Enable the Gmail API
3. Configure OAuth consent screen:
- Select "external" (no publishing required)
- Add your email as a "Test user"
4. Add OAuth scope: https://www.googleapis.com/auth/gmail/modify
5. Create OAuth Client ID for "Desktop App"
6. Download and save OAuth credentials JSON file
2. Server Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



