himalaya-mcp

himalaya-mcp

Privacy-first email MCP server wrapping the himalaya CLI, providing 22 tools, 6 prompts, and 3 resources for email management with multi-account support.

Category
Visit Server

README

himalaya-mcp

Privacy-first email for Claude -- MCP server and Claude Code plugin (email) wrapping the himalaya CLI.

Features

  • 22 MCP tools: list, search, read, flag, move, compose, draft reply, send (with safety gate), export, action items, clipboard, folders, attachments, calendar, threads, health check
  • 6 MCP prompts: triage inbox, summarize email, daily digest, draft reply, morning briefing, inbox check
  • 3 MCP resources: inbox, message by ID, folders
  • 12 plugin skills: /email:inbox, /email:triage, /email:digest, /email:reply, /email:compose, /email:attachments, /email:search, /email:manage, /email:stats, /email:config, /email:help, /email:morning
  • Multi-account: per-call account switching via --account
  • Reliability: account-aware diagnostics via the health_check tool and multi-account doctor; structured error envelopes with one-line fix hints
  • Safe subprocess: uses execFile (no shell injection)
  • Two-phase send: send_email returns preview first, requires explicit confirm=true
  • Env-based config: HIMALAYA_BINARY, HIMALAYA_ACCOUNT, HIMALAYA_FOLDER, HIMALAYA_TIMEOUT

Install

Homebrew (recommended)

brew tap data-wise/tap
brew install himalaya-mcp

Installs himalaya CLI + Node.js as dependencies, auto-symlinks plugin to ~/.claude/plugins/.

himalaya-mcp doctor    # Verify installation

Claude Code Plugin (from GitHub)

Prerequisites: Node.js 22+ and himalaya CLI must be installed separately (brew install node himalaya).

claude plugin marketplace add Data-Wise/himalaya-mcp
claude plugin install email
himalaya-mcp doctor    # Verify installation

Claude Desktop (.mcpb -- one-click install)

Download himalaya-mcp-v{version}.mcpb from GitHub Releases and open it in Claude Desktop. Requires brew install himalaya separately -- the .mcpb does not bundle the himalaya CLI.

Claude Desktop (CLI setup)

himalaya-mcp setup

Development (from source)

npm install
npm run build
ln -s ~/projects/dev-tools/himalaya-mcp ~/.claude/plugins/himalaya-mcp
himalaya-mcp doctor    # Verify installation

Prerequisites

  • himalaya CLI configured with at least one email account in ~/.config/himalaya/config.toml
  • Node.js 22+ (installed automatically by Homebrew)

Testing

npm test              # 484 tests across 23 files (vitest)
Category Tests Coverage
Unit (parser, client, config, clipboard) 41 Core parsing, config, template variable guards
Integration (tools, prompts) 85 Tool registration, MCP prompts, account validation
Reliability (errors, retry, accounts, health) 33 Error envelope, transient retry, multi-account discovery, health_check
v1.5.0 features 79 Threads (30), morning/inbox prompts (13), E2E integration (36)
Dogfooding 162 Realistic Claude usage + reliability scenarios + .mcpb validation
E2E 39 Full MCP server pipeline + structured envelope round-trip + .mcpb build pipeline
Setup CLI 45 Setup, install/upgrade E2E, multi-account doctor, plugin structure, --help/--version

Documentation

Full documentation at data-wise.github.io/himalaya-mcp

Troubleshooting

If an email tool fails, ask Claude:

Run a health check on my email accounts.

This invokes the health_check MCP tool and surfaces a per-account status with one-line fix hints.

From a terminal, run:

himalaya-mcp doctor                    # All accounts
himalaya-mcp doctor --account <name>   # Single account

For the full failure-mode catalog and recovery steps, see docs/troubleshooting.md.

License

MIT

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