MCP server for email unsubscribe — RFC 8058 one-click, GET fallback, mailto support.
Lets Claude Code agents unsubscribe from newsletters during email triage. No browser, no manual clicks.
claude plugin marketplace add daveremy/unsubscribe-mcp
claude plugin install unsubscribe-mcp@unsubscribe-mcp-plugins --scope user
Install globally and add to your MCP config:
npm install -g unsubscribe-mcp
Then add to your MCP config (.mcp.json or Claude Code settings):
{
"mcpServers": {
"unsubscribe-mcp": {
"command": "npx",
"args": ["-y", "unsubscribe-mcp"]
}
}
}
This server uses your existing gws (Google Workspace CLI) credentials for Gmail access. No separate OAuth setup needed.
# Install gws if you don't have it
npm install -g @googleworkspace/cli
# Authenticate with Gmail
gws auth
| Tool | Description |
|---|---|
list_subscriptions | Search Gmail for newsletters, grouped by sender with frequency stats |
get_unsubscribe_info | Parse List-Unsubscribe headers for a message — shows available methods |
unsubscribe | Execute unsubscribe: RFC 8058 POST > HTTPS GET > mailto fallback |
bulk_unsubscribe | Batch unsubscribe from multiple senders in one call |
unsubscribe_status | View session log of unsubscribe attempts |
# List newsletter subscriptions
unsubscribe list --max 100
# Check unsubscribe options for a message
unsubscribe info <message_id>
# Unsubscribe (dry run first)
unsubscribe unsub <message_id> --dry-run
unsubscribe unsub <message_id>
# Batch unsubscribe
unsubscribe bulk <id1> <id2> <id3>
# View attempt log
unsubscribe status
This plugin bundles an /unsubscribe skill for conversational email triage:
/unsubscribe # List newsletters and prompt for action
/unsubscribe list # Show all subscription candidates
/unsubscribe info <id> # Inspect unsubscribe options for a message
/unsubscribe unsub <id> # Unsubscribe from a specific message
/unsubscribe status # View attempt log
The skill orchestrates the MCP tools with safety checks — it always confirms before executing, and logs all attempts.
Most marketing emails include a List-Unsubscribe header (required by Gmail since 2024 for bulk senders). This server parses that header and executes the unsubscribe automatically:
List-Unsubscribe=One-Click to the HTTPS URL# Install dependencies
npm install
# Run CLI in dev mode (no build needed)
npm run dev -- list
# Build
npm run build
# Verify package contents
npm pack --dry-run
# Release
npm run release patch
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Oura Ring MCP server — sleep, readiness, activity, HR, stress, SpO2, workouts, and sessions
Query Function Health lab results, track biomarker changes, and get health recommendations
Read and send iMessages — contact resolution, message search, group chats, reactions
Query Apple Health daily metrics, workouts, and trends via Health Auto Export CSVs
Nutrition lookup MCP server — search 326K+ foods, USDA API fallback, barcode scanning
npx claudepluginhub daveremy/unsubscribe-mcpNatural language interface for Apple Mail — search, compose, triage, organize, and analyze email with 24 MCP tools and an expert email management skill
Gmail integration with multi-account support - read, search, send, and manage emails
Email management via IMAP/SMTP — multi-account
AI-powered email management and marketing skill for Claude Code. Inbox triage, composition, quality review, deliverability audit, automation sequences, and marketing strategy.
MCP server for JMAP email management
Email via Himalaya CLI (IMAP/SMTP)