mu-mcp
Enables local LLMs to search email via mu, keeping all data on-device for privacy.
README
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 LLM
Nothing 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.
Requirements
Installation
git clone ...
cd mu-mcp
uv sync
MCP 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.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.