Skip to main content
Glama
Data-Wise

himalaya-mcp

by Data-Wise

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HIMALAYA_BINARYNoPath to the himalaya binary.
HIMALAYA_FOLDERNoDefault folder (mailbox) to use.
HIMALAYA_ACCOUNTNoDefault himalaya account to use.
HIMALAYA_TIMEOUTNoTimeout for himalaya commands (e.g., '10s').

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_emailsA

List emails in a folder. Returns envelope data: subject, from, date, flags.

search_emailsA

Search emails using himalaya filter syntax. Examples: 'subject invoice', 'from paypal', 'subject meeting and from boss'. Operators: and, or, not. Conditions: subject, from, to, body, date, before, after, flag.

read_emailA

Read an email message body (plain text). Use the ID from list_emails or search_emails.

read_email_htmlA

Read an email message body as HTML. Useful for formatted emails.

flag_emailA

Add or remove flags on an email. Common flags: Seen, Flagged, Answered, Deleted, Draft. Use 'add' to set flags, 'remove' to clear them.

move_emailA

Move an email to a different folder. Common targets: Archive, Trash, Spam, Sent, Drafts.

export_to_markdownA

Export an email as formatted markdown with YAML frontmatter (date, from, to, subject, flags). Returns the markdown text — you can then save it to a file or clipboard.

create_action_itemC

Read an email and extract action items, todos, deadlines, and commitments. Returns structured action items that can be used to create tasks, reminders, or calendar events.

draft_replyA

Generate a reply draft for an email. Returns the reply template with headers and quoted original message. Does NOT send — use send_email to send after user reviews.

send_emailA

Send an email template. SAFETY: requires confirm=true to actually send. Without confirm, returns a preview. Always show the user the preview and get their approval before sending with confirm=true.

compose_emailA

Compose and send a new email (not a reply). SAFETY: requires confirm=true to actually send. Without confirm, returns a preview for user review.

list_foldersB

List all email folders/mailboxes for an account. Returns folder names.

create_folderA

Create a new email folder/mailbox.

delete_folderA

Delete an email folder/mailbox. SAFETY: requires confirm=true to actually delete. Without confirm, returns a preview warning.

list_attachmentsA

List attachments for an email message. Downloads all attachments to inspect them, then returns filename, MIME type (inferred from extension), and size for each.

download_attachmentA

Download an email attachment to a temporary directory. Downloads all attachments, then returns the path to the requested file.

extract_calendar_eventA

Extract calendar event details from an email's ICS attachment. Downloads all attachments, finds the .ics file, parses it, and returns event summary, dates, location, and organizer.

create_calendar_eventA

Create an event in Apple Calendar. SAFETY: requires confirm=true to actually create. Without confirm, returns a preview. macOS only.

list_threadsA

List email threads (conversations) in a folder. Groups related emails by subject line. Returns threads sorted by most recent activity, with participant list and message count.

read_threadA

Read all messages in a conversation thread. Given a thread_id (the ID of the first message), fetches all related messages and returns them in chronological order. Use list_threads first to get thread IDs.

health_checkA

Check himalaya-mcp installation health and per-account IMAP connectivity. Use when an email tool fails to diagnose which accounts are reachable.

copy_to_clipboardA

Copy text to the system clipboard (pbcopy on macOS, xclip on Linux). Useful for copying email content, markdown exports, or any text.

Prompts

Interactive templates invoked by user choice

NameDescription
triage_inboxClassify recent emails as actionable, FYI, or skip. Suggests flags and folder moves.
summarize_emailProduce a one-sentence summary and list action items for a specific email.
daily_email_digestCreate a markdown digest of today's important emails, grouped by priority.
draft_replyCompose a professional reply to an email. Reads the original, generates a draft, and presents for review before sending.
morning_briefingComprehensive morning email briefing with urgency classification, calendar events, and action items.
inbox_checkQuick inbox status check with unread count, highlights, and suggested next actions.

Resources

Contextual data attached and managed by the client

NameDescription
inboxCurrent inbox email listing
foldersAvailable email folders

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Data-Wise/himalaya-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server