colespen/gmail-power-cli
If you are the rightful owner of gmail-power-cli and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Model Context Protocol (MCP) server is designed to facilitate seamless integration between command-line applications and AI assistants, enabling enhanced functionality and user interaction.
Gmail Power CLI
🚧 WIP - Work in Progress
A command-line interface for Gmail that integrates with various LLM's through MCP servers
- Antrhopic
- Gemini
- Groq (currently using ~ best free tier)
CLI example:

Features
- Search Gmail messages with natural language queries
- Read email content and metadata
- AI-powered email interactions via Gemini integration
- MCP server for Claude desktop integration
Setup
-
Install dependencies:
npm install -
Set up Google Cloud Console:
- Create project at https://console.cloud.google.com
- Enable Gmail API
- Data Access / scopes: gmail.modify
- Create OAuth 2.0 credentials (Desktop application)
- Download
credentials.jsonto project root
-
Configure environment variables: Create a
.envfile:Currently most success using Groq free tier:
Get your free API key from: https://console.groq.com/keys
GROQ_API_KEY=your-groq-api-key -
Authenticate with Gmail:
npm run auth
Usage
CLI Mode:
npm run gmail
MCP Server Mode:
npm run start
Development:
npm run dev