mu-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mu-mcpfind my most recent emails from Alice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mu-mcp
An MCP server that lets your local LLM search your email using mu.
Privacy
Your emails never leave your machine.
mu indexes your local maildir and searches it entirely on-device — no email content is sent to any server. When paired with a local LLM such as Qwen, Mistral, or Llama running via Ollama, the full pipeline is local:
your emails → mu index (local) → mu-mcp → local LLMNothing touches the internet. This is in contrast to cloud-based email AI integrations that require granting third-party services access to your inbox.
If you use a cloud LLM (e.g. Claude, GPT-4), be aware that email metadata — subjects, sender addresses, dates, and full message bodies if you invoke get_email — will be sent to that provider as part of the conversation context.
Related MCP server: apple-mail-mcp
Requirements
Installation
git clone ...
cd mu-mcp
uv syncMCP client configuration
{
"mcpServers": {
"mu": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/mu-mcp",
"mu-mcp"
]
}
}
}Tools
search_emails(query, max_results, sort_field, sort_order)
Search your maildir using mu query syntax. Returns email metadata (subject, sender, date, path, flags).
get_email(path)
Retrieve the full content of a message by its file path (as returned by search_emails). Returns headers and body as plain text.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/ration/mu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server